mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 05:56:21 +00:00
OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)
Discovering Public Keys via PEP * 4.3 Discovering Public Keys of a User * 4.4 Requesting Public Keys * Import Public Keys into GnuPG's local keyring. Issue: #1331
This commit is contained in:
committed by
Michael Vetter
parent
ec6b61c2bb
commit
0552e50c78
@@ -7545,6 +7545,18 @@ cmd_ox(ProfWin* window, const char* const command, gchar** args)
|
||||
} else {
|
||||
cons_show("Filename is required");
|
||||
}
|
||||
} else if (g_strcmp0(args[0], "discover") == 0) {
|
||||
if (args[1]) {
|
||||
ox_discover_public_key(args[1]);
|
||||
} else {
|
||||
cons_show("JID is required");
|
||||
}
|
||||
} else if (g_strcmp0(args[0], "request") == 0) {
|
||||
if (args[1] && args[2]) {
|
||||
ox_request_public_key(args[1], args[2]);
|
||||
} else {
|
||||
cons_show("JID and Fingerprint is required");
|
||||
}
|
||||
} else {
|
||||
cons_show("OX not implemented");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user