Closed certaintls closed 3 years ago
Hello @certaintls, Sorry for the delay but I was finally able to fix this issue. The problem was a bug in the pointycastle package. The start position of the value bytes was not calculated in the correct way. The problem only appeard on a few certificates where the length of the value start position description was exactly 127 byte long.
Please use the latest version on pub dev 3.3.3.
Thank you very much!
Before 2.7.0, these lines work:
After 2.7.0 (e.g. 2.7.1),
X509CertificateData data = X509Utils.x509CertificateFromPem(encoded);
will throw exception:Is there anything that the application should do when upgrading to the newer versions?