derecalliance / protobufs

The format of DeRec messages.
Apache License 2.0
2 stars 0 forks source link

The definition of `maxShareSize/minShareSize` #29

Open zanctor opened 6 months ago

zanctor commented 6 months ago

Considering, that it is possible for a helper to store several versions of a secret at the same time, what exactly maxShareSize/minShareSize should limit? Should it be the size of every version for the given secret or the size of all stored versions of this secret combined?

zanctor commented 6 months ago

For now we decided to apply this limit to the size of the shared secret version.

Also, it makes sense to add more parameters like a number of secret versions to store or a number of secrets per peer.