possible bug with import

Adrian 'Dagurashibanipal' von Bidder avbidder at fortytwo.ch
Wed Aug 28 09:44:01 CEST 2002


On Tue, 2002-08-27 at 19:02, Werner Koch wrote:
> On Tue, 27 Aug 2002 14:47:46 +0200, Tiago Antao said:
> 
> > 0jgX0xLhdUj/KWDdQi2qVm3cE
> > gpg: no valid OpenPGP data found.
> > gpg: key 7835365D: public key imported
> > gpg: Total number processed: 1
> > gpg:               imported: 1
> 
> 
> > Notice that there is no end line. The reported message is very strange.
> 
> You mean the "no valid OpenPGP data found"? 
> 
> With out the -----END .... line the armor is not valid.  The message
> is intended to give users a clue when a message was not decrypted.

To partly import a key when *some* keymaterial was found is probably not
a bad idea. But perhaps the error message shown could be different if no
PGP block was found at all or if there was one but it was not valid. If
the message above had been 'WARNING: OpenPGP data incomplete, further
errors possible' ore something like that, the user would probably not be
confused seeing that *something* is still imported.

cheers
-- vbi

-- 
secure email with gpg                        http://fortytwo.ch/gpg

NOTICE: keyserver.kjsl.com is known to carry a valid copy of my key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 334 bytes
Desc: This is a digitally signed message part
Url : /pipermail/attachments/20020828/f5e49195/attachment.bin


More information about the Gnupg-devel mailing list