Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPG Download instructions are not working #2240

Open
mrexodia opened this issue Mar 4, 2024 · 2 comments
Open

GPG Download instructions are not working #2240

mrexodia opened this issue Mar 4, 2024 · 2 comments

Comments

@mrexodia
Copy link

mrexodia commented Mar 4, 2024

In the documentation at https://www.zerotier.com/download/ there is a section about import GPG keys for Debian. It looks like the branch got renamed from master to main, so these instructions do not work.

@mrexodia mrexodia changed the title Download instructions are not working GPG Download instructions are not working Mar 4, 2024
@monnoval
Copy link

monnoval commented Mar 6, 2024

Had the same issue just now
Tested in fresh install of Proxmox 8.1 / Debian 12, see part of the error below

gpg: Total number processed: 1
gpg:              unchanged: 1
-bash:  : command not found
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: Signature made Tue 31 Oct 2023 03:07:38 AM +08
gpg:                using RSA key 74A5E9C458E1A431F1DA57A71657198823E52A61
gpg:                issuer "contact@zerotier.com"
gpg: Good signature from "ZeroTier, Inc. (ZeroTier Support and Release Signing Key) <contact@zerotier.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.

@thatnerdjosh
Copy link

Hello - I noticed this issue as well @mrexodia and @monnoval - GitHub will actually redirect the links properly (see for example the https://github.com/zerotier/docs repo, it has references to master branch all over) :)

Not sure where Zerotier maintains their website, is that open source? Happy to make a PR with the fix, if so.

Otherwise, here is the solution - the issue was that the GPG key name was renamed from contact@www.zerotier.com.gpg to contact@zerotier.com.gpg:

curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import && \  
if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi

In the meantime until the docs are updated, this should be an acceptable workaround. The branch naming change is optional ofc, but I personally don't like relying on a redirect from GitHub.

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

No branches or pull requests

3 participants