Skip to content

Draft: Support SSH_KEYTYPE_ED25519_CERT01 for private key

Willy Tu requested to merge wltu/libssh-mirror:ed25519-cert-priv-support into master

Support SSH_KEYTYPE_ED25519_CERT01 for private key. Currently we only support parsing private keys given that the public key doesn't have certificate in it. This allow us to make sure the pubkey size is always ED25519_KEY_LEN, however, that is no longer the case if we have certificate.

Checklist

  • Commits have Signed-off-by: with name/author being identical to the commit author
  • Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated

Reviewer's checklist:

  • Any issues marked for closing are addressed
  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTING.md
  • This feature/change has adequate documentation added
  • No obvious mistakes in the code
Edited by Willy Tu

Merge request reports