Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ed25519 #689

Merged
merged 5 commits into from
May 15, 2024
Merged

Add Ed25519 #689

merged 5 commits into from
May 15, 2024

Conversation

ejohnstown
Copy link
Contributor

Add support for ED25519 server authentication and user authentication.

Supersedes PR #555.

falemagn and others added 5 commits May 13, 2024 14:36
1. Added support for Ed25519 private keys.
2. Added more define guards for ED25519
3. The userAuthResultCb must be invoked only in the case the pubkey has
   a signature.
4. Define WOLFSSH_NO_ED25519 if the ssh-ed25519 pubkey support must not
   be compiled for lack of prerequisites.
1. Whitespace fixes.
2. Refactor the signing KEX message signing to break the signing into
   functions depending on the key type.
1. Remove some redundant (and incorrect) scaffolding for a couple
   algorithms.
2. Whitespace fixes and add some braces to if-else blocks.
3. Fix allocating an ed25519 key, instead of using an ecc_key for it.
4. Replace a crypto failure error with an invalid algo error.
1. Add testing key for user barney.
2. Remove some instances of the incorrect macro guard WOLFSSH_NO_ECC. We
   deal in ECDSA or ECDHE separately only.
3. Add WIP function for decoding the OpenSSH format Ed25519 key.
1. Add an error code for Ed25519 signing or verify issues.
2. Add Ed25519 key support to ReadKey.
3. Add client side support for Ed25519.
4. Update some key usage log strings to be more descriptive.
Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacobBarthelmeh please review and finalize. Thanks John, lots of great work here!

@JacobBarthelmeh JacobBarthelmeh merged commit 5f3a72e into wolfSSL:master May 15, 2024
11 checks passed
@ejohnstown ejohnstown deleted the ed25519 branch May 15, 2024 20:57
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Sep 24, 2024
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 18, 2024
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 29, 2024
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 29, 2024
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.

5 participants