[Pkg-privacy-commits] [libotr] 12/20: Protocol-v3.html was incompletely specifying handling of some messages
Intrigeri
intrigeri at moszumanska.debian.org
Thu Mar 10 09:25:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag 4.1.1
in repository libotr.
commit c976dfd6b3a4baef077a878e9eb82a673492adb5
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date: Thu Mar 3 19:00:49 2016 +0100
Protocol-v3.html was incompletely specifying handling of some messages
How to handle v2 versus v3 messages for the Reveal Signature and
Signature messages was missing from the Protocol-v3.html document.
Thanks to Ola Bini <obini at thoughtworks.com> for the report.
Fixes #119
Signed-off-by: Ian Goldberg <iang at cs.uwaterloo.ca>
---
Protocol-v3.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Protocol-v3.html b/Protocol-v3.html
index b76bca5..49b2edb 100644
--- a/Protocol-v3.html
+++ b/Protocol-v3.html
@@ -1611,7 +1611,9 @@ AUTHSTATE_V1_SETUP:</dt>
<dd>Ignore the message.</dd>
</dl>
<h4>Receiving a Reveal Signature Message</h4>
-<p>If ALLOW_V2 is not set, ignore this message. Otherwise:</p>
+<p>If the message is version 2 and ALLOW_V2 is not set, ignore this message.
+Similarly if the message is version 3 and ALLOW_V3 is not set, ignore the
+message. Otherwise:</p>
<dl>
<dt>If authstate is AUTHSTATE_AWAITING_REVEALSIG:</dt>
<dd>Use the received value of r to decrypt the value of g<sup>x</sup>
@@ -1631,7 +1633,9 @@ AUTHSTATE_AWAITING_SIG, or AUTHSTATE_V1_SETUP:</dt>
<dd>Ignore the message.</dd>
</dl>
<h4>Receiving a Signature Message</h4>
-<p>If ALLOW_V2 is not set, ignore this message. Otherwise:</p>
+<p>If the message is version 2 and ALLOW_V2 is not set, ignore this message.
+Similarly if the message is version 3 and ALLOW_V3 is not set, ignore the
+message. Otherwise:</p>
<dl>
<dt>If authstate is AUTHSTATE_AWAITING_SIG:</dt>
<dd>Decrypt the encrypted signature, and verify the signature and the MACs.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git
More information about the Pkg-privacy-commits
mailing list