Skip to content

Commit 7324c4e

Browse files
author
Marc-André Aßbrock
committed
Add missing documentation of pull request 237
1 parent 8895197 commit 7324c4e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* The download-speed label now shows a 3 second average.
1313
* `hasher` will no longer blindly overwrite an existing bundleinfo.json but instead error out.
1414
* `hasher` will now exit with an error when the `pathToHash` has no files to hash.
15+
* `timestamps.json` is ignored, if it is corrupt.
1516
### Features
1617
* trivrost will log the progress of downloads if the connection was interrupted for any reason.
1718
### Fixes

docs/security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ To set the timestamp automatically, the shell script [insert_timestamp](../scrip
1919

2020
Please note that you have to set the timestamp in the deployment-config before signing the deployment-config. For the bundle info files, the hasher will automatically set the timestamp in UTC.
2121

22+
If the file `timestamps.json` is corrupt, trivrost will mention it in the log file and behave as if the file does not exist.
23+
2224
# Signing
2325
To sign the deployment-config and bundle info files we use `RSA` with the padding algorithm `PSS`. We use `sha256` as the hashing algorithm for signing. The signatures of the deployment-config have to be stored `base64` encoded. The signatures are saved in separate files with the same url as the original files, but with a `.signature` extension. So the signature for the bundle info file `https://example.com/linux/launcher/bundleinfo.json` has the url `https://example.com/linux/launcher/bundleinfo.json.signature.`
2426

0 commit comments

Comments
 (0)