#3: serialize ecdsa keys without the fluff
-----------------------------+----------------------------------------------
Reporter: zooko | Owner: zooko
Type: enhancement | Status: reopened
Priority: major | Version: 0.4.0
Resolution: | Keywords:
Launchpad_bug: |
-----------------------------+----------------------------------------------
Comment(by nejucomo):
Someone with more context should review this ticket and close it.
I've attached a patch which re-enables the ecdsa module contents, unit
tests, and build config. Additionally, it replaces a bare "25" with a
named constant in the module source and adds a unit test ensuring the
serialization is exactly 25 bytes. (This unit test will fail for
different key sizes!)
With these patches len(myVerifier.serialize()) == 25, which is 192 bits of
key plus 1 byte of overhead. There is no fluff.
--
Ticket URL: <http://allmydata.org/trac/pycryptopp/ticket/3#comment:11>
pycryptopp <http://allmydata.org/trac/pycryptopp>
Python bindings for the Crypto++ library
_______________________________________________
tahoe-dev mailing list
[email protected]
http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev