moxie0 / Convergence

An agile, distributed, and secure alternative to the Certificate Authority system.
http://convergence.io
623 stars 127 forks source link

notary response signature #153

Open ebfe opened 12 years ago

ebfe commented 12 years ago

Currently it is a PITA to verify the signature in notary responses. Since both signature and signed data are in the same JSON object you first have to parse the whole response, then reencode the fingerprintList as JSON (which has to be done manually, as most encoders don't preserve field ordering) with unspecified whitespace rules (whatever pythons json.dumps does). This is fragile and makes writing clients/notaries unnecessary hard.

There are a few options to make this easier:

Thoughts?