mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
added json pubkey import
This commit is contained in:
@@ -91,8 +91,15 @@ void pcptext_key(char *keyid) {
|
||||
else {
|
||||
pcp_pubkey_t *p = pcphash_pubkeyexists(ptx, keyid);
|
||||
if(p != NULL) {
|
||||
if(debug)
|
||||
if(debug) {
|
||||
pcp_dumppubkey(p);
|
||||
pcp_keysig_t *s = pcphash_keysigexists(ptx, keyid);
|
||||
if(s != NULL) {
|
||||
printf("\n");
|
||||
pcp_dumpkeysig(s);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
pcppubkey_print(p, stdout);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user