scd: binary data returned when sending direct APDU

Alexandre Vaissière avaiss at
Wed Dec 21 17:51:39 CET 2022


I am trying to send arbitrary APDU commands via scd. When doing that I 
noticed that scd answers me with binary data. For example:

> scd apdu 00 A4 04 00 07 A0 00 00 05 27 21 01
D yZ��... <other binary data>

As assuan protocol is supposed to transmit utf-8 encoded string data, I 
would have expected an hexified string as returned data (as the input 
data is). Is that a bug or the expected behaviour?

Thank you very much,

More information about the Gnupg-users mailing list