<<< Date Index >>>     <<< Thread Index >>>

Re: PGP and line endings



On Wed, Nov 05, 2003 at 12:54:37PM +0100, Torsten Veller wrote:

> I tried this without success. I added fromdos but maybe not at the
> correct place? I have to change the %f to the corrected file?
> Can anybody help me?
> 
> set pgp_verify_command="fromdos | /usr/bin/gpg   --no-verbose --quiet  
> --batch --output - --verify %s %f"
> set pgp_decrypt_command="fromdos | /usr/bin/gpg   --passphrase-fd 0 
> --no-verbose --quiet  --batch  --output - %f"

How about these instead?

set pgp_verify_command="fromdos < %f | /usr/bin/gpg   --no-verbose --quiet  
--batch --output - --verify %s -"
set pgp_decrypt_command="fromdos < %f | /usr/bin/gpg   --passphrase-fd 0 
--no-verbose --quiet  --batch  --output - -"

> Are these commands used with inline pgp encrypted messages?

Inline PGP messages are transformed by Mutt automatically AFAIK, so the
same commands should be used for both.

> Why has mutt problems with CRLF in the message (which is base64
> encoded) while gpg has none?

They use different Base64 libraries, maybe?

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpzDkNZglVJa.pgp
Description: PGP signature