Page MenuHome GnuPG

hkps support is broken
Closed, ResolvedPublic

Description

Make sure you have a hkps keyserver set in ~/.gnupg/gpg.conf :

keyserver hkps://hkps.pool.sks-keyservers.net

[~]> gpg --version
gpg (GnuPG) 2.1.2
libgcrypt 1.6.2
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.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

[~]> gpg2 -vvvv --recv-key 1e42b367
gpg: using character set 'utf-8'
gpg: keyserver receive failed: General error

[~]> dirmngr
dirmngr[7485.0]: error opening '/home/ismail/.gnupg/dirmngr_ldapservers.conf':
No such file or
directory
dirmngr[7485.0]: permanently loaded certificates: 0
dirmngr[7485.0]: runtime cached certificates: 0

  1. Home: ~/.gnupg
  2. Config: /home/ismail/.gnupg/dirmngr.conf

OK Dirmngr 2.1.2 at your service
keyserver --help
S # Known schemata:
S # hkp
S # hkps
S # http
S # finger
S # kdns
S # (Use an URL for engine specific help.)
OK

This is broken since the gnupg 2.1 update on openSUSE Tumbleweed x86-64.

Event Timeline

We fixed some things related to this in 2.1.3.
(2.1.4 will be released tomorrow)

I forgot to update this issue, 2.1.3 already fixed it. Thanks!

donmez claimed this task.