SmartCard...

2009-11-18 Thread Laurent Jumet
Hello !

I'm trying for the first time GPG with a SmartCard (chip card) and it 
doesn't work despite the device is recognized.
I'm trying with my ID card and with my bank card, but none works.
I get this message:

=== Begin Windows Clipboard ===
gpg: detected reader `ACS CCID USB Reader 0'
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel:
Please insert the card and hit return or enter 'c' to cancel: c
gpg: selecting openpgp failed: general error
gpg: OpenPGP card not available: general error
=== End Windows Clipboard ===

Could someone give me some explanation related to what features I could 
expect from GPG, providing those smartcards haven't been created with GPG 
itself?

-- 
Laurent Jumet
  KeyID: 0xCFAF704C

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


Re: SmartCard...

2009-11-18 Thread Nils Faerber
Laurent Jumet schrieb:
> Hello !
Hi!

> I'm trying for the first time GPG with a SmartCard (chip card) and it 
> doesn't work despite the device is recognized.
> I'm trying with my ID card and with my bank card, but none works.
> I get this message:
> 
> === Begin Windows Clipboard ===
> gpg: detected reader `ACS CCID USB Reader 0'
> Please insert the card and hit return or enter 'c' to cancel:
> Please insert the card and hit return or enter 'c' to cancel:
> Please insert the card and hit return or enter 'c' to cancel: c
> gpg: selecting openpgp failed: general error
> gpg: OpenPGP card not available: general error
> === End Windows Clipboard ===
> 
> Could someone give me some explanation related to what features I could 
> expect from GPG, providing those smartcards haven't been created with GPG 
> itself?

Errr... you need the OpenPGP smart card to us it with GnuPG as a
key-storing smart card. This does not work just with any card ;)

Cheers
  nils

-- 
kernel concepts GbRTel: +49-271-771091-12
Sieghuetter Hauptweg 48Fax: +49-271-771091-19
D-57072 Siegen Mob: +49-176-21024535
http://www.kernelconcepts.de

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


Re: digital signature primary key and encryption subkey

2009-11-18 Thread M.B.Jr.
Hi David,


On Wed, Nov 18, 2009 at 1:21 AM, David Shaw  wrote:
> On Nov 17, 2009, at 10:00 PM, M.B.Jr. wrote:
>
>> both my public and private keys will be built upon my DSA primary key
>> and my Elgamal encryption subkey?
>
> I'm afraid I don't really understand what you are asking.  Your primary key
> (DSA) has a public and private part, and uses the DSA algorithm.  Your
> subkey (Elgamal) has a public and private part, and uses the Elgamal
> algorithm.  Your subkey is signed by your primary key to indicate that they
> belong together.


Your answer certainly covered more than I expected. Thank you.

So, public parts (from my primary key and my subkey) formed my public
key and the same goes to the private parts and my private key. Is that
correct?



Marcio Barbado, Jr.

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


Re: digital signature primary key and encryption subkey

2009-11-18 Thread David Shaw
On Nov 18, 2009, at 8:49 AM, M.B.Jr. wrote:

> Hi David,
> 
> 
> On Wed, Nov 18, 2009 at 1:21 AM, David Shaw  wrote:
>> On Nov 17, 2009, at 10:00 PM, M.B.Jr. wrote:
>> 
>>> both my public and private keys will be built upon my DSA primary key
>>> and my Elgamal encryption subkey?
>> 
>> I'm afraid I don't really understand what you are asking.  Your primary key
>> (DSA) has a public and private part, and uses the DSA algorithm.  Your
>> subkey (Elgamal) has a public and private part, and uses the Elgamal
>> algorithm.  Your subkey is signed by your primary key to indicate that they
>> belong together.
> 
> 
> Your answer certainly covered more than I expected. Thank you.
> 
> So, public parts (from my primary key and my subkey) formed my public
> key and the same goes to the private parts and my private key. Is that
> correct?

Yes.  "Public key" is frequently shorthand for a number of public keys stuck 
together with some OpenPGP glue, and the same is true for private keys.

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


Re: digital signature primary key and encryption subkey

2009-11-18 Thread M.B.Jr.
Thanks again, David.

The last dumb question, I promise, would be:

how can I see my primary key and my subkey as well?


On Wed, Nov 18, 2009 at 12:38 PM, David Shaw  wrote:
> On Nov 18, 2009, at 8:49 AM, M.B.Jr. wrote:
>
>> Hi David,
>>
>>
>> On Wed, Nov 18, 2009 at 1:21 AM, David Shaw  wrote:
>>> On Nov 17, 2009, at 10:00 PM, M.B.Jr. wrote:
>>>
 both my public and private keys will be built upon my DSA primary key
 and my Elgamal encryption subkey?
>>>
>>> I'm afraid I don't really understand what you are asking.  Your primary key
>>> (DSA) has a public and private part, and uses the DSA algorithm.  Your
>>> subkey (Elgamal) has a public and private part, and uses the Elgamal
>>> algorithm.  Your subkey is signed by your primary key to indicate that they
>>> belong together.
>>
>>
>> Your answer certainly covered more than I expected. Thank you.
>>
>> So, public parts (from my primary key and my subkey) formed my public
>> key and the same goes to the private parts and my private key. Is that
>> correct?
>
> Yes.  "Public key" is frequently shorthand for a number of public keys stuck 
> together with some OpenPGP glue, and the same is true for private keys.
>
> David




Marcio Barbado, Jr.

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


gpg: key generation failed: Card error

2009-11-18 Thread markus reichelt
Hi,

I cannot create keys on my shiny new v2 smartcard. Personalizing the
card works just fine, as does changing PINs.

But when I want to generate new keys I always get this error message
(after gpg asked about how long the key shall be valid):

gpg: key generation failed: Card error   
Key generation failed: Card error   

That's on a stock Slackware 13 system, gpg (GnuPG) 2.0.12, libgcrypt
1.4.4 with OMNIKEY CardMan 4040 v1.1.0gm5.

Any hints?

-- 
left blank, right bald


pgpqOG0wyuae8.pgp
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: digital signature primary key and encryption subkey

2009-11-18 Thread John Clizbe
M.B.Jr. wrote:
> Thanks again, David.
> 
> The last dumb question, I promise, would be:

There aren't any dumb questions.

> how can I see my primary key and my subkey as well?

$ gpg  --list-key 0x0x608d2a10
pub   1024D/608D2A10 2003-03-06
uid  John P. Clizbe 
uid  [jpeg image of size 4563]
sub   2048g/EF4010D2 2003-03-06

608D2A10 is a 1024-bit DSA key. Subkey EF4010D2 is 2048-bit El Gamal.

-- 
John P. Clizbe  Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
 mailto:pgp-public-k...@gingerbear.net?subject=help

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

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


Re: digital signature primary key and encryption subkey

2009-11-18 Thread John W. Moore III
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

John Clizbe wrote:
> M.B.Jr. wrote:
>> Thanks again, David.
>>
>> The last dumb question, I promise, would be:
> 
> There aren't any dumb questions.

Yes, there are!  They are the Questions that _were_never_ asked!

JOHN ;)
Timestamp: Wednesday 18 Nov 2009, 19:34  --500 (Eastern Standard Time)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Public Key at:  http://tinyurl.com/8cpho
Comment: Gossamer Spider Web of Trust: http://www.gswot.org
Comment: Personal Web Page:  http://tinyurl.com/yzhbhx

iQEcBAEBCgAGBQJLBJKhAAoJEBCGy9eAtCsP3jcIAKOAy3S48Ngu+Ea+muRbr6Vl
ci/lWWJqH3OArDL0Y7baBvTzIoYzqsUCkLi9eJj5Xe9x5z2M0xm+yA0tt1SyPjHN
+eC/xdMNzVJA9QmVGteUgDdDjxisROqgZJGV81GsBdyc/KC7WP+O5F49zYl6fYb3
vRMqBVBtmZx0Obs50L5FbdCpcqXKR8MyKDZ36VZBWrt8TTm59FjauXhqn56s7E1m
VxeXItZCLmOmIpEoaEzH7TVds0g9GF0DfFG3An2fyaci0bGxNpkM15GFmkMTEPAb
Z9WzOdyCjr4GBEzBKCz6jxh4lFAE2/Ayh4hXezFWF31Pf8lbYR9ceIT14Moxtrg=
=eNLs
-END PGP SIGNATURE-

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


Re: digital signature primary key and encryption subkey

2009-11-18 Thread Robert J. Hansen
John W. Moore III wrote:
> Yes, there are!  They are the Questions that _were_never_ asked!

Japanese: 聞くのは一時の恥、聞かぬのは一生の恥
English:  "If you ask, you'll feel stupid for a minute.
   If you don't, you'll be stupid forever."


(The translation is pretty far from literal.)
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users