Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

debian repository keys #56

Open
532910 opened this issue Apr 7, 2018 · 4 comments
Open

debian repository keys #56

532910 opened this issue Apr 7, 2018 · 4 comments

Comments

@532910
Copy link

532910 commented Apr 7, 2018

It's better to put .asc or .gpg file into `/etc/apt/trusted.gpg.d``` like

sudo wget -O /etc/apt/trusted.gpg.d/syncthing.asc https://syncthing.net/release-key.txt

instead of apt-key add

curl -s https://syncthing.net/release-key.txt | sudo apt-key add -

man APT-KEY(8):

Note: Instead of using this command a keyring should be placed directly in the /etc/apt/trusted.gpg.d/ directory with a descriptive name and either "gpg" or "asc" as file extension.

@532910
Copy link
Author

532910 commented Oct 6, 2019

Any update?

@532910
Copy link
Author

532910 commented Oct 6, 2019

https://manpages.debian.org/stretch/apt/apt-key.8.en.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895855

https://wiki.debian.org/DebianRepository/UseThirdParty recommends not putting things in /etc/apt/trusted.gpg.d, as that causes apt to cause that key to be trusted to sign all repositories.

@calmh
Copy link
Member

calmh commented Oct 6, 2019

Please feel free to file a fix. The repo is here: https://github.com/syncthing/apt-web

@532910
Copy link
Author

532910 commented Oct 6, 2019

syncthing/apt-web#19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants