[pycrypto] import/export for DSA keys

Hans-Christoph Steiner hans at guardianproject.info
Mon Dec 19 16:26:02 CST 2011

hey all,

I'm working on a project to make OTR keys (DSA) easily convertible between formats and also possibly embedding OTR DSA keys as subkeys of a gpg key.  The RSA object has the very lovely importKey and exportKey methods, but the DSA object lacks them.  I've gotten this import and export functionality working using a combination of pycrypto, python-potr, and pyparsing.


Would it make sense to cook this into pycrypto's DSA objects?



I hate it when they say, "He gave his life for his country."  Nobody gives their life for anything.  We steal the lives of these kids.  -Admiral Gene LeRocque

More information about the pycrypto mailing list