Re: Gnupg doesn't recognize card.

2010-01-29 Thread Werner Koch
On Fri, 29 Jan 2010 01:22, jcr...@gmail.com said:

 $ killall -u username scdaemon #usually has to be entered 2-3x to
 kill it

FWIW, 

  gpgconf --reload scdaemon

does the same in a well defined manner.


Shalom-Salam,

   Werner


ps.
Please do not use killall but pkill which is a well defined command.


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


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


Re: Gnupg doesn't recognize card.

2010-01-29 Thread John Ruff


On Jan 29, 2010, at 8:12 AM, Werner Koch wrote:


On Fri, 29 Jan 2010 01:22, jcr...@gmail.com said:

$ killall -u username scdaemon #usually has to be entered  
2-3x to

kill it


FWIW,

 gpgconf --reload scdaemon

does the same in a well defined manner.


I will remember to use this in the future.




Shalom-Salam,

  Werner


ps.
Please do not use killall but pkill which is a well defined command.


pkill is what I used (up until now) on Linux, but the command doesn't  
exist by default on OS X (at least not mine).  Only killall.





--
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.



___
Chris Ruff
jcr...@gmail.com
GPG Key: 0x307A351B4EC4B6A1
FGPR: BF2F 2497 22E7 FEB5 C805
  075C 307A 351B 4EC4 B6A1

No one can see past a choice they don't understand. --The Oracle









PGP.sig
Description: This is a digitally signed message part
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Problem encrypting to a hushmail gpg key

2010-01-29 Thread David Shaw
On Jan 17, 2010, at 12:23 PM, Sean Rima wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi
 
 A friend on the pgpnet mailing list is using a hushmail.com gpg key but
 when I import it, I get:
 
 C:\Users\Sean Rimagpg --import  test.txt
 gpg: key C4E23A82: accepted non self-signed user ID
 **...@hushmail.com -...@hushmail.com
 gpg: key C4E23A82: public key -...@hushmail.com jefal...@hushmail.com
 imported
 gpg: Total number processed: 1
 gpg:   imported: 1  (RSA: 1)
 
 
 If I edit the key, I see:
 
 pub 0s/C4E23A82  created: 2010-01-07  expires: never   usage: SC
 [ unknown] (1). ---...@hushmail.com ---...@hushmail.com
 
 
 I see there is no encrytion subkey.
 
 If I look at the key with --list-packets, I see
 
 C:\Users\Sean Rimagpg --list-packets  test.txt
 :public key packet:
version 4, algo 3, created 1262830845, expires 0
unknown algorithm 3

Algorithm 3 is RSA Sign-Only.

 :public sub key packet:
version 4, algo 2, created 1262830846, expires 0
unknown algorithm 2

Algorithm 2 is RSA Encrypt-Only.

 :signature packet: algo 3, keyid 7853D9CDC4E23A82
version 4, created 1262830857, md5len 0, sigclass 0x18
digest algo 2, begin of digest 8b f2
hashed subpkt 2 len 4 (sig created 2010-01-07)
subpkt 16 len 8 (issuer key ID 7853D9CDC4E23A82)
unknown algorithm 3
 

Both of those algorithms are deprecated in the OpenPGP spec: RSA Encrypt-Only 
(2) and RSA Sign-Only are deprecated and SHOULD NOT be generated, but may be 
interpreted.

 I am using gpg2.0.12 (waiting for gpg4win to be compiled to latest)

The 1.4.x branch will interpret these deprecated keys (internally treating them 
as regular RSA with the appropriate encrypt or sign flags).  I don't think gpg2 
does that.

Was this generated by Hushmail?  If so, they to stop generating keys that the 
spec says SHOULD NOT be generated :)

David


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


Re: Problem encrypting to a hushmail gpg key

2010-01-29 Thread Sean Rima
David

Yes the key is generated by hushmail.com. Not sure if they will listen
to me, but I will forward this to the list where the problem
originated

Thanks for the help and sorry for top posting, on my BlackBerry (and
sadly no gnupg)

Sean

On 1/29/10, David Shaw ds...@jabberwocky.com wrote:
 On Jan 17, 2010, at 12:23 PM, Sean Rima wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi

 A friend on the pgpnet mailing list is using a hushmail.com gpg key but
 when I import it, I get:

 C:\Users\Sean Rimagpg --import  test.txt
 gpg: key C4E23A82: accepted non self-signed user ID
 **...@hushmail.com -...@hushmail.com
 gpg: key C4E23A82: public key -...@hushmail.com
 jefal...@hushmail.com
 imported
 gpg: Total number processed: 1
 gpg:   imported: 1  (RSA: 1)


 If I edit the key, I see:

 pub 0s/C4E23A82  created: 2010-01-07  expires: never   usage: SC
 [ unknown] (1). ---...@hushmail.com ---...@hushmail.com


 I see there is no encrytion subkey.

 If I look at the key with --list-packets, I see

 C:\Users\Sean Rimagpg --list-packets  test.txt
 :public key packet:
version 4, algo 3, created 1262830845, expires 0
unknown algorithm 3

 Algorithm 3 is RSA Sign-Only.

 :public sub key packet:
