Simon Wistow (deflatermouse) wrote,
Simon Wistow
deflatermouse

Siesta::Plugin::GPGList

For ages I've wanted a plugin for Siesta that, given the public keys of subscribers and a public-key/private-key pair for a list will reject any non-signed, non-encrypted mail posted and then sign and encrypt each mail sent out to list members.

I even sat down and tried to do it a couple of times.

Then Simon Cozen's mentioned that it'd be really useful for missionaries and so the might Mr Clamp gave it a go

And then he gave up because as the comment says

    # XXX ALL GPG/Mail modules SUCK!

The biggest problem being that they have no way of you saying

    my $object     = GPG::Object->new($mail->body);
    my $plain_text = $object->decrypt($private_key);
    my $is_signed  = $object->is_signed($someones_public_key);
    my $other      = GPG::Object->new($plain_text);
    $other->sign($private_key);
    my $encrypted  = $other->encrypt($someones_public_key);

and instead rely on getting a key out of a store via a key-id which, I suppose, is a throw back to the fact that they're most wrappers round gpg.

I sense Yak Shaving in the future.

Tags: clamp, encrypt, encrypted mail, gpg, key pair, list members, missionaries, private key, public, rely, sat, shaving, siesta, simon, suppose, yak
Subscribe

  • 90s Music Moving

    I realised that it's stupid posting my 90s Music Monday stuff to both LJ and Vox every week so I've decided that I'm going to keep LJ as my technical…

  • On Vox: 90s Music Monday

    At the same time that this was released The Divine Comedy also released a track called " Something For The Weekend" - or " Something…

  • On Vox: 90s Music Monday

    We're going a little leftfield here. And showing my age. This is one of the classic 16 bit demos - technically some of the graphics aren't…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments