mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fixed json secret key export (now export the whole encrypted blob, since only that blob is being used to parse the key). added support to import json secret keys
This commit is contained in:
@@ -271,6 +271,7 @@ json_t *pcp_sk2json(pcp_key_t *sk, byte *sig,size_t siglen);
|
||||
json_t *pcp_pk2json(pcp_pubkey_t *pk);
|
||||
|
||||
pcp_ks_bundle_t *pcp_import_pub_json(PCPCTX *ptx, byte *raw, size_t rawsize);
|
||||
Buffer *pcp_import_secret_json(PCPCTX *ptx, Buffer *json);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user