keyboxd: Add ephemeral and revoked flag to the sqlite backend.
* kbx/backend-support.c (be_return_pubkey): Add args is_ephemeral and is_revoked. Adjust callers. * kbx/backend-sqlite.c: Alter table pubkey to add new columns. (run_select_statement): Add new column to all selects. (be_sqlite_search): Return the new flags.
For existing test databases the new column can be added with:
alter table pubkey add ephemeral integer not null default 0; alter table pubkey add revoked integer not null default 0;
- Signed-off-by: Werner Koch <wk@gnupg.org>