Skip to content
/ wkdgrab Public

Find & download Web Key Directory-hosted GPG keys associated with a given email address

License

Notifications You must be signed in to change notification settings

entrez/wkdgrab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

wkdgrab

Check for (& import!) Web Key Directory-hosted GPG keys associated with a given email address. For more information, see this memo.

Usage

wkdgrab.py [-iv] [-x <gpg-path>] user@domain.com

Options

Argument Description
-i, --import Automatically import new keys into gpg without prompting the user
-v, --verbose Print more detailed information about progress and results
-x <gpg-path>, --gpg-executable <gpg-path> Make calls to <gpg-path>, in lieu of gpg (potentially useful if your installation of gpg is not in your $PATH, for example)

Example

$ wkdgrab -v me@entrez.cc
https://openpgpkey.entrez.cc/.well-known/openpgpkey/entrez.cc/hu/s8y7oh5xrdpu9psba3i5ntk64ohouhga?l=me
trying server... can't find dns records for server openpgpkey.entrez.cc
https://entrez.cc/.well-known/openpgpkey/hu/s8y7oh5xrdpu9psba3i5ntk64ohouhga?l=me
trying server... success!
successfully retrieved public key from https://entrez.cc/.well-known/openpgpkey/hu/s8y7oh5xrdpu9psba3i5ntk64ohouhga?l=me
saved public key to me@entrez.cc.key
import key in gpg? (yes/no) yes
successfully added key to your keychain

About

Find & download Web Key Directory-hosted GPG keys associated with a given email address

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages