Re: Problems with PEAR::Mail_Mime and GPG
| From: | James Carr | Date: | Thu, 10 Mar 2005 15:25:37 +0000 |
| Subject: | Re: Problems with PEAR::Mail_Mime and GPG | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17950@lists.php.net to get a copy of this message | ||
Thanks, that did the trick.
Stephan: yes, I was thinking the exact same thing. Although I think in
my case it was a good thing as I knew nothing about GPG when I started
this project, and it was a great learning experience, it was quite the
hassle. It'd be nice to just do something like $mail->encrypt($key);
or $mail->encryptAttachment(); and be donw with it :)
Thanks,
JC
On Thu, 10 Mar 2005 16:13:14 +0100, Stephan Wentz <stephan@wentz.it> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jacques Marneweck wrote:
> > Hi James,
> >
> > You need to first encrypt the file prior to attaching it. I've not
> > taken a look at the GPG stuff in ages, but the logic would be
> > something like:
> >
> > GPG the attachment to temp file
> > Add attachment temporary file.
> > Send the mail message.
>
> Maybe it would be a good idea to have a package extending Mail_Mime that
> provides in-mail GPG-functions? Things like signed messages or encrypted
> messages without any further hassel?
>
> Bye, Stephan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
>
> iD8DBQFCMGQK8qQ9XV7tBNQRAh95AJ9gsVSmdB5TwXwCrHDmo1VkFJZMEACgrB3H
> kKB8FsAIDI9ndGnXKCxS+a0=
> =7M5U
> -----END PGP SIGNATURE-----
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>