Skip to content

New PGP signing key for Yarn v1 Classic #2364

@MikeMcC399

Description

@MikeMcC399

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 yarn

This 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions