-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Problem
After an issue with key expiry for Yarn v1 Classic, the source repo yarnpkg/yarn#9218 announced a new GPG key with the statement:
During the transition period, the public key at http://dl.yarnpkg.com/debian/pubkey.gpg will contain both the old and the new key. Eventually, the old key will be revoked and only the new key will be in use.
Old key: 72ECF46A56B4AD39C907BBB71646B01B86E50310
New key: 4EF8150F4F2D7DE44F1DFF0BB42879CC6B38E118
This repo uses the key 6A010C5166006599AA17F08146C2130DFD2497F5 stored in keys/yarn.keys.
The main discussion in the Yarn repo was about using the instructions from https://classic.yarnpkg.com/en/docs/install#debian-stable:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /etc/apt/keyrings/yarn-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/yarn-archive-keyring.gpg] https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarnThis is not the way that this repo uses to install Yarn and the key 6A010C5166006599AA17F08146C2130DFD2497F5 continues to work here, so possibly no change is needed in this repo.
Solution
Review and update keys/yarn.keys as necessary.
Alternatives to Consider
See also #2264