orblivion / desert-atlas

Other
7 stars 1 forks source link

Add metadata to map manifest - sha256sum and estimated data size #62

Open orblivion opened 9 months ago

orblivion commented 9 months ago

In a nutshell, here's how downloads work:

The app has a hard-coded "version" (timestamp) of the latest map data. Basically which "folder" it's in within S3.

The app downloads manifest.json from within this directory, which lists all of the downloadable regions. Right now, each region in the manifest has:


I'd like to add a couple new fields;

Finally, I'd like to hard-code the sha256sum of the manifest file itself into the app, along with the hard-coded "version", so we know the manifest itself hasn't been tampered with.


In the long run we want to update the data without new app versions, in which case we'd switch to signatures on the manifests instead of sha256sums.