Merge pull request #2554 from deepbluev7/number-fixes

Fix some numbers in the spec text.
pull/977/head
Travis Ralston 5 years ago committed by GitHub
commit 749be9ddf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Fix some numbers in the specification to match their explanation text.

@ -513,7 +513,7 @@ received the other party's part. Thus an attacker essentially only has one attem
attack the Diffie-Hellman exchange, and hence we can verify fewer bits while still attack the Diffie-Hellman exchange, and hence we can verify fewer bits while still
achieving a high degree of security: if we verify n bits, then an attacker has a 1 in achieving a high degree of security: if we verify n bits, then an attacker has a 1 in
2\ :sup:`n` chance of success. For example, if we verify 40 bits, then an attacker has 2\ :sup:`n` chance of success. For example, if we verify 40 bits, then an attacker has
a 1 in 1,099,511,627,776 chance (or less than 1 in 1012 chance) of success. A failed a 1 in 1,099,511,627,776 chance (or less than 1 in 10\ :sup:`12` chance) of success. A failed
attack would result in a mismatched Short Authentication String, alerting users to the attack would result in a mismatched Short Authentication String, alerting users to the
attack. attack.

@ -55,7 +55,7 @@ The tag namespace is defined as follows:
display name directly). These non-namespaced tags are supported for historical reasons. New tags should use display name directly). These non-namespaced tags are supported for historical reasons. New tags should use
one of the defined namespaces above. one of the defined namespaces above.
Two special names are listed in the specification: Several special names are listed in the specification:
The following tags are defined in the ``m.*`` namespace: The following tags are defined in the ``m.*`` namespace:
* ``m.favourite``: The user's favourite rooms. These should be shown with higher precedence than other rooms. * ``m.favourite``: The user's favourite rooms. These should be shown with higher precedence than other rooms.

Loading…
Cancel
Save