$ echo foo | gpg2 -e -r E6180B54860592B5CA4EEE82BCD0BEFF039761A0 > enc_to_bp.gpg $ gpg2 --decrypt enc_to_bp.gpg gpg: key 43086C42CEDBDC18 not suitable for decryption while in --compliance=de-vs mode gpg: encrypted with 256-bit ECDH key, ID 43086C42CEDBDC18, created 2017-07-25 "Andre Heinecke <andre.heinecke@intevation.de>" gpg: public key decryption failed: Invalid public key algorithm gpg: decryption failed: No secret key $ gpgme/tests/run-keylist E6180B54860592B5CA4EEE82BCD0BEFF039761A0 keyid : BCD0BEFF039761A0 fpr : E6180B54860592B5CA4EEE82BCD0BEFF039761A0 curve : brainpoolP256r1 caps : esc flags : de-vs upd : 0 (0) fpr 1: 48C125C8261B4FCC4259509F43086C42CEDBDC18 curve 1: brainpoolP256r1 caps 1: e flags 1: de-vs userid 0: Andre Heinecke <andre.heinecke@intevation.de> mbox: andre.heinecke@intevation.de email: andre.heinecke@intevation.de name: Andre Heinecke cmmnt: upd: 0 (0) valid: ultimate
Description
Description
Revisions and Commits
Revisions and Commits
rG GnuPG | |||
rG4e117f206beb gpg,sm: Error out on compliance mismatch while decrypting. | |||
rGa0d0cbee7654 gpg,sm: Fix compliance checking for decryption. |
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | • werner | T3307 de-vs compliance mode problems | ||
Resolved | • werner | T3308 Compliance: Decryption in de-vs with bp256 key fails |
Event Timeline
Comment Actions
Okay, decryption now gives only a warning.
I also had to tweak the compliance checking code which may have fixed other bugs or changed their behaviour.