]> source.dussan.org Git - gitea.git/commit
Add support for ed25519_sk and ecdsa_sk SSH keys (#13462)
authorArtemis Tosini <me@artem.ist>
Wed, 20 Jan 2021 20:36:55 +0000 (20:36 +0000)
committerGitHub <noreply@github.com>
Wed, 20 Jan 2021 20:36:55 +0000 (20:36 +0000)
commitcb08248c33a9e0f57c1480d0289b632da5d77668
tree228f1786549b7365bd9ea2bff6a1b4bf3491a194
parentef85bf84ee42678c1dcb3d6ea69565737c2f6eed
Add support for ed25519_sk and ecdsa_sk SSH keys (#13462)

* Add support for ed25519_sk and ecdsa_sk SSH keys

These start with sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com.
They are supported in recent versions of go x/crypto/ssh and OpenSSH 8.2
or higher.

* skip ssh-keygen

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
models/ssh_key.go
models/ssh_key_test.go
modules/setting/setting.go
options/locale/locale_en-US.ini