version 4, algo 2, created 1262830846, expires 0
unknown algorithm 2

 Algorithm 2 is RSA Encrypt-Only.

 :signature packet: algo 3, keyid 7853D9CDC4E23A82
version 4, created 1262830857, md5len 0, sigclass 0x18
digest algo 2, begin of digest 8b f2
hashed subpkt 2 len 4 (sig created 2010-01-07)
subpkt 16 len 8 (issuer key ID 7853D9CDC4E23A82)
unknown algorithm 3


 Both of those algorithms are deprecated in the OpenPGP spec: RSA
 Encrypt-Only (2) and RSA Sign-Only are deprecated and SHOULD NOT be
 generated, but may be interpreted.

 I am using gpg2.0.12 (waiting for gpg4win to be compiled to latest)

 The 1.4.x branch will interpret these deprecated keys (internally treating
 them as regular RSA with the appropriate encrypt or sign flags).  I don't
 think gpg2 does that.

 Was this generated by Hushmail?  If so, they to stop generating keys that
 the spec says SHOULD NOT be generated :)

 David



-- 
Sent from my mobile device

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


Re: Gnupg doesn't recognize card.

2010-01-29 Thread taurus


On 29 January 2010, at 00:22, Chris Ruff wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512




Gpg does not recognize my fellowship card;
~ xxx$ gpg --card-status
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error
Reader 01: Gemplus GemPC Twin 00 00


Is that a new OpenPGP card (2.0)?



No, it is a v1.0 Fellowship card.

Only the Macbook Pro is new.


On the Mac (10.5.8) I've found that when I receive this error to kill
the scdaemon and reinsert the reader/card.

$ killall -u username scdaemon #usually has to be entered 2-3x  
to

kill it

Then I'm able to reinsert and perform a 'gpg --card-status'

Hope this helps.



I kill scdaemon several times but error persists.
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error


Thank you,





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


Re: Gnupg doesn't recognize card.

2010-01-29 Thread Chris Ruff
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 1/29/10 9:23 PM, taurus wrote:
 
 On 29 January 2010, at 00:22, Chris Ruff wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512



 Gpg does not recognize my fellowship card;
 ~ xxx$ gpg --card-status
 gpg: selecting openpgp failed: Card error
 gpg: OpenPGP card not available: Card error
 Reader 01: Gemplus GemPC Twin 00 00

 Is that a new OpenPGP card (2.0)?


 No, it is a v1.0 Fellowship card.

 Only the Macbook Pro is new.

 On the Mac (10.5.8) I've found that when I receive this error to kill
 the scdaemon and reinsert the reader/card.

 $ killall -u username scdaemon #usually has to be entered 2-3x to
 kill it

 Then I'm able to reinsert and perform a 'gpg --card-status'

 Hope this helps.

 
 I kill scdaemon several times but error persists.
 gpg: selecting openpgp failed: Card error
 gpg: OpenPGP card not available: Card error
 
 
 Thank you,
 
 
 
 
Have you run 'pcsctest'?

- -- 
__
Chris Ruff
email: jcr...@gmail.com
gpg key: 0x307A351B4EC4B6A1
gpg fgpr: BF2F 2497 22E7 FEB5 C805
  075C 307A 351B 4EC4 B6A1
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJLY564AAoJEDB6NRtOxLahEHMQAK7fPDIVAKvXbyX/nDW4kLVN
o0qy+E6okt9L0aqpvTuYm4Q6J7SnLW5vHcSdli7Tgr9ZhcLCp9Ut0KkCQHiYyZwv
k3sBGZVzb9mHu1t5rIWniKUoOUj9wLVTdvDDuk5TSxpT7oAj9QKgjcSq8m0XHmzM
uGNqKiAtQE+3T/9OzEyVXj3mWPCwJKCrM+LYYa312Heb70pSDa8e+yxwjNoRVtsQ
9fvXPYubiYEwAoc3y2rl+6dYlv9N35mxVzt2rUMZ5nvoq4PfSRT7i63MIgY6CsTE
LgyhnBYjzewDyJpy6YAW9e2V0SCYRpaJ3mRnFmT4QlQ6uthHEKw/EMrcxTgZ854A
0wjJdRcb4bn04JU2Qj8wnGbI7IryJ0j7H3BOdMD4lrd6jWLC92elT6Nl5ZRr/CuD
XR0TMYrIg7pqMH+XmARilGNGX/KzXDjK2Ule33dSXfUTsif3zFyAId3WB+qKta2T
y2HGmriJJgmNFM6tIEEvvPEg1/KZ48fDPUq40SkNa3PUpDbLc5VVXPrnrPA44bPJ
z+acMc6tvhDvapcbD590Od7wYaNjm8kzEl6MQXX8KmwrLeVW9bO6XJSFb+t2xx0B
wxsIWLdbJkOvRfZrcXiEEx/yQih0+x53LTm2fJy/5wcKI00R5+WjAGfv+eW7BMcS
+eJONIX3fNAkpv8kw9jT
=M9lA
-END PGP SIGNATURE-

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