Home GnuPG

Search PKCS#15 keys on ldap servers

Description

Search PKCS#15 keys on ldap servers

This needs to be moved in the readerstatus thread later to properly
handle it. The GUI is not the best place for it. But for now
this works, we do a search when we cannot find the keygrip for
the inserted smartcard and if we find a single key we import it
through --recv-key

Details

Provenance
aheineckeAuthored on Apr 29 2021, 5:29 PM
Parents
rKLEOPATRAb5398c4e3217: Import keystubs for PKCS#15 cards
Branches
Unknown
Tags
Unknown
References
refs/keep-around/1e77bdf6df5c190829e79e1548a12f2c0af14939

Event Timeline

werner added inline comments.
/src/view/p15cardwidget.cpp
100

Potential problem here: If you use a global config for the keyserver you won't see the ldap URL here. GnuPG uses a different strategy by advising dirmngr only to considere ldap servers. If there is no ldap server this would be identical to NO_PUBKEY and sufficent as well.