key too large?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

key too large?

Peter Palfrader-2
Hi,

I wonder if my key is too large for SKS to like:

weasel@galaxy:~$ gpg --send 94c09c7f
gpg: sending key 94C09C7F to hkp server keyserver.noreply.org
gpgkeys: HTTP post error 22: url returned error 500
gpgkeys: no KEY 94c09c7f END found
gpg: keyserver internal error
gpg: keyserver send failed: keyserver error

If so, maybe we could patch SKS to allow larger keys?

Cheers,
Peter
--
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

Peter Palfrader-2
On Fri, 14 Jul 2006, Peter Palfrader wrote:

> I wonder if my key is too large for SKS to like:
>
> weasel@galaxy:~$ gpg --send 94c09c7f
> gpg: sending key 94C09C7F to hkp server keyserver.noreply.org
> gpgkeys: HTTP post error 22: url returned error 500
> gpgkeys: no KEY 94c09c7f END found
> gpg: keyserver internal error
> gpg: keyserver send failed: keyserver error
>
> If so, maybe we could patch SKS to allow larger keys?

*sigh*

Actually this appears to be a GnuPG problem?

./keyserver/gpgkeys_hkp.c:      fprintf(console,"gpgkeys: no KEY %s END found\n",keyid);

--
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

David Shaw
On Fri, Jul 14, 2006 at 12:32:39AM +0200, Peter Palfrader wrote:

> On Fri, 14 Jul 2006, Peter Palfrader wrote:
>
> > I wonder if my key is too large for SKS to like:
> >
> > weasel@galaxy:~$ gpg --send 94c09c7f
> > gpg: sending key 94C09C7F to hkp server keyserver.noreply.org
> > gpgkeys: HTTP post error 22: url returned error 500
> > gpgkeys: no KEY 94c09c7f END found
> > gpg: keyserver internal error
> > gpg: keyserver send failed: keyserver error
> >
> > If so, maybe we could patch SKS to allow larger keys?
>
> *sigh*
>
> Actually this appears to be a GnuPG problem?

Version?  At least for the recent code, It's very hard to see how you
got that error.  The code just doesn't flow that way.

David


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

Peter Palfrader-2
On Thu, 13 Jul 2006, David Shaw wrote:

> On Fri, Jul 14, 2006 at 12:32:39AM +0200, Peter Palfrader wrote:
> > On Fri, 14 Jul 2006, Peter Palfrader wrote:
> >
> > > I wonder if my key is too large for SKS to like:
> > >
> > > weasel@galaxy:~$ gpg --send 94c09c7f
> > > gpg: sending key 94C09C7F to hkp server keyserver.noreply.org
> > > gpgkeys: HTTP post error 22: url returned error 500
> > > gpgkeys: no KEY 94c09c7f END found
> > > gpg: keyserver internal error
> > > gpg: keyserver send failed: keyserver error
> > >
> > > If so, maybe we could patch SKS to allow larger keys?
> >
> > *sigh*
> >
> > Actually this appears to be a GnuPG problem?
>
> Version?  At least for the recent code, It's very hard to see how you
> got that error.  The code just doesn't flow that way.

gpg (GnuPG) 1.4.4-cvs, looks like a snapshot built around April 5th,
probably r4114.

I don't see the problem on a different host with what is quite likely
r4189.
--
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

David Shaw
On Fri, Jul 14, 2006 at 01:12:10AM +0200, Peter Palfrader wrote:

> On Thu, 13 Jul 2006, David Shaw wrote:
>
> > On Fri, Jul 14, 2006 at 12:32:39AM +0200, Peter Palfrader wrote:
> > > On Fri, 14 Jul 2006, Peter Palfrader wrote:
> > >
> > > > I wonder if my key is too large for SKS to like:
> > > >
> > > > weasel@galaxy:~$ gpg --send 94c09c7f
> > > > gpg: sending key 94C09C7F to hkp server keyserver.noreply.org
> > > > gpgkeys: HTTP post error 22: url returned error 500
> > > > gpgkeys: no KEY 94c09c7f END found
> > > > gpg: keyserver internal error
> > > > gpg: keyserver send failed: keyserver error
> > > >
> > > > If so, maybe we could patch SKS to allow larger keys?
> > >
> > > *sigh*
> > >
> > > Actually this appears to be a GnuPG problem?
> >
> > Version?  At least for the recent code, It's very hard to see how you
> > got that error.  The code just doesn't flow that way.
>
> gpg (GnuPG) 1.4.4-cvs, looks like a snapshot built around April 5th,
> probably r4114.
>
> I don't see the problem on a different host with what is quite likely
> r4189.

