THCLab / oca-parser-xls

European Union Public License 1.2
1 stars 2 forks source link

Fix JSON serialization outside of zip #8

Open andrewwhitehead opened 7 months ago

andrewwhitehead commented 7 months ago

By serializing to serde_json::Value first, the attributes were getting reordered (sorted) which breaks the digest calculation. @swcurran

swcurran commented 7 months ago

Thanks @andrewwhitehead. We’ve not been using the digest values in the processing because we have not been able to find an easy way to re-generate them when needed — such as when we add an overlay to a bundle. I think we briefly tried the KERI SAID generator but we got different digest values — maybe because of this?