gpg: WARNING: --honor-http-proxy is a deprecated option. gpg: please use "--keyserver-options honor-http-proxy" instead gpg: D61B227D: There is no indication that this key really belongs to the owner gpg: cannot open /dev/tty: No such device or address the first one can be fixed by removing/commenting out the #honor-http-proxy option in the ~/.gnupg/options file the /dev/tty problem can be fixed by appending --always-trust to the command line, because gpg tries to ask for a passphrase or something to approve the use of an untusted key.