Updated documentation.
Improved script verbosity. Locally added second TSA so that commits in this repository will contain two timestamps as an example.
This commit is contained in:
1 parent
e3789a3e3e
commit
86c39dc7c4
3 files changed
+28
-7
No files matched your search
+4
-1
@@ -59,7 +59,10 @@ fi
|
||||
DUMMY_DIGEST=$(echo "0" | git hash-object --stdin)
|
||||
DUMMY_TOKEN="$TMP_DIR"/token.tst
|
||||
|
||||
request_token "$TSA_URL" "$DUMMY_DIGEST" false "$DUMMY_TOKEN"
|
||||
if ! request_token "$TSA_URL" "$DUMMY_DIGEST" false "$DUMMY_TOKEN"; then
|
||||
echo_error "Token request failed, thus the TSA $TSA_URL cannot be added to trusted TSAs."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CERTIFICATES="$TMP_DIR"/certificates.pem
|
||||
build_certificate_chain_for_token "$DUMMY_TOKEN" "$DUMMY_DIGEST" "$TSA_URL" "$CERTIFICATES"
|
||||
|
||||
Reference in new issue
Block a user