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 the ability to add keys via --recv-keys #67

Open
damacus opened this issue Jan 26, 2022 · 0 comments
Open

Add the ability to add keys via --recv-keys #67

damacus opened this issue Jan 26, 2022 · 0 comments
Labels
Feature Request Enhancement to existing functionality or new functionality

Comments

@damacus
Copy link
Member

damacus commented Jan 26, 2022

πŸ‘ Problem Statement

It is not currently possible to add keys to GPG via the --recv-keys option.

❔ Possible Solution

  • Add a :receive_keys action & property to gpg_key
  • GPG command needs to optionally accept --keyserver (or have a default to gnupgkeys.net)

‴️ Describe alternatives you've considered

  • Not doing it
  • Continue shelling out e.g.
  execute 'Adding gpg key' do
   command "`which gpg2 || which gpg` --keyserver #{key_server} --homedir #{home_dir} --recv-keys #{new_resource.gpg_key}"
   only_if 'which gpg2 || which gpg'
 end

βž• Additional context

@damacus damacus added the Feature Request Enhancement to existing functionality or new functionality label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Enhancement to existing functionality or new functionality
Projects
None yet
Development

No branches or pull requests

1 participant