From dfb1e1c4a26c2b04d6a8b679dde1a95408e816a2 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 7 May 2014 21:28:36 +0100 Subject: Added help for shared secret and question answer otr verification --- src/command/command.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/command') diff --git a/src/command/command.c b/src/command/command.c index d7a60495..9fc7f9e5 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -595,13 +595,13 @@ static struct cmd_t command_defs[] = { "/otr", cmd_otr, parse_args, 1, 3, NULL, - { "/otr gen|myfp|theirfp|start|end|trust|untrust|log|warn|libver|policy", "Off The Record encryption commands.", - { "/otr gen|myfp|theirfp|start|end|trust|untrust|log|warn|libver|policy", - "--------------------------------------------------------------------", + { "/otr gen|myfp|theirfp|start|end|trust|untrust|log|warn|libver|policy|secret|question|answer", "Off The Record encryption commands.", + { "/otr gen|myfp|theirfp|start|end|trust|untrust|log|warn|libver|policy|secret|question|answer", + "-------------------------------------------------------------------------------------------", "gen - Generate your private key.", "myfp - Show your fingerprint.", "theirfp - Show contacts fingerprint.", - "start - Start an OTR session with the contact, or the current recipient if in a chat window and no argument supplied.", + "start [contact] - Start an OTR session with the contact, or the current recipient if in a chat window and no argument supplied.", "end - End the current OTR session,", "trust - Indicate that you have verified the contact's fingerprint.", "untrust - Indicate the the contact's fingerprint is not verified,", @@ -609,6 +609,9 @@ static struct cmd_t command_defs[] = "warn - Show when unencrypted messaging is being used in the title bar, options are 'on' and 'off' with 'on' being the default.", "libver - Show which version of the libotr library is being used.", "policy - manual, opportunistic or always.", + "secret [secret]- Verify a contacts identity using a shared secret.", + "question [question] [answer] - Verify a contacts identity using a question and expected anwser, if the question has spaces, surround with double quotes.", + "answer [anwser] - Respond to a question answer verification request with your answer.", NULL } } }, { "/outtype", -- cgit 1.4.1-2-gfad0