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

Implement edge case checks for java.security #5

Open
5 tasks
Petzys opened this issue Sep 17, 2024 · 0 comments
Open
5 tasks

Implement edge case checks for java.security #5

Petzys opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@Petzys
Copy link
Contributor

Petzys commented Sep 17, 2024

Several edge cases come to mind that are currently not checked in the java.security plugin:

  • JDK Version: Not all JDKs are guaranteed to use the jdk.tls.disabledAlgorithms property; this requires research which JDKs support this (at least OpenJDK)
  • Multiple JDKs on the system: Currently, all java.security properties would be merged and it is purely random which java.security file overrides the others
  • Check the source code context: The java.security plugin currently assumes that any component from a java file is using the JCA. But this could be completely false. We should check the source code context to verify it is using the JCA or a different crypto provider (e.g. bouncycastle).
  • Dynamic Changes of the system properties via System.setProperty()
  • Add support for more directives in the jdk.tls.disabledAlgorithms property: Currently only keySize is supported. Maybe supporting more directives, such as usage might be useful. This could also require checking the source code context.
@Petzys Petzys added enhancement New feature or request wontfix This will not be worked on labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant