Re: patch for autodetecting the signing key
Brought to you by:
ftobin
|
From: Frank T. <ft...@ui...> - 2000-10-04 00:59:15
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Friedhelm Buescher, at 21:03 +0200 on Tue, 3 Oct 2000, wrote:
> +while (! /^$/) {
> strange things happens : pgp4pine gets the right key, if you choose NOT to
> encrypt nor sign, everything works perfectly. the mail is send as
> normal. If you choose to encrypt or sign, an empty mail is send (as my
> previous mail :) - but WHY ? the patch only strips of the headerlines from
> stdin, so i assume pgpenvelope gets the data as usual - or not ?
The problem might lie in the fact that you are very unforgivein in the
/^$/ match; it's cleaenr and more sane to do:
while ( <STDIN> )
{
last if not /\w/;
...
}
- --
Frank Tobin http://www.uiuc.edu/~ftobin/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (FreeBSD)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/
iEYEARECAAYFAjnagOIACgkQVv/RCiYMT6MRpgCdE/8qyj3lRJh91uh6OwFdQsa5
8/QAniU/ipveU6G+R8/6pRx+VG1hTLm7
=A5WB
-----END PGP SIGNATURE-----
|