From 6b1dc42c210a1993bc64d61e6625639696073fcd Mon Sep 17 00:00:00 2001 From: Jesse Pinho Date: Tue, 28 May 2024 21:57:00 -0700 Subject: [PATCH] Add instructions to keys README for creating sha sums of keys (#1196) --- packages/keys/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/keys/README.md b/packages/keys/README.md index dfdc4e2a46..cd2bfcb5b6 100644 --- a/packages/keys/README.md +++ b/packages/keys/README.md @@ -78,3 +78,12 @@ In any workspace where this package is installed, you can use Which will acquire the default keys and display checksum validation, if a key manifest is already present. You can further specify a version and custom manifest file. + +#### Updating the keys + +If new keys are released by core, change the `defaultKeysVersion` variable in the `download-keys` script to the new version of the keys. Then: + +1. Run the `download-keys` script (per the instructions above) +2. `cd keys` +3. `shasum -a 256 *.bin > ../shasums/vX.X.X.shasum` (change `vX.X.X` to the actual version number of the keys) +4. Commit your changes.