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 #74

Closed
wants to merge 18 commits into from

Conversation

j-rivero
Copy link
Contributor

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

Tested in: Build Status

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]>
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