Skip to content

Added check for legacy DHE keys (for cipher suites using keys less than 1024 bits)#243

Merged
cconlon merged 2 commits intowolfSSL:masterfrom
gasbytes:LegacyDHEKeyExchange-patch
Dec 23, 2024
Merged

Added check for legacy DHE keys (for cipher suites using keys less than 1024 bits)#243
cconlon merged 2 commits intowolfSSL:masterfrom
gasbytes:LegacyDHEKeyExchange-patch

Conversation

@gasbytes
Copy link
Copy Markdown
Contributor

Added exception handling for WolfSSLException, implementing key size checks for Diffie-Hellman (DH) key exchanges, and updating method signatures to reflect the new exception types.

Tested running the testOSX.sh to make sure there were no tests regression after the changes.

@gasbytes gasbytes force-pushed the LegacyDHEKeyExchange-patch branch from 0f3046d to 20befbc Compare December 23, 2024 22:29
Copy link
Copy Markdown
Member

@cconlon cconlon left a comment

Choose a reason for hiding this comment

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

Looks good overall, just a few minor requests related to comment style and spacing

Comment thread src/java/com/wolfssl/provider/jsse/WolfSSLEngineHelper.java Outdated
Comment thread src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java Outdated
@cconlon cconlon assigned gasbytes and unassigned cconlon Dec 23, 2024
@gasbytes gasbytes assigned wolfSSL-Bot and unassigned gasbytes Dec 23, 2024
…per.java) and fixed identation (WolfSSLSocket.java)
@gasbytes gasbytes force-pushed the LegacyDHEKeyExchange-patch branch from 94316d7 to 967f75e Compare December 23, 2024 22:53
@cconlon cconlon merged commit e138599 into wolfSSL:master Dec 23, 2024
@gasbytes gasbytes deleted the LegacyDHEKeyExchange-patch branch December 30, 2024 18:01
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.

3 participants