Re: Domain Keys in Python

2007-04-24 Thread miked


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 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 M2Crypto import RSA
> key = RSA.load_key('rsa.private')
> msg='Hello world'
> print base64.b64encode(key.sign(msg))
>
> I will publish my DomainKey implementation shortly.
>
> A


-- 
http://mail.python.org/mailman/listinfo/python-list


"No backend servers available" using httplib

2007-11-11 Thread miked
i am trying to access printing templates from avery.com and i get a message
from the nsapi plugin:no backend server available.can you help me?

-- 
http://mail.python.org/mailman/listinfo/python-list