katzenpost / mixnet_uprising

repository for tracking open tasks
18 stars 1 forks source link

write new cryptographic signature library #63

Closed david415 closed 5 years ago

david415 commented 5 years ago
david415 commented 5 years ago

OK. I wrote a certificate library, here it is: https://github.com/katzenpost/core/pull/48

This needs review. Note that it uses core/crypto/eddsa (ed25519) and the CBOR schema-less serialization format. This seemed like the least annoying and laziest way to write this library. It should handle both of our use cases:

That is to say, we can use this library to certify key and documents with one or more signatures.

david415 commented 5 years ago

OK. I've made various corrections pointed out by @nogoegst in the pull-request code review. I've added expiration validation and test vectors as well ;-p But we still SHOULD NOT merge into core until @mixmasala has reviewed it's viability to replace our JOSE library for encoding multiple signaures in directory authority documents.

david415 commented 5 years ago

my cert library works. we've upgraded the authority clients and servers for both the nonvoting and voting authorities.