doc: update README with SHASUMS256.txt.sig info · nodejs/node@988eec3

@@ -134,12 +134,12 @@ $ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -

134134

_(Where "node-vx.y.z.tar.gz" is the name of the file you have

135135

downloaded)_

136136137-

Additionally, Current and LTS releases (not Nightlies) have GPG signed

138-

copies of SHASUMS256.txt files available as SHASUMS256.txt.asc. You can use

139-

`gpg` to verify that the file has not been tampered with.

137+

Additionally, Current and LTS releases (not Nightlies) have the GPG

138+

detached signature of SHASUMS256.txt available as SHASUMS256.txt.sig.

139+

You can use `gpg` to verify that SHASUMS256.txt has not been tampered with.

140140141-

To verify a SHASUMS256.txt.asc, you will first need to import all of

142-

the GPG keys of individuals authorized to create releases. They are

141+

To verify SHASUMS256.txt has not been altered, you will first need to import

142+

all of the GPG keys of individuals authorized to create releases. They are

143143

listed at the bottom of this README under [Release Team](#release-team).

144144

Use a command such as this to import the keys:

145145

@@ -150,10 +150,17 @@ $ gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C2

150150

_(See the bottom of this README for a full script to import active

151151

release keys)_

152152153-

You can then use `gpg --verify SHASUMS256.txt.asc` to verify that the

154-

file has been signed by an authorized member of the Node.js team.

153+

Next, download the SHASUMS256.txt.sig for the release:

155154156-

Once verified, use the SHASUMS256.txt.asc file to get the checksum for

155+

```console

156+

$ curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt.sig

157+

```

158+159+

After downloading the appropriate SHASUMS256.txt and SHASUMS256.txt.sig files,

160+

you can then use `gpg --verify SHASUMS256.txt.sig SHASUMS256.txt` to verify

161+

that the file has been signed by an authorized member of the Node.js team.

162+163+

Once verified, use the SHASUMS256.txt file to get the checksum for

157164

the binary verification command above.

158165159166

## Building Node.js