numbersprotocol / numbersprotocol/capture-cam
Create a stable and reviewed version of signed message
Open
@shc261392 is already working on this.
Since Jul 12, 2021.
enhancement
help wanted
- Dominant language
- TypeScript
- Stars
- 26
- Forks
- 7
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 10
Description
Concept
Currently, there are two version of signed messages created from Capture App.
Pre 0.34.2 example:
{
"indexedAssets":{
"<the-file-content-encoded-as-base64>":{
"mimeType":"video/mp4"
}
},
"truth":{
"providers":{
"CapacitorFactsProvider":{
"APP_BUILD":"152",
"APP_ID":"io.numbersprotocol.capturelite",
"APP_NAME":"Capture",
"APP_VERSION":"0.32.2",
"BATTERY_LEVEL":0.9599999785423279,
"DEVICE_NAME":"EXODUS 1",
"DISK_FREE":412057600,
"DISK_TOTAL":4225581056,
"GEOLOCATION_LATITUDE":25.005851,
"GEOLOCATION_LONGITUDE":121.4586974,
"IS_CHARGING":true,
"IS_VIRTUAL":false,
"MANUFACTURER":"HTC",
"MEM_USED":5414752,
"OPERATING_SYSTEM":"android",
"OS_VERSION":"9",
"PLATFORM":"android",
"UUID":"16eb24e0fa1f8a28"
}
},
"timestamp":1625213302097
}
}
0.34.2 or later example:
{
"indexedAssets":{
"47af037408a25364f8d18b133fa96ba4afb2b60e53d5329ee629e2a28a8e2bcd":{
"mimeType":"video/mp4"
}
},
"truth":{
"providers":{
"CapacitorFactsProvider":{
"APP_BUILD":"152",
"APP_ID":"io.numbersprotocol.capturelite",
"APP_NAME":"Capture",
"APP_VERSION":"0.32.2",
"BATTERY_LEVEL":0.9599999785423279,
"DEVICE_NAME":"EXODUS 1",
"DISK_FREE":412057600,
"DISK_TOTAL":4225581056,
"GEOLOCATION_LATITUDE":25.005851,
"GEOLOCATION_LONGITUDE":121.4586974,
"IS_CHARGING":true,
"IS_VIRTUAL":false,
"MANUFACTURER":"HTC",
"MEM_USED":5414752,
"OPERATING_SYSTEM":"android",
"OS_VERSION":"9",
"PLATFORM":"android",
"UUID":"16eb24e0fa1f8a28"
}
},
"timestamp":1625213302097
}
}
Reason/Hypothesis
Signature is not something that we'd like to see it changes from time to time. We should make sure the current signature contains all the information we want, and make it stable and lasting.
┆Issue is synchronized with this Asana task by Unito
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.