Dart-Basic-Utils icon indicating copy to clipboard operation
Dart-Basic-Utils copied to clipboard

[PKCS12] All certificates in PKCS12 file are tagged with localKeyId

Open Mino5531 opened this issue 8 months ago • 0 comments

When generating a Pkcs12 file using generatePkcs12 all certificates are getting tagged with the localKeyId. Only the certificate matching the private key should be tagged with the localKeyId. Some implementations, notably Apple's Security Framework (SecPKCS12Import), will ignore any duplicate marked certificates and refuse to import them.

Mino5531 avatar Feb 22 '25 00:02 Mino5531