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

Replace apt-key with keyring installation (take II) #75

Merged
merged 12 commits into from
Dec 12, 2023

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Dec 7, 2023

Second take of #74. Reproducing the text here:

As the apt-key man pages recommends, this PR removes the use of it and replaces it with a Signed-By clause that points to a download gpg key.

The PR adds the key_url field to yaml to store the URI to grab the key from. The keyfield is still preserve to check that the key stored has the expected fringerprint to improve the security.

The tool will replace:

  • Automatically the files under /etc/apt/config.d/sources.list.d/_gzdev_ files if they exist with a new one using the signed-by clause.
  • Previous gzdev installation of gpg keys inside /usr/share/keyring

The tool will not replace:

  • Any key authorized before using apt-key or other method.

Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
@j-rivero
Copy link
Contributor Author

j-rivero commented Dec 7, 2023

Testing: Build Status

Signed-off-by: Jose Luis Rivero <[email protected]>
@j-rivero
Copy link
Contributor Author

Another round of tests in Build Status

@j-rivero j-rivero merged commit 54525bc into master Dec 12, 2023
2 checks passed
@j-rivero j-rivero deleted the jrivero/keyring_implementation_2 branch December 12, 2023 19:22
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.

1 participant