diff --git a/commandline.c b/commandline.c index 74ed1da3..b8e1e469 100644 --- a/commandline.c +++ b/commandline.c @@ -2614,9 +2614,9 @@ struct cli_schema command_line_options[]={ "Return identity(s) as URIs of own node, or of known routable peers, or all known peers"}, {app_id_pin, {"id", "enter", "pin", "", NULL}, 0, "Unlock any pin protected identities and enable routing packets to them"}, - {app_revoke_pin, {"id", "revoke", "pin", "", NULL}, 0, + {app_revoke_pin, {"id", "relinquish", "pin", "", NULL}, 0, "Unload any identities protected by this pin and drop all routes to them"}, - {app_revoke_pin, {"id", "revoke", "sid", "", NULL}, 0, + {app_revoke_pin, {"id", "relinquish", "sid", "", NULL}, 0, "Unload a specific identity and drop all routes to it"}, {app_route_print, {"route","print",NULL}, 0, "Print the routing table"}, diff --git a/tests/keyring b/tests/keyring index 4c93ff67..dc4ff125 100755 --- a/tests/keyring +++ b/tests/keyring @@ -235,13 +235,13 @@ test_KeyringEntryPinServer() { assertStdoutGrep --fixed-strings "$ONE" assertStdoutGrep --fixed-strings "$TWOA" assertStdoutGrep --fixed-strings "$TWOB" - executeOk_servald id revoke pin 'one' + executeOk_servald id relinquish pin 'one' executeOk_servald id self assertStdoutLineCount == 3 assertStdoutGrep --fixed-strings "$SIDA" assertStdoutGrep --fixed-strings "$TWOA" assertStdoutGrep --fixed-strings "$TWOB" - executeOk_servald id revoke sid "$TWOB" + executeOk_servald id relinquish sid "$TWOB" tfw_cat --stderr executeOk_servald id self assertStdoutLineCount == 2 diff --git a/tests/routing b/tests/routing index 0ecd82b1..8b15cbbd 100755 --- a/tests/routing +++ b/tests/routing @@ -164,7 +164,7 @@ test_unlock_ids() { executeOk_servald id enter pin 'entry-pin' wait_until has_link +B +A +A $SIDA $SIDX set_instance +A - executeOk_servald id revoke pin 'entry-pin' + executeOk_servald id relinquish pin 'entry-pin' set_instance +B wait_until --timeout=30 sid_offline $SIDX }