Extra data in APDU response when signing by OpenPGP card

Ivan Markin twim at riseup.net
Mon Sep 7 03:37:35 CEST 2015


NIIBE Yutaka:
> It is because of the encoding in gpg-agent/scdaemon.
> 
>   (1) 25 32 35 is: % 2 5
>   (2) 25 20 44 is: % 0 D
> 
> (1) is to escape '%' (ASCII value 0x25).
> (2) is to represent CR (ASCII value 0x0d).

Thanks!
Where I can read more about it? Are these encodings the only ones?

-- 
Ivan Markin



More information about the Gnupg-devel mailing list