Diffusion GnuPG c9677d416e6f

keyboxd: Add basic support for X.509.

Authored by werner on Sep 10 2020, 12:50 PM.

Description

keyboxd: Add basic support for X.509.

* kbx/keybox-blob.c (x509_email_kludge): Rename to ...
(_keybox_x509_email_kludge): this and make global.
* kbx/backend.h: Include ksba.h.
* kbx/backend-support.c (be_get_x509_serial): New.
(be_get_x509_keygrip): New.
* kbx/backend-sqlite.c (table_definitions): New table 'issuers'.
(run_select_statement): Implements modes ISSUER, ISSUER_SN, SUBJECT.
(store_into_userid): Add arg override_mbox.
(store_into_issuer): New.
(be_sqlite_store): Implement x509 part.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerSep 10 2020, 12:50 PM
Parents
rG6fcc263c182f: keyboxd: Use D-lines instead of a separate thread.
Branches
Unknown
Tags
Unknown