If we fetch keys from a lower level of the stacked backends then run
the clean functions before trying to store them in the top level.
#include <stdio.h>
#include <string.h>
+#include "cleankey.h"
#include "decodekey.h"
#include "hash.h"
#include "keydb.h"
(struct onak_dbctx *) privctx->backends->object;
struct openpgp_publickey *curkey;
+ cleankeys(publickey);
/*
* If we walked the stack at all, store the key in the first
* backend if configured to do so. It's not an update as we