Re: Is there a maximum length for an OpenPGP UID?

2010-10-22 Thread Werner Koch
On Fri, 22 Oct 2010 02:29, expires2...@ymail.com said: > Does it matter how many characters are for "real name," "comment," > "email address," or is it just a limit to the total length? The limit is on the total length: /* Cap the size of a user ID at 2k: a value absurdly large enough tha

Re: gpgkey2ssh

2010-10-22 Thread Werner Koch
On Fri, 22 Oct 2010 03:58, aaron.topo...@gmail.com said: > First, there is _ZERO_ documentation for this binary. No manual, no info > page, nothing under /usr/share/doc/, segfaults pasing "-h" or "--help". Ah well, it should be removed from the package. It used to be a kind of debug tool but I ne

Re: Security considerations: CAST-128

2010-10-22 Thread Werner Koch
On Thu, 21 Oct 2010 18:41, danthe...@gmail.com said: > I'm not sure how computationally feasible they are. According to the > paper, successful attacks were conducted on a 4 and 6 round version of > CAST-128. You can mount attacks on all algorithms if you reduce the number of rounds. In particu

Re: Changing secret key encryption algorithms

2010-10-22 Thread Paul Richard Ramer
On Thu, 21 Oct 2010 09:40:11 -0700, Dan Cowsill wrote: > It seems the algorithms are mapped to algo ID's. I can confirm that the > algorithm is different than than the one used on my real secret key, but > I had not been able to find any resources that map the algo ID's to > their respective names

Re: gpgkey2ssh

2010-10-22 Thread Alex Mauer
On 10/22/2010 03:02 AM, Werner Koch wrote: The whole point of the ssh support is to replace ssh-agent: gpg-agent if started with the option --enable-ssh-support implements the ssh-agent-protocol and thus works with ssh and ssh-add. If you want to use an existing gpg key with ssh you need a way

[PATCH] Issue 1238 (scdaemon often needs restarting after removing OpenPGP smartcard)

2010-10-22 Thread Nedko Arnaudov
I've been hit by this bug and I made a quick (and maybe wrong and nasty) fix that works for me. The patch is attached to this mail and also is available here: http://nedko.arnaudov.name/soft/gnupg-2.0.16-Issue1238.patch diff -ru gnupg-2.0.16-orig/scd/apdu.c gnupg-2.0.16-patched/scd/apdu.c --- gnup

Re: Changing secret key encryption algorithms

2010-10-22 Thread David Shaw
On Oct 22, 2010, at 4:51 AM, Paul Richard Ramer wrote: > On Thu, 21 Oct 2010 09:40:11 -0700, Dan Cowsill wrote: >> It seems the algorithms are mapped to algo ID's. I can confirm that the >> algorithm is different than than the one used on my real secret key, but >> I had not been able to find any