pod2/book/src/signedpod.md
arnaucube e074d34078
Extend merkletree spec, init SignedPod section, add typos checker in CI (#31)
Extend merkletree spec, init SignedPod section, add typos checker in CI

- extend merkletree spec, converting old hand-drawn diagrams to drawio
  diagrams, and adding new diagrams (related: #6)
- init SignedPod section (related: #2)
- initial draft of the types dictionary, set, array (related: #26)
- add typos checker in CI (and correct the ones that were detected)

Note on drawio diagrams: each image file contains the metadata to edit the diagram in the draw.io website.
2025-02-05 16:37:16 +01:00

678 B

SignedPod

A SignedPod consists of the following fields:

  • mt: key-values storage, internally it's a MerkleTree so that we can generate proofs on the key-values
    • it can only contain ValueOf statements.
    • the Signer's public key is one of the key-values in the kvs.
  • id: the Root of the kvs MerkleTree
  • signature: a signature over the id

Example of SignedPod:

{
    id: "05f7a6de...",
    kvs : {
        _signerKey: "5e1c0b3c...",
        idNumber: "94e328a7...",
        dateOfBirth: 1169909384,
        socialSecurityNum: "1111"
    },
    signature: "68b615f7..."
}