Information on scdaemon protocol commands

Alexander Paetzelt | Nitrokey alex at nitrokey.com
Fri Sep 29 16:04:31 CEST 2017


Thanks a lot!

But what if I want to know more about 'key-attr' for example?

I tried

scd help setattr key-attr
help key-attr
scd help key-attr

and alike...


On 09/29/2017 03:53 PM, Peter Lebbing wrote:
> 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.
>




More information about the Gnupg-users mailing list