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

pull archive keyring out of global trust path #21

Merged
merged 1 commit into from Jun 1, 2018
Merged

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Feb 15, 2018

The repository instructions have been changed to avoid writing third-party keyring files to the global trust anchors (in /etc/apt/trusted-gpg.d) and instead write those to a more neutral location (/usr/share/keyrings, alongside other keyring files).

The downside of this change is that the key fingerprint isn't validated directly through this process. But considering that validation of the key is anchored through HTTPS validation in the first place, we do not really lose anything by moving that to the .gpg file transfer: that file's integrity is still checked through HTTPS. Furthermore, not storing the explicit fingerprint here will make future key rotations easier as they will not require documentation updates.

Note that this change will also require a change in the grml-debian-keyring package to install the keyring file in the new location. If that package does not install a .sources or .list file, that move will also break existing configurations, so a NEWS entry might be in order as well.

This is a followup for #13.

The [repository instructions](https://wiki.debian.org/RepositoryInstructions) have been changed to avoid writing third-party keyring files to the global trust anchors (in `/etc/apt/trusted-gpg.d`) and instead write those to a more neutral location (`/usr/share/keyrings`, alongside other keyring files).

The downside of this change is that the key fingerprint isn't validated directly through this process. But considering that validation of the key is anchored through HTTPS validation in the first place, we do not *really* lose anything by moving that to the `.gpg` file transfer: that file's integrity is still checked through HTTPS. Furthermore, not storing the explicit fingerprint here will make future key rotations easier as they will not require documentation updates.

Note that this change will also require a change in the `grml-debian-keyring` package to install the keyring file in the new location. If that package does not install a `.sources` or `.list` file, that move will also break existing configurations, so a NEWS entry might be in order as well.
anarcat added a commit to anarcat/grml-debian-keyring that referenced this pull request Feb 15, 2018
The [repository instructions][1] have been changed to avoid writing
third-party keyring files to the global trust anchors (in
`/etc/apt/trusted-gpg.d`) and instead write those to a more neutral
location (`/usr/share/keyrings`, alongside other keyring files).

[1]: https://wiki.debian.org/RepositoryInstructions

The downside of this change is that the key fingerprint isn't
validated directly through this process. But considering that
validation of the key is anchored through HTTPS validation in the
first place, we do not *really* lose anything by moving that to the
`.gpg` file transfer: that file's integrity is still checked through
HTTPS. Furthermore, not storing the explicit fingerprint here will
make future key rotations easier as they will not require
documentation updates.

Note that this change will also require a change in the
`grml-debian-keyring` package to install the keyring file in the new
location. If that package does not install a `.sources` or `.list`
file, that move will also break existing configurations, so a NEWS
entry might be in order as well.

This is related to the [proposed website documentation change][2]

[2]: grml/grml.org#21
@anarcat
Copy link
Contributor Author

anarcat commented Feb 15, 2018

and grml/grml-debian-keyring#3 is the related change to the keyring thing.

@mika mika merged commit f020a45 into grml:master Jun 1, 2018
@mika
Copy link
Member

mika commented Jun 1, 2018

Pushed, thanks! 👍

@anarcat anarcat deleted the patch-1 branch June 3, 2018 14:18
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.

None yet

2 participants