Re: gpg error clearing forced signature

2009-01-17 Thread Werner Koch
On Sat, 17 Jan 2009 06:26, taurus...@gmail.com said:

 Command generate
 Make off-card backup of encryption key? (Y/n) y
 gpg: error clearing forced signature PIN flag: Permission denied

It seems you are using the gpg-agent.  You need to allow admin commands
for scdaemon: Put a line

allow-admin

into ~/.gnupg/scdaemon.conf and kill a running scdaemon.

If this does not work, run gpg with the options -v --debug 2048 to see
what is going on.


Shalom-Salam,

   Werner



-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg error clearing forced signature

2009-01-17 Thread taurus


On 17 January 2009, at 11:14, Werner Koch wrote:


On Sat, 17 Jan 2009 06:26, taurus...@gmail.com said:


Command generate
Make off-card backup of encryption key? (Y/n) y
gpg: error clearing forced signature PIN flag: Permission denied


It seems you are using the gpg-agent.  You need to allow admin  
commands

for scdaemon: Put a line

allow-admin

into ~/.gnupg/scdaemon.conf and kill a running scdaemon.


Created the file and put allow-admin on it, and appears it solved the  
problem.


Command generate
Make off-card backup of encryption key? (Y/n) y
Please specify how long the key should be valid.
 0 = key does not expire
  n  = key expires in n days
  nw = key expires in n weeks
  nm = key expires in n months
  ny = key expires in n years
Key is valid for? (0) 0
.

Now there's another problem.

.
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: key generation failed: Card error
Key generation failed: Card error
gpg: error setting forced signature PIN flag: General error

Command quit

Howto solve this?


Thank You.
T.





___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg error clearing forced signature (solved)

2009-01-17 Thread taurus




On 17 January 2009, at 11:14, Werner Koch wrote:


On Sat, 17 Jan 2009 06:26, taurus...@gmail.com said:


Command generate
Make off-card backup of encryption key? (Y/n) y
gpg: error clearing forced signature PIN flag: Permission denied


It seems you are using the gpg-agent.  You need to allow admin  
commands

for scdaemon: Put a line

allow-admin

into ~/.gnupg/scdaemon.conf and kill a running scdaemon.


Created the file and put allow-admin on it, and appears it solved  
the problem.


Command generate
Make off-card backup of encryption key? (Y/n) y
Please specify how long the key should be valid.
0 = key does not expire
 n  = key expires in n days
 nw = key expires in n weeks
 nm = key expires in n months
 ny = key expires in n years
Key is valid for? (0) 0
.

Now there's another problem.

.
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: key generation failed: Card error
Key generation failed: Card error
gpg: error setting forced signature PIN flag: General error

Command quit

Howto solve this?


I'm sorry list for replying to myself but I have solve the last error.
As it can serve others, I'll explain.

1st. Updated Gemalto PC Twin Driver from Gemalto.

2nd. When I pressed (O)kay/(Q)uit? O I move the mouse open disks,  
etc for entropy!



Which of the two actions did the trick I don't know.


Thank You.

Taur.









___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


gpg error clearing forced signature

2009-01-16 Thread taurus

Hi list.

k$ gpg --card-status
Application ID ...: D27600012401010100010BC0
Version ..: 1.1
Manufacturer .: PPC Card Systems
Serial number : 0BC0
...
Signature PIN : forced
Max. PIN lengths .: 254 254 254
PIN retry counter : 3 3 3
Signature counter : 0
Signature key : [none]
Encryption key: [none]
Authentication key: [none]
General key info..: [none]
$ gpg --card-edit

Application ID ...: D27600012401010100010BC0
Version ..: 1.1
Manufacturer .: PPC Card Systems
Serial number : 0BC0
...
Signature PIN : forced
Max. PIN lengths .: 254 254 254
PIN retry counter : 3 3 3
Signature counter : 0
Signature key : [none]
Encryption key: [none]
Authentication key: [none]
General key info..: [none]

Command admin
Admin commands are allowed

Command generate
Make off-card backup of encryption key? (Y/n) y
gpg: error clearing forced signature PIN flag: Permission denied

Command quit
$

gpg: error clearing forced signature PIN flag: Permission denied

why this error?

I can change the PIN but not adminPin neither generate a key.


MacOSX 10.5.6
MacPGP2-2.0.10


TIA.

Taur.




___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users