rclone/cmd/serve/sftp
Nick Craig-Wood df0b7d8eab serve sftp: generate an ECDSA server key as well as RSA
Before this fix, rclone only generated an RSA server key when the user
didn't supply a key.

However the RSA server key is being deprecated as it is now insecure.

This patch generates an ECDSA server key too which will be used in
preference over the RSA key, but the RSA key will carry on working.

Fixes #5671
2021-10-11 10:43:16 +01:00
..
connection_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
connection.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
handler.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
server.go serve sftp: generate an ECDSA server key as well as RSA 2021-10-11 10:43:16 +01:00
sftp_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00