docs+scripts: switch to detached signatures
Due to a misunderstanding of how the gpg command line options work, we didn't actually create detached signatures because the --clear-sign flag would overwrite that. We update our verification script to now only download the detached signatures and verify them against the main manifest file. We also update the signing instructions.
This commit is contained in:
3 files changed
+42
-37
No files matched your search
@@ -73,10 +73,10 @@ jobs:
|
||||
curl https://keybase.io/roasbeef/pgp_keys.asc | gpg --import
|
||||
```
|
||||
|
||||
Once you have the required PGP keys, you can verify the release (assuming `manifest-roasbeef-${{ env.RELEASE_VERSION }}.txt.asc` is in the current directory) with:
|
||||
Once you have the required PGP keys, you can verify the release (assuming `manifest-roasbeef-${{ env.RELEASE_VERSION }}.sig` and `manifest-${{ env.RELEASE_VERSION }}.txt` are in the current directory) with:
|
||||
|
||||
```
|
||||
gpg --verify manifest-roasbeef-${{ env.RELEASE_VERSION }}.txt.asc
|
||||
gpg --verify manifest-roasbeef-${{ env.RELEASE_VERSION }}.sig manifest-${{ env.RELEASE_VERSION }}.txt
|
||||
```
|
||||
|
||||
You should see the following if the verification was successful:
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
Assuming you have the opentimestamps client installed locally, the timestamps can be verified with the following commands:
|
||||
```
|
||||
ots verify manifest-roasbeef-${{ env.RELEASE_VERSION }}.txt.asc.ots -f manifest-roasbeef-${{ env.RELEASE_VERSION }}.txt.asc
|
||||
ots verify manifest-roasbeef-${{ env.RELEASE_VERSION }}.sig.ots -f manifest-roasbeef-${{ env.RELEASE_VERSION }}.sig
|
||||
```
|
||||
|
||||
Alternatively, [the open timestamps website](https://opentimestamps.org/) can be used to verify timestamps if one doesn't have a `bitcoind` instance accessible locally.
|
||||
|
||||
Reference in new issue
Block a user