| Detector: | Tikanga |
| Target: | project ' jmrtd ' version67 |
| Misuse: | misuse ' 2 ' |
| Tags: |
Details about the known misuse from the MUBench dataset.
| Description: | Passes Cipher.ENCRYPT_MODE to Cipher.init(), but uses the cipher for decryption. |
| Fix Description: | Pass Ciphter.DECRYPT_MODE instead. (see diff) |
| Violation Types: |
|
| In File: | sos/mrtd/PassportAuthService.java |
| In Method: | doAA(PublicKey) |
| Code with Misuse: |
|
| Code with Pattern(s): |
|