[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Inline PGP signatures [was: Re: email signatures]



On Fri, Mar 26, 2004 at 10:59:24AM +0100, Joerg Johannes wrote:

| > Not when using inline PGP signatures, then it's considered valid.
| 
| OK, sorry for that. But now to something else: I use evolution as mua,
| and I don't quite understand what to do with inline PGP signatures.

Upgrade them to PGP/MIME.

This configuration is for maildrop, translation to procmail (if
desired) is an exercise for the reader :

## -----------------------------------------------------------------------------
# Fix the old-school PGP signatures
if ( ${Content-Type:} =~ /text\/plain/ && !(${Content-Type:} =~ /multipart/) && !(${Content-Type:} =~ /application\/pgp/) )
    {

    if ( /^-----BEGIN PGP SIGNED MESSAGE-----/:bD && \
         /^-----BEGIN PGP SIGNATURE-----/:bD && \
         /^-----END PGP SIGNATURE-----/:bD \
       )
        {
        xfilter "reformail -i \"Content-Type: application/pgp; format=text; x-action=sign\""
        }

    if ( /^-----BEGIN PGP MESSAGE-----/:bD && /^-----END PGP MESSAGE-----/:bD )
        {
        xfilter "reformail -i \"Content-Type: application/pgp; format=text; x-action=encrypt\""
        }
    }

-- 
There are 10 types of people in the world:
those who understand binary, and those who do not.
 
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: signature.asc
Description: Digital signature


Reply to: