Problem with PGP linebreaks
Anthony E . Greene
agreene@pobox.com
Wed Mar 14 07:25:05 2001
On Tue, 13 Mar 2001 12:47:45 Rejo Zenger wrote:
>I'm using Mutt 1.2.5i and GPG 1.0.4 on a Linux 2.2.16.
>
>I have been told the encrypted email I'm sending does not have the
>correct linebreaks.
[snip]
>Relevant detail maybe, the command mutt uses when I sign and encrypt
>email is (all on one line):
>
> set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch
> --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r
> -- %f"
>
>So, what is the next thing I can do best?
Include the -t option. The man page says:
-t, --textmode
Use canonical text mode. If -t (but not
--textmode) is used together with armoring and
signing, this enables clearsigned messages.
This kludge is needed for PGP compatibility;
normally you would use --sign or --clearsign to
selected the type of the signature.
Tony
--
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
Chat: AOL/Yahoo: TonyG05 ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>