-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingdocsp3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
https://github.com/cli/cli/blob/trunk/docs/install_linux.md
The umask on my system results in new files with 600 permission. With this permission on /usr/share/keyrings/githubcli-archive-keyring.gpg, running sudo apt update fails:
W: GPG error: https://cli.github.com/packages stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C99B11DEB97541F0
E: The repository 'https://cli.github.com/packages stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Recommend updating documentation to:
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo chmod 644 /usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod 644 /etc/apt/sources.list.d/github-cli.list
sudo apt update
sudo apt install ghwadey, elzibubble, mjmj, bryan-hoang, ccssmnn and 14 moremjmj, ebouye, danilofuchs, davidatjourney and danielbrai
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocsp3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic