Skip to content
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

FTP: Fix SFTP keyfile authentication when no password is provided #2579

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

Bobo1239
Copy link
Contributor

@Bobo1239 Bobo1239 commented Mar 1, 2021

Previously it would always assume a single specific keyfile format (OpenSSHKeyFile a.k.a. the "old" OpenSSH keyfile format) which obviously doesn't always work. But it only did the wrong thing when no password was provided for probably historic reasons. (Downstream I'm currently working around this issue by providing a wrong password.) Now we just use authPublickey() from the other branch which does the same but correctly and in addition we can remove some duplicate code.

Copy link
Member

@seglo seglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seglo seglo merged commit bbaf2aa into akka:master Mar 10, 2021
@seglo
Copy link
Member

seglo commented Mar 10, 2021

Thanks!

@seglo seglo added this to the 3.0.0-M1 milestone Mar 10, 2021
@Bobo1239 Bobo1239 deleted the ftp-fix-sftp-auth branch November 4, 2021 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants