Skip to content

Conversation

MCterra10
Copy link
Contributor

Resolves a few issues in the binary format of exported OpenSSH Private Key files, namely:

  • The nonce was generated as a single 64bit random string instead of a 32bit string repeated twice.
  • Null comment was omitted
  • Padding was omitted

After implementing these changes and building XCA, I was able to confirm ED25519 keys are now working with OpenSSH:
image

fixes #658

Signed-off-by: Terra <[email protected]>
@chris2511 chris2511 merged commit 1308365 into chris2511:main Apr 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exported SSH2 Private Keys are Invalid

2 participants