Information on scdaemon protocol commands
Peter Lebbing
peter at digitalbrains.com
Fri Sep 29 15:53:46 CEST 2017
On 29/09/17 15:29, Alexander Paetzelt | Nitrokey wrote:
> Is there any other way to find out the options other than reading source
> code? I didn't find anything yet...
Talk to the agent :-).
$ gpg-connect-agent
> scd help setattr
# SETATTR <name> <value>
#
# This command is used to store data on a a smartcard. The allowed
# names and values are depend on the currently selected smartcard
# application. NAME and VALUE must be percent and '+' escaped.
#
# However, the current implementation assumes that NAME is not
# escaped; this works as long as no one uses arbitrary escaping.
#
# A PIN will be requested for most NAMEs. See the corresponding
# setattr function of the actually used application (app-*.c) for
# details.
OK
>
HTH,
Peter.
--
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20170929/c10697c3/attachment.sig>
More information about the Gnupg-users
mailing list