-
Bug
-
Resolution: Fixed
-
P3
-
8u91, 9
-
b57
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084599 | emb-9 | Weijun Wang | P3 | Resolved | Fixed | team |
JDK-8149294 | 8u101 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8146876 | 8u92 | Ivan Gerasimov | P3 | Resolved | Fixed | b03 |
JDK-8155439 | emb-8u101 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
See http://en.wikipedia.org/wiki/Base64#Privacy-enhanced_mail
SSCCE:
$ (keytool7=$HOME/jdk/jdk7/bin/keytool keytool8=$HOME/jdk/jdk8/bin/keytool; perl -pe 's/^([A-Za-z])/!\1/' ./test/java/security/cert/CertPathValidator/OCSP/RootCert.pem > /tmp/corrupted.pem; echo 7: ; $keytool7 -printcert -file /tmp/corrupted.pem | head; echo 8: ; $keytool8 -printcert -file /tmp/corrupted.pem | head -3;)
7:
keytool error: java.lang.Exception: Failed to parse input
8:
Owner: CN=Root CA, O=Sun, C=US
Issuer: CN=Root CA, O=Sun, C=US
Serial number: 0
- backported by
-
JDK-8084599 jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
- Resolved
-
JDK-8146876 jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
- Resolved
-
JDK-8149294 jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
- Resolved
-
JDK-8155439 jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
- Resolved
- duplicates
-
JDK-8146592 X509Factory throws IllegalArgumentException if parsing error occured
- Closed
- relates to
-
JDK-8202598 keytool -certreq output contains inconsistent line separators
- Resolved
-
JDK-8158633 BASE64 encoded cert not correctly parsed with UTF-16
- Closed