Repository navigation
Conversation
hash_len field values
vszakats
added a commit
to vszakats/libssh2
that referenced
this pull request
Apr 2, 2023
Replace incorrect `MD5_DIGEST_LENGTH` with `SHA1_DIGEST_LENGTH` for these hostkey algos: - `ssh-rsa` and `ssh-dss` Ref: 7a5ffc8 (2004-12-07 Initial) - `[email protected]` Ref: 4b21e49 (2022-07-28) Ref: libssh2#710 Also delete local fall-back definition of `MD5_DIGEST_LENGTH` (added in 9af7eb4). Macro is no longer used. Reported-by: Markus-Schmidt on github Fixes libssh2#919 Closes libssh2#926
vszakats
force-pushed
the
hostkey-wrong-hash-len
branch
from
April 2, 2023 15:00
f570e32 to
406d085
Compare
Replace incorrect `MD5_DIGEST_LENGTH` with `SHA_DIGEST_LENGTH` for these hostkey algos: - `ssh-rsa` and `ssh-dss` Ref: 7a5ffc8 (2004-12-07 Initial) - `[email protected]` Ref: 4b21e49 (2022-07-28) Ref: libssh2#710 Also delete local fall-back definition of `MD5_DIGEST_LENGTH` (added in 9af7eb4). Macro is no longer used. Reported-by: Markus-Schmidt on github Fixes libssh2#919 Closes libssh2#926
vszakats
force-pushed
the
hostkey-wrong-hash-len
branch
from
April 2, 2023 15:41
406d085 to
fe7b563
Compare
hash_len field valueshash_len field constants
agreppin
pushed a commit
to agreppin/libssh2
that referenced
this pull request
Jul 14, 2024
Replace incorrect `MD5_DIGEST_LENGTH` with `SHA_DIGEST_LENGTH` for these hostkey algos: - `ssh-rsa` and `ssh-dss` Ref: 7a5ffc8 (2004-12-07 Initial) - `[email protected]` Ref: 4b21e49 (2022-07-28) Ref: libssh2#710 Also delete local fall-back definition of `MD5_DIGEST_LENGTH` (added in 9af7eb4). Macro is no longer used. Reported-by: Markus-Schmidt on github Fixes libssh2#919 Closes libssh2#926
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.
Replace incorrect
MD5_DIGEST_LENGTHwithSHA_DIGEST_LENGTHfor these hostkey algos:ssh-rsaandssh-dssRef: 7a5ffc8 (2004-12-07 Initial)
[email protected]Ref: 4b21e49 (2022-07-28)
Ref: Support RSA certificate authentication #710
Reported-by: Markus-Schmidt on github
Fixes #919
Closes #926