Skip to content

SSH client certs with ed25519 #569

Answered by maraino
logopk asked this question in Q&A
May 10, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

This should be possible, as a workaround you can create a certificate from a previously created key using the --sign flag:

# create private (ed) and public (ed.pub) keys
ssh-keygen -t ed25519 -f ed
# Sign ed.pub
step ssh certificate --sign [email protected] ed.pub

Or with step only:

# create keypair
step crypto keypair --kty OKP ed25519.pem ed25519.priv
# Convert public key to ssh format
step crypto key format --ssh --out ed25519.pub ed25519.pem
# Sign ed25519.pub
step ssh certificate --sign [email protected] ed25519.pub

You can do the same for hosts using for example the previously generated key in /etc/sshd and using --sign --host

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@logopk
Comment options

Answer selected by tashian
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants