Open
Description
There is a known cryptographic approach to publishing the elements of an AnonCreds tails file in compressed structure, resulting in a 50% savings in the size of a tails file -- or a 100% increase in the number of elements in a tails file of the same size. Thus a 768k tails file for a RevReg with 3000 credentials (the maximum recommended today for AnonCreds deployments) could have a RevReg size of 6000 credentials with this change.
The cost of the compression is that the holder must decompress the tails elements before use -- either as a one time process on saving (resulting in a doubling of the storage needed for the tails file) or as they are used in creating a presentation.
This task is to:
- define a good approach to conveying to a holder that a file is compressed (e.g. a version flag)
- implement holder code to handle both an uncompressed and compressed file, with some experimentation to determine the best time for a holder to decompress the file (on receipt or on use)
- adding a mechanism that an issuer can use to choose to produce an uncompressed or compressed file.
Metadata
Metadata
Assignees
Labels
No labels