Skip to content

Commit 8ee6727

Browse files
committed
Add missing support for sk-ssh-ed25519@openssh.com
Allow community logins to include sk-ssh-ed25519@openssh.com as an ssh key, which is what is used when a key is on a secure external device. Noted by Melanie Plageman
1 parent 6c9e838 commit 8ee6727

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pgweb/core/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def date(self):
254254

255255

256256
# From man sshd, except for ssh-dss
257-
_valid_keytypes = ['ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', 'ecdsa-sha2-nistp521', 'ssh-ed25519', 'ssh-rsa']
257+
_valid_keytypes = ['ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', 'ecdsa-sha2-nistp521', 'ssh-ed25519', 'ssh-rsa', 'sk-ssh-ed25519@openssh.com']
258258

259259

260260
# Options, keytype, key, comment. But we don't support options.

0 commit comments

Comments
 (0)