There are no meaningful changes in gpgkeys_hkp between those two
revisions.  Can you reproduce this with --keyserver-options
"use-temp-files keep-temp-files" and send me the temp file?

David


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

Peter Palfrader-2
On Thu, 13 Jul 2006, David Shaw wrote:

> > gpg (GnuPG) 1.4.4-cvs, looks like a snapshot built around April 5th,
> > probably r4114.
> >
> > I don't see the problem on a different host with what is quite likely
> > r4189.
>
> There are no meaningful changes in gpgkeys_hkp between those two
> revisions.  Can you reproduce this with --keyserver-options
> "use-temp-files keep-temp-files" and send me the temp file?

http://asteria.noreply.org/~weasel/gpg-20061714/tempin.txt
http://asteria.noreply.org/~weasel/gpg-20061714/tempout.txt

| weasel@galaxy:~/public_html/gpg-20061714$ cat tempin.txt
| VERSION 1
| PROGRAM 1.4.4-cvs
| SCHEME hkp
| HOST keyserver.noreply.org
| PORT 80
| PATH /
| COMMAND SEND
|
|
| INFO DE7AAF6E94C09C7F BEGIN
| pub:DE7AAF6E94C09C7F:17:1024:942264711:0:
| uid:Peter Palfrader:951840856:0:
| sig:DBD245FCB3B2A12C:10:976528694:0
| sig:21AB0663B1AE9060:10:1042281434:0
[...]
| sub:7284C301B86DCE5F:16:2048:942264776:0:r
| sub:5AF2C377E8F4A328:16:2048:1057717115:1154458341:
| INFO DE7AAF6E94C09C7F END
| KEY 94c09c7f BEGIN
| -----BEGIN PGP PUBLIC KEY BLOCK-----
| Version: GnuPG v1.4.4-cvs (GNU/Linux)
|
| mQGiBDgp0YcRBACN9s8EycXRsu9ym3Sjou1NlPc+xz4ExlWtDOBoSlTzEJs0P/px
| xyPaZ+ampr//fT+6EZXsgl4EmbQzW+boPsJ9tXkD9owm36djlsgfMcSUBf7PS7Eu
[...]
| xCdqABIHZUdQRwABAQkQ3nqvbpTAnH9CPQCg2MeKjGOkR1974Y2FKcn2mk9bguMA
| oNI5EZKAzGXwZ+Hzpty0cfNDLk+I
| =Tbd+
| -----END PGP PUBLIC KEY BLOCK-----
| KEY 94c09c7f END

| weasel@galaxy:~/public_html/gpg-20061714$ cat tempout.txt
| VERSION 1
| PROGRAM 1.4.4-cvs
|
| KEY 94c09c7f FAILED 8

HTH
--
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

David Shaw
On Fri, Jul 14, 2006 at 04:14:43PM +0200, Peter Palfrader wrote:

> On Thu, 13 Jul 2006, David Shaw wrote:
>
> > > gpg (GnuPG) 1.4.4-cvs, looks like a snapshot built around April 5th,
> > > probably r4114.
> > >
> > > I don't see the problem on a different host with what is quite likely
> > > r4189.
> >
> > There are no meaningful changes in gpgkeys_hkp between those two
> > revisions.  Can you reproduce this with --keyserver-options
> > "use-temp-files keep-temp-files" and send me the temp file?
>
> http://asteria.noreply.org/~weasel/gpg-20061714/tempin.txt
> http://asteria.noreply.org/~weasel/gpg-20061714/tempout.txt

Aha, fixed, thanks.

Your armored key just happened to have text in it that looked like the
"KEY xxxx"... delimiter.

David


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: key too large?

Peter Palfrader-2
On Fri, 14 Jul 2006, David Shaw wrote:

> On Fri, Jul 14, 2006 at 04:14:43PM +0200, Peter Palfrader wrote:
> > On Thu, 13 Jul 2006, David Shaw wrote:
> >
> > > > gpg (GnuPG) 1.4.4-cvs, looks like a snapshot built around April 5th,
> > > > probably r4114.
> > > >
> > > > I don't see the problem on a different host with what is quite likely
> > > > r4189.
> > >
> > > There are no meaningful changes in gpgkeys_hkp between those two
> > > revisions.  Can you reproduce this with --keyserver-options
> > > "use-temp-files keep-temp-files" and send me the temp file?
> >
> > http://asteria.noreply.org/~weasel/gpg-20061714/tempin.txt
> > http://asteria.noreply.org/~weasel/gpg-20061714/tempout.txt
>
> Aha, fixed, thanks.
>
> Your armored key just happened to have text in it that looked like the
> "KEY xxxx"... delimiter.

Thanks

--
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


_______________________________________________
Sks-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/sks-devel