Skip to content

Commit 586f4da

Browse files
committed
Clarify behavior when timestamps.json is corrupt
1 parent 4145c24 commit 586f4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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.
22+
If the file `timestamps.json` is corrupt, trivrost will mention this in the log file and behave as if the file was missing, i.e. assume that it is being launched for the first time for the given vendor and product name combination.
2323

2424
# Signing
2525
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.`

0 commit comments

Comments
 (0)