On Jul 28, 2011, at 7:40 PM, Henrik Bork wrote: > have been a happy user of GPG on Mac. Upgradet do Lion. Understand that you > need time to get this done. In the meantime, I have a question:
FYI, here is my temporary work around. Definitely nasty dirty. Doesn't work for attachments at all and isn't real pretty but it does let me read the message and reply to the part I want. Save an incoming message as in.eml and then from the same directory run the following script. #!/opt/local/bin/perl open(IN, "in.eml"); open(OUT, ">out.eml"); open(PGP, ">pgp.asc"); $part = 0; while (<IN>) { if (m/-----BEGIN PGP MESSAGE-----/) { $part = 1; } if (m/^--Apple-Mail/) { $part = 2; } if ($part == 1) { print PGP "$_"; } elsif ($part == 0) { print OUT "$_"; } } system ('gpg -d pgp.asc > pgp.txt'); system ('cat pgp.txt >> out.eml'); system ('open out.eml'); system ('rm in.eml pgp.asc'); system ('srm pgp.txt out.eml'); close IN; close OUT; close PGP; Chris -- ------------------------------------------------------------------------- Chris Owen - Garden City (620) 275-1900 - Lottery (noun): President - Wichita (316) 858-3000 - A stupidity tax Hubris Communications Inc www.hubris.net ------------------------------------------------------------------------- _______________________________________________ gpgtools-users mailing list gpgtools-users@lists.gpgtools.org FAQ: http://www.gpgtools.org/faq.html Changes: http://lists.gpgtools.org/mailman/listinfo/gpgtools-users Unsubscribe: http://lists.gpgtools.org/mailman/options/gpgtools-users/arch...@mail-archive.com?unsub=Unsubscribe&unsubconfirm=1 This email sent to: arch...@mail-archive.com