aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-06-04 16:02:02 +0000
committerWerner Koch <[email protected]>2024-06-04 16:02:02 +0000
commit068ebb6f1eee37d31f5ffb44b7f8069d9ca3f7b8 (patch)
tree611fa23afeb632ad19f9543d95382342f282e4dc /g10/main.h
parentgpg: Rename functions with an "fprint" part to "fpr" (diff)
downloadgnupg-068ebb6f1eee37d31f5ffb44b7f8069d9ca3f7b8.tar.gz
gnupg-068ebb6f1eee37d31f5ffb44b7f8069d9ca3f7b8.zip
gpg: Implement the LDAP AKL method.
* g10/keyserver.c (keyserver_import_mbox): Add arg flags and change callers. (keyserver_import_ldap): Remove. It has always returned a not implemented error since 2.1. * g10/getkey.c (get_pubkey_byname): Repurpose LDAP to do basically the same as KEYSERVER. -- The old LDAP mechanism to locate a server via SRV records has long been gone (since 2014) due to the dropping of the keyserver helpers. The new purpose better reflects reality and can be used in environments where keys are provided by an in-house LDAP server.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 2443aa7fe..7ce8b9a9c 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -327,6 +327,7 @@ gpg_error_t make_backsig (ctrl_t ctrl,
PKT_signature *sig, PKT_public_key *pk,
PKT_public_key *sub_pk, PKT_public_key *sub_psk,
u32 timestamp, const char *cache_nonce);
+void keygen_prepare_new_key_adsks (void);
gpg_error_t generate_subkeypair (ctrl_t ctrl, kbnode_t keyblock,
const char *algostr,
const char *usagestr,