unblock PIN: Permission denied

Werner Koch wk at gnupg.org
Tue Sep 23 18:50:08 CEST 2008


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

-- 
Linux-Kongress 2008 + Hamburg + October 7-10 + www.linux-kongress.org

   Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-users mailing list