[issue63] gpgsm: pkcs#7 certs-only import is order dependent
Bernhard Herzog <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gpa.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Bernhard Herzog <[email protected]>: When importing certificates from a pkcs#7 file containing multiple certificates it depends on the order of the certificates whether all or only one of the certificates are imported. E.g. given three certificates. Root: The certificate of the root CA CA: certificate of a CA issued by Root User: user certificate issued by CA Assume gpgsm doesn't know any of these certificates yet. Now, when the pkc2#7 contains the certificates in the order Root,CA,User, gpgsm --import only imports the root CA. When repeated, the CA certificate is imported and on a third try the user certificate. OTOH, if the order is the opposite, i.e. User,CA,Root, all three certs are imported at once. ---------- assignedto: werner messages: 270 nosy: bh, werner priority: bug status: unread title: gpgsm: pkcs#7 certs-only import is order dependent topic: gpgsm ______________________________________________________ Aegypten issue tracker <[email protected]> <https://intevation.de/roundup/aegypten/issue63> ______________________________________________________