Home GnuPG
Diffusion GnuPG fe62b4b00bc6

agent: Fix for smartcard decryption, checking compressed format.

Description

agent: Fix for smartcard decryption, checking compressed format.

* agent/agent.h (agent_card_pkdecrypt): Fix the type of R_BUF.
* agent/call-scd.c (agent_card_pkdecrypt): Likewise.
* agent/divert-scd.c (divert_pkdecrypt): Follow the change.
* agent/divert-scd.c (agent_card_ecc_kem): The prefix may be
0x02 or 0x03 depending on hidden y-coordinate.

Details

Provenance
gniibeAuthored on Tue, Jul 29, 8:15 AM
Parents
rGca9faeb25ccb: Post release updates
Branches
Unknown
Tags
Unknown
Tasks
T7709: Decryption with ECC smartcard keys broken