[go: up one dir, main page]

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

Add keyring permissions #408

Closed
wants to merge 1 commit into from

Conversation

digitalsparky
Copy link

Fixes install instructions to correct file permissions on the Caddy GPG key - required; otherwise you'll get the following error:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ...

Fixes install instructions to correct file permissions on the Caddy GPG key - required; otherwise you'll get the following error:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ...
Copy link
Member
@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand why this is needed. In what situation does it not already get written with those permissions? They default to 644 which is sufficient.

@@ -71,6 +72,7 @@ After installing, please read the [service usage instructions](/docs/running#usi
<pre><code class="cmd"><span class="bash">sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl</span>
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg</span>
<span class="bash">curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list</span>
<span class="bash">chmod 664 /usr/share/keyrings/caddy-stable-archive-keyring.gpg</span>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<span class="bash">chmod 664 /usr/share/keyrings/caddy-stable-archive-keyring.gpg</span>
<span class="bash">chmod 664 /usr/share/keyrings/caddy-testing-archive-keyring.gpg</span>

@francislavoie
Copy link
Member

Could you follow up on this please @digitalsparky ?

@francislavoie
Copy link
Member

Closing as inactive.

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

Successfully merging this pull request may close these issues.

2 participants