Skip to content

Instantly share code, notes, and snippets.

@overdrivemachines
Last active July 19, 2023 22:27
Show Gist options
  • Save overdrivemachines/1dc94e868b2d5241733812e41d4462a6 to your computer and use it in GitHub Desktop.
Save overdrivemachines/1dc94e868b2d5241733812e41d4462a6 to your computer and use it in GitHub Desktop.
GPG Keys

GPG Keys

  • Find link to GPG key online and save it in usr/share/keyrings/ with the command:
wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnpkg.gpg > /dev/null
  • Create yarnpkg.list in etc/apt/sources.list.d/ with the contents:
deb [signed-by=/usr/share/keyrings/yarnpkg.gpg] https://dl.yarnpkg.com/debian/ stable main

=====

Important Directories:

/usr/share/keyrings
/etc/apt/trusted.gpg.d
/etc/apt/sources.list.d

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment