Repository navigation
Conversation
Added passphrase to libssh2_pem_parse_memory() and made _libssh2_pem_parse() call this function. Added two error's when algoritm not suuported or MD5 not supported during PEM parse Updated wincng.h to enable MD5
Member
|
@LarsNordin-LNdata It looks like this resolves #1047, is that right? Could you pull this up to master, thanks again. |
Contributor
Author
|
Yes it fixes #1047, my comment was not including this info... Byt can I pull up to libssh2:master? |
Member
|
This is now conflicting which needs to be resolved before it can be merged. |
Fix type to pass CI
willco007
added a commit
to willco007/libssh2
that referenced
this pull request
Apr 7, 2026
Notes: Adds passphrase support to _libssh2_pem_parse_memory() and made _libssh2_pem_parse() call this function. Added two errors when the pem algorithm is not supported or MD5 is not supported during PEM parsing. Updated wincng.h to enable MD5. This resolves issue libssh2#1047 --------- Credit: Lars Nordin Co-authored-by: Will Cosgrove <[email protected]>
vszakats
added a commit
to vszakats/libssh2
that referenced
this pull request
Apr 8, 2026
Follow-up to 141b035 libssh2#1746
willco007
pushed a commit
that referenced
this pull request
Apr 10, 2026
Closed
vszakats
added a commit
that referenced
this pull request
Apr 30, 2026
- add missing `break;`s in `parse_rc2()` switch statement. Ref: https://www.rfc-editor.org/rfc/rfc8018 - add `passphrase` arg to `_libssh2_pem_parse_memory` calls where missing. Follow-up to 141b035 #1746 - fix `secretbuf` allocated size in `_libssh2_os400qc3_dh_secret()`. - add missing space. Spotted by GitHub Code Quality Closes #1901
This was referenced Jun 10, 2026
vszakats
added a commit
that referenced
this pull request
Jun 11, 2026
- fix to not skip character after lines longer than 128 bytes. Reported by GitHub Code Quality - swallow newline characters at the end of the line. - fix infinite loop with certain inputs. Make the function return error if the whole input has been consumed (vs. always success before this patch). Also drop a recently added `*line` check in favor of the above. Reported-by: afldl on github Fixes #2013 Follow-up to 141b035 #1746 Remaining differences noted in `readline()` (not touched in this PR): - it returns newline characters in `line` in cases. E.g. with input `"abcdefghijklmno\rpqrstuvwxyz01234567890"` - it does not empty the return buffer on EOF. Closes #2032
This was referenced Jun 29, 2026
willco007
added a commit
that referenced
this pull request
Jun 29, 2026
Remove line clearing null termination that was introduced as a regression in #1746. Fixes #2130. Credit: [Michael](https://github.com/R6502)
This file contains hidden or 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
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.
Added passphrase to libssh2_pem_parse_memory() and made _libssh2_pem_parse() call this function. Added two error's when algoritm not supported or MD5 not supported during PEM parse Updated wincng.h to enable MD5
This resolves issue #1047