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
gpg: keyserver receive failed: No route to host #18
Comments
@yegor256 please, pay attention to this issue |
I tested it locally and checked that the solution works. I'd create a pull request but I had an issue running rake:
I'm not a ruby developer so it would take too much time to find out what's happenning. |
@rultor release, tag is |
@jachinte @yegor256 Oops, I failed. You can see the full log here (spent 2min)
|
@rultor release, tag is |
Oops! Job |
Hi,
I'm trying to encrypt a file but the rultor CLI fails. It seems like rultor is trying to execute
gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
, but it fails with the error messagegpg: keyserver receive failed: No route to host
. I did a quick search; the error goes away when you add ipv4:gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
, which produces:Here is the complete output:
Home: /Users/--/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
gpg: using cipher AES
gpg: writing to '/var/folders/k0/7f_5tyms21b_1gcx01wfrp2h0000gn/T/rultor-XXXX.H7GRKDt2'
gpg: keyserver receive failed: No route to host
/usr/local/lib/ruby/gems/2.4.0/gems/rultor-0.4.3/lib/rultor/encrypt.rb:55:in
run': PGP encryption failed (RuntimeError) from /usr/local/lib/ruby/gems/2.4.0/gems/rultor-0.4.3/bin/rultor:48:in
block (3 levels) in <top (required)>'from /usr/local/lib/ruby/gems/2.4.0/gems/slop-3.6.0/lib/slop.rb:260:in
parse!' from /usr/local/lib/ruby/gems/2.4.0/gems/slop-3.6.0/lib/slop.rb:235:in
parse!'from /usr/local/lib/ruby/gems/2.4.0/gems/slop-3.6.0/lib/slop.rb:65:in
parse!' from /usr/local/lib/ruby/gems/2.4.0/gems/slop-3.6.0/lib/slop.rb:54:in
parse'from /usr/local/lib/ruby/gems/2.4.0/gems/rultor-0.4.3/bin/rultor:39:in
<top (required)>' from /usr/local/bin/rultor:22:in
load'from /usr/local/bin/rultor:22:in `'
I'm running rultor 0.4.3, gpg 2.1.21, mac 10.12.6
The text was updated successfully, but these errors were encountered: