Skip to content
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

Java: Update Encryption.qll in line with NIST.SP.800-131Ar2 #13830

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

unprovable
Copy link

The fairly recent changes found in NIST.SP.800-131Ar2 deprecate 3TDEA and SKIPJACK. In Java these have a few different names, which I've placed in getAnInsecureAlgorithmName in the file java/ql/lib/semmle/code/java/security/Encryption.qll

This doesn't take full effect until the end of the year, technically, but I've found a need to be flagging it sooner (i.e. now).

Cheers, M.

@unprovable unprovable requested a review from a team as a code owner July 27, 2023 22:28
@github-actions github-actions bot added the Java label Jul 27, 2023
@unprovable
Copy link
Author

Also added ChaCha20 and ChaCha20Poly1305 to the list of strong algorithms, and adjusted the list according to availability (blowfish is still much underutilised)

@owen-mc owen-mc changed the title Update Encryption.qll in line with NIST.SP.800-131Ar2 Java: Update Encryption.qll in line with NIST.SP.800-131Ar2 Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant