[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: scd: binary data returned when sending direct APDU
From:       Werner Koch via Gnupg-users <gnupg-users () gnupg ! org>
Date:       2022-12-22 9:45:45
Message-ID: 87pmcbn54m.fsf () wheatstone ! g10code ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wed, 21 Dec 2022 18:58, Ingo Klöcker said:

> I suppose this is intended behavior (because data is often text and you don't 
> want to get that in hex). You may want to use `gpg-connect-agent --hex`.

Yes, that is indeed intended.  D(data) lines may return arbitrary data
with only a few values being %-escaped.  Some commands have options to
return the result as S(status) lines which are then UTF-8.

BTW, in gpg-connect-agent you may also use "/hex" or "/nohex" to enable
hex style dumps of D lines.  Try "/help" for other gpg-connect-agent
commands.


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

["openpgp-digital-signature.asc" (application/pgp-signature)]

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic