Re: OpenPGP Smartcard and SSH ?!

2007-04-24 Thread Matthias Barmeier
Werner Koch wrote: > On Mon, 23 Apr 2007 22:12, [EMAIL PROTECTED] said: > > >> My old ssh keys works fine with gpg-agent but how do I add the key on >> the card ? >> > > There is no need to add a key from a card. Just insert the card into > the reader and gpg-agents knows about it. > > A m

Re: OpenPGP Smartcard and SSH ?!

2007-04-24 Thread Charly Avital
Werner Koch wrote the following on 4/24/07 1:48 PM: [...] > $ ssh-add -l > 1024 f1:63:41:8b:b2:77:e5:fe:0b:29:17:8a:4a:c2:c4:de cardno:00010347 (RSA) > 1024 4f:e1:04:1f:3f:97:8e:54:6b:21:7f:d6:8a:72:22:71 /home/wk/.ssh/id_dsa > (DSA) > ssh will try all > listed keys in turn until it succeeds.

Re: OpenPGP Smartcard and SSH ?!

2007-04-24 Thread Werner Koch
On Mon, 23 Apr 2007 22:12, [EMAIL PROTECTED] said: > My old ssh keys works fine with gpg-agent but how do I add the key on > the card ? There is no need to add a key from a card. Just insert the card into the reader and gpg-agents knows about it. A mere ssh-add -l will list the card's key. To

Another trivial question: gcry_cipher_encrypt() (plaintext length)

2007-04-24 Thread Jules Colding
Hi, Once more I'm demonstrating my utter lack of knowledge in all matters related to cryptography. Please forgive these trivial questions. I'm trying to use gcry_cipher_encrypt(). I've set the cipher mode to GCRY_CIPHER_MODE_CFB(*) and the algorithm is GCRY_CIPHER_AES256. My problem is that the