That said, I'm not sure that the fix is as simple as compiling with gpgkeys_ldap and gpgkeys_hkp. I have installed the libldap2-dev package, and I can see the following in the output from "./configure" on the latest (1.4.9) GPG source:
checking whether LDAP via "-lldap" is present and sane... yes checking for ldap_get_option... yes checking for ldap_set_option... yes checking for ldap_start_tls_s... yes checking for ldap_start_tls_sA... no checking whether HKP keyserver support is requested... yes Having built and installed GPG from source with (AFAICT) LDAP and HKP enabled, I can use gpg from the CLI to send my key to an HKP server: $ gpg --send-keys DXXXXXXX gpg: sending key DXXXXXXX to hkp server keys.gnupg.net ... but GPA still crashes with "Invalid argument". -- Error while uploading keys to keyservers https://bugs.launchpad.net/bugs/192112 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs