On 13/04/2009 5:16 PM, Chris Anderson wrote:
Good point. I totally agree that it should be possible to add
signatures to existing documents. Another objective would be allowing
multiple independent signatures. Moving the list of signed fields to
the signature itself might help.

This would allow more than one key to sign the same fields, as well as
allow sets of signed fields to be moved between documents while
preserving the signature.

Something like this then? (also a list of signatures, here)

      {
        "_id" : "89a7stdg235",
        "_rev" : "1-26476513",
        "message" : "I said this and I meant it.",
        "date" : "2009/04/09 15:54:08",
        "author" : {
          "name" : "J. Chris Anderson",
          "url" : "http://jchrisa.net";,
          "photo" : "http://jchrisa.net/profile.jpg";
        }
        "foo" : "not signed but still a normal field",
        "signatures" : [{
          "signed-fields: [ "message", "date", "author"],
          etc as described...
        }]
     }

Works for me (although the 'signed-' prefix now looks a little redundant, and I prefer blue ;)

Cheers,

Mark

Reply via email to