Skip to content

Commit

Permalink
HBSD MFCL pam_ssh - Add support for Ed25519 keys.
Browse files Browse the repository at this point in the history
Reported by:	mwlucas
MFH:		2 weeks

(cherry picked from commit d845428)
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
  • Loading branch information
keltia authored and opntr committed Sep 22, 2016
1 parent a2beea4 commit e083321
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/libpam/modules/pam_ssh/pam_ssh.8
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ SSH2 RSA key
SSH2 DSA key
.It Pa $HOME/.ssh/id_ecdsa
SSH2 ECDSA key
.It Pa $HOME/.ssh/id_ed25519
SSH2 Ed25519 key
.El
.Sh SEE ALSO
.Xr ssh-agent 1 ,
Expand Down
1 change: 1 addition & 0 deletions lib/libpam/modules/pam_ssh/pam_ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ static const char *pam_ssh_keyfiles[] = {
".ssh/id_rsa", /* SSH2 RSA key */
".ssh/id_dsa", /* SSH2 DSA key */
".ssh/id_ecdsa", /* SSH2 ECDSA key */
".ssh/id_ed25519", /* SSH2 Ed25519 key */
NULL
};

Expand Down

0 comments on commit e083321

Please sign in to comment.