Reputation: 5211
While attempting to set up fastlane for my iOS application, I encountered challenges while installing RVM.
My command is
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561*************
Upvotes: 13
Views: 25706
Reputation: 136
gpg --armor --export ___YOUR_KEY_HERE____ | pbcopy
curl --location 'http://keyserver.ubuntu.com/pks/add' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'keytext=__PASTE_HERE__'
Upvotes: 0
Reputation: 443
Ik it's late but for future references
rvm mentioned alternative servers on there website you can use any of them. Mentioned servers as of now are below ones
hkp://ipv4.pool.sks-keyservers.net
hkp://pgp.mit.edu
hkp://keyserver.pgp.com
Check list here: https://rvm.io/rvm/security
Upvotes: 0
Reputation: 5962
TL;DR; The list of key servers is unstable and some of them are not pingeable at all. Here's a way of finding an available server
I've tried different key servers and got a
gpg: keyserver receive failed: No route to host
or a gpg: keyserver receive failed: Operation timed out
You have to find a server that's up and running correctly
gpg-connect-agent --dirmngr 'keyserver --hosttable'
to get the list of available serversgpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C2………………6956105BD0E739499BDB
and instead of hkp://pool.sks...
try few of the servers URLsrc: https://nrogap.medium.com/install-rvm-in-macos-step-by-step-d3b3c236953b
Upvotes: 6
Reputation: 5211
Please use
hkp://ipv4.pool.sks-keyservers.net
instead of
hkp://keys.gnupg.net
type this command
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113************* 7D2BAF1CF37B13E2069D69561*************
Upvotes: 40