silversixpence-crypto / dapol

DAPOL+ Proof of Liabilities using Bulletproofs and Sparse Merkle trees
MIT License
8 stars 2 forks source link

Do not serialize master secret by default #134

Open Stentonian opened 8 months ago

Stentonian commented 8 months ago

Tree serialization includes the master secret. Since this secret is intended to be created once and used for all PoLs it's best to not include this by default (can have the option to add it).

Stentonian commented 8 months ago

Also do not print master secret to stdout

Stentonian commented 7 months ago

Master secret is not printed to stdout anymore, as of https://github.com/silversixpence-crypto/dapol/pull/148

Stentonian commented 7 months ago

Note that removing the secret from the serialized tree will involve partial serializing and then deserializing partial data