Skip to content

Commit 8eecd8a

Browse files
MylesBorinstargos
authored andcommitted
doc: update signature algorithm in release doc
Updated doc to reflect what is now done in tools/release.sh PR-URL: #30673 Reviewed-By: Rod Vagg <[email protected]>
1 parent 0433ed4 commit 8eecd8a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/releases.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -577,14 +577,14 @@ however.
577577
computer.
578578

579579
**e.** Sign the `SHASUMS256.txt` file using a command similar to: `gpg
580-
--default-key YOURKEY --clearsign /path/to/SHASUMS256.txt`. You will be prompted
581-
by GPG for your password. The signed file will be named `SHASUMS256.txt.asc`.
580+
--default-key YOURKEY --digest-algo SHA256 --clearsign /path/to/SHASUMS256.txt`.
581+
You will be prompted by GPG for your password. The signed file will be named
582+
SHASUMS256.txt.asc.
582583

583584
**f.** Output an ASCII armored version of your public GPG key using a command
584-
similar to: `gpg --default-key YOURKEY --armor --export --output
585-
/path/to/SHASUMS256.txt.gpg`. This does not require your password and is mainly
586-
a convenience for users, although not the recommended way to get a copy of your
587-
key.
585+
similar to: `gpg --default-key YOURKEY --digest-algo SHA256 --detach-sign /path/to/SHASUMS256.txt`.
586+
You will be prompted by GPG for your password. The signed file will be named
587+
SHASUMS256.txt.sig.
588588

589589
**g.** Upload the `SHASUMS256.txt` files back to the server into the release
590590
directory.
@@ -594,8 +594,8 @@ release, you should re-run `tools/release.sh` after the ARM builds have
594594
finished. That will move the ARM artifacts into the correct location. You will
595595
be prompted to re-sign `SHASUMS256.txt`.
596596

597-
It is possible to only sign a release by running `./tools/release.sh -s
598-
vX.Y.Z`.
597+
**It is possible to only sign a release by running `./tools/release.sh -s
598+
vX.Y.Z`.**
599599

600600
### 14. Check the Release
601601

0 commit comments

Comments
 (0)