batch generation of keypairs by GnuPG

Paul Rubin phr-n2001 at nightsong.com
Wed Jul 4 17:15:42 EDT 2001


philh at comuno.freeserve.co.uk (phil hunt) writes:
> (2) Should I be using GnuPG at all? I don't need its key management
> facilities -- I can use a serialised Python data structure for that --
> and I find it overcomplex to use programmatically. Is there a better 
> solution? What I need is software that can generate keypairs
> (using an unencumbered algorithm such as ElGamal), and can encrypt
> and decrypt using those keys, and make/test signatures using
> the keys. Is there anything which does this (either a Python
> program, or something accessible from the command line)?

I think there's Python bindings for OpenSSL, which can do all that
stuff.  Or you could just code the algorithms yourself using one of
the bignum libraries.  I'm pretty sure Python has those, but I'm not
a Python user and don't know specifics.



More information about the Python-list mailing list