-
Notifications
You must be signed in to change notification settings - Fork 89
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
wolfSSH Client with OpenSSH-format Keys #604
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
ejohnstown
commented
Oct 16, 2023
- Move the KeySignature struct around in internal.c so it can be used for a couple tasks.
- Add decoder for the OpenSSH-format keys.
- Add an identification function for the new key.
- Update ReadKey to handle the new format.
ejohnstown
force-pushed
the
wolfssh-client-2
branch
2 times, most recently
from
October 16, 2023 23:45
2a5da5f
to
ca6c50d
Compare
JacobBarthelmeh
requested changes
Oct 31, 2023
ejohnstown
force-pushed
the
wolfssh-client-2
branch
from
November 2, 2023 16:52
297ecf7
to
a65c411
Compare
JacobBarthelmeh
requested changes
Nov 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good. Thanks John! Only other thing is I see there is not a test yet. Hoping that we can add one of the keys to the wolfssh/keys directory and a basic test case.
ejohnstown
force-pushed
the
wolfssh-client-2
branch
3 times, most recently
from
November 6, 2023 21:52
97a41f5
to
1c33924
Compare
1. Move the KeySignature struct around in internal.c so it can be used for a couple tasks. 2. Add decoder for the OpenSSH-format keys. 3. Add an identification function for the new key. 4. Update ReadKey to handle the new format.
1. Add two error codes for the new key format decoding. 2. Add in some better error and bound checking. 3. Fix ordering on a WOLFSSH_UNUSED and variable declaration. 4. Remove redundant ; from WOLFSSH_UNUSED function-like macro.
ejohnstown
force-pushed
the
wolfssh-client-2
branch
2 times, most recently
from
November 6, 2023 22:19
66d6c9a
to
d191292
Compare
ejohnstown
force-pushed
the
wolfssh-client-2
branch
from
November 6, 2023 23:17
d191292
to
dba9a6c
Compare
JacobBarthelmeh
previously approved these changes
Nov 7, 2023
ejohnstown
force-pushed
the
wolfssh-client-2
branch
from
November 17, 2023 00:39
9214981
to
ec1964d
Compare
JacobBarthelmeh
approved these changes
Nov 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.