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

Broken command for sending key to specific public key server #86

Closed
pmotch opened this issue Jan 7, 2019 · 2 comments
Closed

Broken command for sending key to specific public key server #86

pmotch opened this issue Jan 7, 2019 · 2 comments

Comments

@pmotch
Copy link
Contributor

pmotch commented Jan 7, 2019

In the section https://github.com/drduh/YubiKey-Guide#export-public-key I ran into an issue when using the example command for sending the public key to a specific public key server host:

gpg --send-key $KEYID --keyserver pgp.mit.edu
gpg: Note: '--keyserver' is not considered an option
gpg: "--keyserver" not a key ID: skipping
gpg: "pgp.mit.edu" not a key ID: skipping
gpg: sending key 0x90F75EF0DED58298 to hkps://hkps.pool.sks-keyservers.net

I wonder if this is an issue with newer version of GPG perhaps. This may not be an issue for others. It did work when I ran this instead: gpg --send-key --keyserver pgp.mit.edu $KEYID.

@netflash
Copy link
Contributor

netflash commented Jan 7, 2019

Looks like the order of parameters matters here.
try gpg --keyserver pgp.mit.edu --send-key $KEYID

@drduh
Copy link
Owner

drduh commented Jan 7, 2019

Thanks @netflash

@drduh drduh closed this as completed in 3a872d4 Jan 7, 2019
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

No branches or pull requests

3 participants