-
Notifications
You must be signed in to change notification settings - Fork 41
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
Secure Public Key marked as Misuse #69
Comments
I also have this problem - strangely the error message seems to be cut off in the middle:
|
The RequiredPredicateError at the call to
|
Steps done
Applying CryptoAnalysis on the project JobX with commit id 414503ff.
The analysis reports 38 violations (8 constraintError, 12 RequiredPredicateError, 4 ImpreciseValueExtractionError, 2 TypestateError, and 12 IncompleteOperationError). Details in the attacted report
For the RequiredPredicateError violation for method encryptByPublicKey, we assume that the report is a false positive
Notes why we assume that the violation is a false positive
generatedKey[key, part(0, ""/"", transformation)];
https://docs.oracle.com/javase/7/docs/api/java/security/KeyFactory.html
""Key factories are used to convert keys (opaque cryptographic keys of type Key) into key specifications (transparent representations of the underlying key material), and vice versa. "" -> converts a key provided as a string (X509 specification) into a new key. This is not covered by CrySl -> assumes insecure"
/cc @anam-dodhy
The text was updated successfully, but these errors were encountered: