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

WKD Support #117

Closed
vsajip opened this issue Mar 26, 2019 · 2 comments
Closed

WKD Support #117

vsajip opened this issue Mar 26, 2019 · 2 comments
Labels
enhancement New feature or request major

Comments

@vsajip
Copy link
Owner

vsajip commented Mar 26, 2019

Original report by Steve Recio (Bitbucket: steverecio, GitHub: steverecio).


Are there plans to support web key directory lookups? Ie. gpg --locate-key torvalds@kernel.org?

@vsajip
Copy link
Owner Author

vsajip commented Mar 27, 2019

You could use the search_keys() and recv_keys() APIs for this. Note that --locate-key is only available in fairly recent versions of GnuPG:

$ gpg2 --version
gpg (GnuPG) 2.1.11
[other output omitted]

$ gpg2 --locate-key torvalds@kernel.org
[no output from gpg, returns instantly]

$ LD_LIBRARY_PATH=~/tmp/lib ~/tmp/bin/gpg --version
gpg (GnuPG) 2.2.14
[other output omitted]

$ LD_LIBRARY_PATH=~/tmp/lib ~/tmp/bin/gpg --locate-key torvalds@kernel.org
gpg: error retrieving 'torvalds@kernel.org' via WKD: No data
gpg: error reading key: No data

No current plans to implement this support myself, but I will look at any proposed patches.

@vsajip
Copy link
Owner Author

vsajip commented Dec 27, 2021

Closing, as no patches received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request major
Projects
None yet
Development

No branches or pull requests

1 participant