possible bug with import

Adrian 'Dagurashibanipal' von Bidder avbidder@fortytwo.ch
Wed Aug 28 08:44:01 2002


--=-BeZ6jMktbSBFPUyLuYJm
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2002-08-27 at 19:02, Werner Koch wrote:
> On Tue, 27 Aug 2002 14:47:46 +0200, Tiago Antao said:
>=20
> > 0jgX0xLhdUj/KWDdQi2qVm3cE
> > gpg: no valid OpenPGP data found.
> > gpg: key 7835365D: public key imported
> > gpg: Total number processed: 1
> > gpg:               imported: 1
>=20
>=20
> > Notice that there is no end line. The reported message is very strange.
>=20
> You mean the "no valid OpenPGP data found"?=20
>=20
> 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

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

NOTICE: keyserver.kjsl.com is known to carry a valid copy of my key

--=-BeZ6jMktbSBFPUyLuYJm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iHQEABECADQFAj1scWctGmh0dHA6Ly9mb3J0eXR3by5jaC9ncGcvcG9saWN5L2Vt
YWlsLjIwMDIwODIyAAoJECqqZti935l6cT4AoJ/4oct8xygvKDBwqykdfplM/ytb
AKCWiGV+gBYYILWBrhlCSjjquBckrw==
=K/nB
-----END PGP SIGNATURE-----
Signature policy: http://fortytwo.ch/gpg/policy/email.20020822

--=-BeZ6jMktbSBFPUyLuYJm--