Skip to content

disable DSA by default - #1435

Closed
vszakats wants to merge 4 commits into
libssh2:masterfrom
vszakats:deprecate-dsa
Closed

vszakats wants to merge 4 commits into
libssh2:masterfrom
vszakats:deprecate-dsa

Conversation

@vszakats

@vszakats vszakats commented Jul 30, 2024 •

Copy link
Copy Markdown
Member

Also:

Fixes #1433
Closes #1435

@vszakats vszakats closed this in b7ab0fa Jul 30, 2024
@vszakats
vszakats deleted the deprecate-dsa branch July 30, 2024 20:59
vszakats added a commit that referenced this pull request Aug 3, 2026
…x fallouts

They are `ssh-rsa` and `[email protected]`, and insecure due
to their reliance on SHA1 hashes.

Also:
- hostkey: fix to accept all RSA hostkey methods in common
  `hostkey_method_ssh_rsa_init()`.
- mbedtls: add missing RSA SHA1/SHA2 guards.
- mbedtls: cleanup on error in `mbed_pub_priv_key()`.
- os400qc3: add missing RSA SHA1/SHA2 guards. (untested)
- wincng: add missing RSA SHA1/SHA2 guards.
- crypto.h: add missing `#endif` comments.
- GHA: move stray `-DLIBSSH2_DSA_ENABLE` to its place.
  Follow-up to b7ab0fa #1435
- tests: fix to guard RSA tests with `LIBSSH2_RSA`, replacing
  `LIBSSH2_RSA_SHA1` to keep test coverage. Keep using the latter for
  testing SHA1-based signatures in `test_auth_pubkey_ok_rsa_signed`.

Follow-up to 3e14d67 #2444
Follow-up to 99f9353 #2443

Closes #2501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant