-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openssh 8.8 break compatibility by default #130
Comments
@appleboy bump, since upstream has closed the issue with a fix. |
@ambroisie Let me check. |
FYI still have the exact same error message when I bumped my version of |
@ambroisie how do you generate your key? maybe I can try it and how do I reproduce the issue? |
@appleboy it's a simple RSA key, 4096 bits: Here are the Logs
But with the following example script it does not work: Script#!/bin/sh
export SCP_SOURCE='<some_file>'
export SCP_RM=true
export SCP_HOST=<some_host>
export SCP_TARGET=test_directory
export SCP_USERNAME=<some_user>
# shellcheck disable=2155
export SCP_KEY="$(cat ~/.ssh/some_rsa_key)"
export SSH_PASSPHRASE="<passphrase>"
export SCP_PORT=22
drone-scp --debug Still the same message of |
I recently updated my server, and with it upgraded
openssh
from 8.7 to 8.8. One of the incompatible changes from that release is disabling RSA signatures using SHA-1 by default 1. There is currently an open bug at golang/go#37278 relating to this, and becausedrone-scp
is making use of this library, it is also affected.The error message from
drone-scp
in such cases is the following:I do not think that there is anything to be done from
drone-scp
, apart from updating to the latest version once it is fixed upstream. I opened the issue so that others impacted by this change can find it more easily.The text was updated successfully, but these errors were encountered: