Re: tools to test reader's keypad with GnuPG smartcard V2 ?

2009-11-03 Thread Werner Koch
On Mon, 19 Oct 2009 20:55, tux.tsn...@free.fr said:

 Could you tell me if you've a debug tools to test reader's keypad with a 
 GnuPG smartcard  V2 ?

No I don't have any special tools.  I debugged it by changing
ccid-driver.c.  On a higher level there is gpg-connect-agent:

   SCD SERIALNO
  OK
   SCD APDU 00 20 xx xx xx xx xx

and so on.  Note very helpful I guess.  Fortunately the v2 cards have a
factory reset feature, thus you won't be able to brick the card.



Shalom-Salam,

   Werner

-- 
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: Create extra keyring

2009-11-03 Thread Werner Koch
On Mon,  2 Nov 2009 22:30, m...@thorsten-alge.de said:

 problem is, i dont know how to create an use the keyring but i also
 couldnt find anything in the FAQ/Doc/manual or anywhere else. Can
 anybody help?

Import all keys and then:

  gpg --export KEYID1 KEYID2 KEYID3 ...  keyring

As long as you don't use the --armor flag you may also append to a
keyring, thus you can do something like:

  : keyring
  FOO | xargs gpg --export  keyring

with FOO being a program to generate keyids.


Shalom-Salam,

   Werner

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


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


FSFE Fellower Card + LUKS on Startup

2009-11-03 Thread David Lais
Hi GnuPG-Users,

I have been testing the FSFE GnuPG smartcard in the past few days and I find 
it really cool! However, I have some more questions regarding the card.

I have encrypted all of my linux partitions with LUKS and it works really 
great. Next, I would like to integrate the GnuPG card into the boot process 
in order to encrypt or to provide the key file. I found a Howto in the ubuntu 
wiki: https://wiki.ubuntu.com/SmartCardLUKSDiskEncryption. However, in this 
HowTo, they use a MultiFlex Smartcard and load the key file on the card. In 
the startup process, the keyfile is read out and sent to LUKS. This step is 
really simple but how can this work with the gnupg smartcard? 

I think it is not a problem to decrypt the key file in the startup process, 
isn't it!? Is it possible to access the card reader (omnikey 4040) and the 
smartcard via gpg from the initrd ram disk? Has anyone ever tried it in a 
similar way or are there any alternatives? Finally, is there a HowTo?

I would be very happy for any kind of information.

Thanks,
David

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