diff options
author | James Booth <boothj5@gmail.com> | 2014-05-07 21:28:36 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-05-07 21:28:36 +0100 |
commit | dfb1e1c4a26c2b04d6a8b679dde1a95408e816a2 (patch) | |
tree | eaa05847fa83d6c2e172f181f99a90acfbd39b5a | |
parent | c6ba84096dacde5b9639e3c984507c01cc278380 (diff) | |
download | profani-tty-dfb1e1c4a26c2b04d6a8b679dde1a95408e816a2.tar.gz |
Added help for shared secret and question answer otr verification
-rw-r--r-- | src/command/command.c | 11 |
1 files changed, 7 insertions, 4 deletions
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 <contact> - 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", |