Mail body munging: state of the art?

Simon Wistow simon at thegestalt.org
Wed Jan 18 17:35:38 GMT 2006


On Wed, Jan 18, 2006 at 05:22:51PM +0000, Lusercop said:
> > How will this interact with stuff like pgp signed mail ...
> > can you add your annotations outside the signature ?
> 
> Aaaaaarrrrrrgh!
> 
> Nightmares lie that way.

Speaking of which - I occasionally ask this out of some sort of grim 
hope that the situation will have changed but I want to be able to do 
something like


	my $mail = get_encrypted_and_signed_mail();

	
	$mail->is_signed($alices_public_key) || die "Erk!\n";
	my $decrypted = $mail->decrypt($my_private_key);


	my $new_mail = $decrypted->encrypt($bobs_public_key);
	send_mail_to_bob($new_mail->sign($my_private_key));


That is - can I use PGP from within Perl without having to dick around 
with keychains and key ids?

If not - is there some (good) reason for this and am I being quaintly 
naive?

Simon



	


More information about the london.pm mailing list