s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
8. Procmail notes and tips8.1 Configuring Procmail to send automatically your public keysAs this is not the objetive of this Howto, we will comment that the securest way to get the public key from anybody is that he gives it to us directly by hand. As many times this is not an easy method (how long they are) the people can send the public key by electronic mail, or searching it in a key server, but none of those methods assure that the obtained key is really from whom it seems to be. If you use other communication media considered "secure" (searching the owner in the phone listing and asking him to read his key "fingerprint" to contrast with the fingerprint from the key we have obtained from the non-secure path). What we are going to see is a "tip" to put into the
What it is said in the previous paragraph is: we have a copy in ASCII of
our public key, in any directory (in this case the IMPORTANT: what you have between the brackets is an space and a tab.
8.2 Verify and decrypt automatically messages without PGP/MIMEWhen you receive a signed message that uses PGP/MIME and you open it with your preferred MUA (Mutt, isn't it?), it recognizes the message as PGP/MIME and checks the signature if you have the remitent public key. These messages are the ones that have the "S" in the first part of the message line in Mutt:
while the encrypted messages have the "P":
But if the message is signed and has the "application/pgp" MIME type, when you open it Mutt doesn't check its sign, and this sign is into the message body, as here:
To verify it, you must save it and use the command line. But, it is
possible to convert this MIME messages type with Procmail to allow
Mutt to recognize it as PGP/MIME. You only need to add this
to
As you can see, this is valid to signed messages and to encrypted messages with application/pgp.
8.3 Change MIME type for messages with keys inside without PGP/MIMEWhen you receive a public key block from a non PGP/MIME compliant
MUA, you must save the message body in your disk and then insert it into
your public key ring, but, including this lines into your
Thanks to Denis Alan for this procmail note.
Next Previous Contents |