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

Allow setting keyserver options (like proxy) when using source #1103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tuxmea
Copy link

@tuxmea tuxmea commented Apr 22, 2023

fixes #1102

@tuxmea tuxmea requested a review from a team as a code owner April 22, 2023 13:24
@CLAassistant
Copy link

CLAassistant commented Apr 22, 2023

CLA assistant check
All committers have signed the CLA.

@tuxmea
Copy link
Author

tuxmea commented Apr 23, 2023

fixes #1037

@@ -205,6 +205,9 @@ def create
elsif resource[:source]
key_file = source_to_file(resource[:source])
command.push('add', key_file.path)
unless resource[:options].nil?
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should have some acceptance tests here. source also supports absolute paths to local files and I'm not sure if gpg supports a keyserver option + local file to import.

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

Successfully merging this pull request may close these issues.

apt_key can not deal with options
4 participants