camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Forsthofer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7192) PGPDataFormat: Sub-Key not supported for signing and correct selection of encryption/signing key via KeyFlag
Date Tue, 11 Feb 2014 12:08:19 GMT
Franz Forsthofer created CAMEL-7192:
---------------------------------------

             Summary: PGPDataFormat: Sub-Key not supported for signing and correct selection
of encryption/signing key via KeyFlag
                 Key: CAMEL-7192
                 URL: https://issues.apache.org/jira/browse/CAMEL-7192
             Project: Camel
          Issue Type: Bug
          Components:  camel-crypto
    Affects Versions: 2.12.2
            Reporter: Franz Forsthofer
             Fix For: 2.12.3, 2.13.0
         Attachments: 0001-use-key-flags-for-determining-encryption-signing-key.patch

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.





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message