[Solved] Re: unblock PIN: Permission denied

Christian Schäfer schaefer_c at freenet.de
Tue Sep 23 19:17:35 CEST 2008


Hello Werner Koch.

Your hint works like a charm!

Thanks!


Best regards
Christian


Werner Koch schrieb:
> On Sun, 21 Sep 2008 14:25, schaefer_c at freenet.de said:
>
>   
>> and then choosing "2. unblock PIN", i get the respone "Error unblocking
>> the PIN: permission denied".
>>     
>
> You are probably using the gpg-agent and scdaemon.  gpg then diverts all
> card operation to this daemon instead of doing the card access by
> itself.
>
> By default admin commands are not allowed, that is you can't generate a
> key on the card, or change any data.  To allow admin command you need to
> put
>
>  allow-admin
>
> into ~/.gnupg/scdaemon.conf and kill scdaemon ("pkill scdaemon" 3 times
> should be sufficient).  Then try again.  [Remember to use the Admin-PIN
> when unblocking].
>
>
> Salam-Shalom,
>
>    Werner
>
>   




More information about the Gnupg-users mailing list