Skip to content

Commit 192339b

Browse files
authored
Merge pull request #248 from setlog/fix/add-missing-docs-for-pr-237
Add missing documentation of pull request 237
2 parents a54b3c4 + 7324c4e commit 192339b

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
@@ -13,6 +13,7 @@
1313
* The same download-related log messages will now be printed at most 5 times (with information about this limit in the last message).
1414
* `hasher` will no longer blindly overwrite an existing bundleinfo.json but instead error out.
1515
* `hasher` will now exit with an error when the `pathToHash` has no files to hash.
16+
* `timestamps.json` is ignored, if it is corrupt.
1617
### Features
1718
* trivrost will log the progress of downloads if the connection was interrupted for any reason.
1819
### 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)