Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.12.2
-
None
-
Patch Available
-
Unknown
Description
A PGP key ring with version 4 keys typically consists of a primary key which has sub-keys. There is a use-case where the primary key has only the usage flag (KeyFlag) "certify" and one sub-key is makred with the usage flag "signing" and the other sub-key is marked with usage flag"encryption". In this case the PGPDataFormat does not use the correct sub-key for signing and encryption.
In the patch I enabled the usage of sub-keys for the signing process and I introduced the usage flag (KeyFlag) for finding the correct keys for signing and encryption.