| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0b2d548 commit 988eec3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -134,12 +134,12 @@ $ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c - | |||
| 134 | 134 | _(Where "node-vx.y.z.tar.gz" is the name of the file you have | |
| 135 | 135 | downloaded)_ | |
| 136 | 136 | ||
| 137 | - 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. | ||
| 140 | 140 | ||
| 141 | - 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 | ||
| 143 | 143 | listed at the bottom of this README under [Release Team](#release-team). | |
| 144 | 144 | Use a command such as this to import the keys: | |
| 145 | 145 | ||
@@ -150,10 +150,17 @@ $ gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C2 | |||
| 150 | 150 | _(See the bottom of this README for a full script to import active | |
| 151 | 151 | release keys)_ | |
| 152 | 152 | ||
| 153 | - 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: | ||
| 155 | 154 | ||
| 156 | - 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 | ||
| 157 | 164 | the binary verification command above. | |
| 158 | 165 | ||
| 159 | 166 | ## Building Node.js | |
| Back | FazBrowse Home | New Git URL |
0 commit comments