Andrew --- Saw your thread on implementing DomainKeys in Python. Could
you offer me some insight into your implementation?
Thanks,
Mike
On 20 Apr, 15:58, Andrew Veitch <[EMAIL PROTECTED]> wrote:
> --- Andrew Veitch <[EMAIL PROTECTED]> wrote:
>
> > In Perl I would just use Crypt:RSA which has
--- Andrew Veitch <[EMAIL PROTECTED]> wrote:
> In Perl I would just use Crypt:RSA which has a sign
> method with an armour option which generates exactly
> what I want but I can't find a way of doing this in
> Python.
I've worked it out, just for the archives the answer
is:
import base64
from M2
In article <[EMAIL PROTECTED]>,
Andrew Veitch <[EMAIL PROTECTED]> wrote:
> I am trying to implement Domain Keys
> (http://domainkeys.sourceforge.net/) in Python.
>
> In Perl I would just use Crypt:RSA which has a sign
> method with an armour option which generates exactly
> what I want but I can
I am trying to implement Domain Keys
(http://domainkeys.sourceforge.net/) in Python.
In Perl I would just use Crypt:RSA which has a sign
method with an armour option which generates exactly
what I want but I can't find a way of doing this in
Python.
I tried this:
from M2Crypto import RSA
key = R