![]() It takes one or more filenames of mails as arguments, analyzes them, prints information about signatures and decrypts encrypteded mails (after asking for the correspondent passphrases). The Mail::GPG distribution contains the program mgpg-test: Usage: mgpg-test file. Please report any bugs to the author: Joern Reder. Note that the test 04.big needs some time, on an Athlon 1800XP about 12 seconds, so be patient ) KNOWN BUGSĬurrently none. You need to have gpg in your path for the tests to succeed, otherwise all useful tests will be skipped. Mail::GPG has a bunch of tests which will create a temporary gpg keyring to be able to do real encryption and stuff. MIME::QuotedPrint >= 2.20 (part of MIME-Base64 distribution) This Perl modules handles all the details of encrypting and signing Mails using GnuPG according to RFC 3156 and RFC 2440, that is OpenPGP MIME and traditional armor signed/encrypted mails. My $mail_text = $encrypted_entity->as_string ![]() ![]() ![]() My $encrypted_entity = $mg->mime_sign_encrypt ( Search => $entity = MIME::Entity->build (ĭata => , Mail::GPG - Handling of GnuPG encrypted / signed mails SYNOPSIS use Mail::GPG Details about parsing with MIME::Parser for Mail::GPG.METHODS FOR PARSING, DECRYPTION AND VERIFICATION.METHODS TO CREATE ARMOR OpenPGP MESSAGES (RFC 2440).METHODS TO CREATE MIME OpenPGP MESSAGES (RFC 3156).
0 Comments
Leave a Reply. |