mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
kbx: Add first version of STORE command to keyboxd.
* kbx/Makefile.am (keyboxd_CFLAGS): -DKEYBOX_WITH_X509. (keyboxd_LDADD): Add libksba. * kbx/kbxserver.c (cmd_store): New. * kbx/frontend.c (kbxd_store): New. * kbx/backend-support.c (is_x509_blob): New. (be_fingerprint_from_blob): New. * kbx/backend-kbx.c (be_kbx_seek): Add args FPR and FPRLEN. (be_kbx_insert): New. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
61765136cf
commit
c7293a4d12
8 changed files with 324 additions and 20 deletions
|
@ -31,6 +31,8 @@ void kbxd_release_session_info (ctrl_t ctrl);
|
|||
gpg_error_t kbxd_search (ctrl_t ctrl,
|
||||
KEYDB_SEARCH_DESC *desc, unsigned int ndesc,
|
||||
int reset);
|
||||
gpg_error_t kbxd_store (ctrl_t ctrl, const void *blob, size_t bloblen,
|
||||
int only_update);
|
||||
|
||||
|
||||
#endif /*KBX_FRONTEND_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue