Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5475

Can't unmarshal pgp messages encrypted with ElGamal.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0
    • 2.9.3, 2.10.1, 2.11.0
    • camel-crypto
    • None
    • All environments

    • Patch Available
    • Moderate

    Description

      Current strategy for finding the private key is to iterate the secret keychain and matching on the configured email address. This is incorrect; the secret key chain should be searched by the key id found in the public key encrypted message. What happens now is the DSA signing key is matched instead of the ElGamal decryption key, and this throws java.security.InvalidKeyException.

      Attachments

        1. patch.txt
          5 kB
          Bryan McGuire

        Issue Links

          Activity

            People

              njiang Willem Jiang
              scrybz Bryan McGuire
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified