1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-25 09:08:52 -05:00

Merge branch 'premerge' into 'main'

Premerge

See merge request xsf/xeps!38
This commit is contained in:
Jonas Schäfer 2020-11-24 18:05:11 +00:00
commit dbc8c0f720
2 changed files with 20 additions and 7 deletions

View File

@ -46,6 +46,17 @@
<email>look@my.amazin.horse</email>
<jid>valodim@stratum0.org</jid>
</author>
<revision>
<version>0.6.0</version>
<date>2020-11-22</date>
<initials>fs</initials>
<remark>
<p>Fix 'to'-attribute requirements: All content elements which are signed using OpenPGP need
that attribute to prevent Surreptitious Forward Attacks. The &crypt; element does not require
one, as the intented recipient is established by the encryption itself. The XEP had the
requirements for &sign; and &crypt; mixed up.</p>
</remark>
</revision>
<revision>
<version>0.5.0</version>
<date>2020-06-19</date>
@ -229,7 +240,7 @@
</signcrypt>]]></example>
<p>OpenPGP content elements MUST possess exactly one 'time'
element as direct child elements. The &signcrypt; and &crypt;
element as direct child elements. The &signcrypt; and &sign;
content elements MUST contain at least one 'to' element(s), which
MUST have a 'jid' attribute containing the intended recipient's
XMPP address of the signed and/or encrypted data to prevent
@ -241,7 +252,7 @@
(Ed.). Springer-Verlag, London, UK, UK, 83-107. &lt;<link
url='https://www.iacr.org/archive/eurocrypt2002/23320080/adr.pdf'>https://www.iacr.org/archive/eurocrypt2002/23320080/adr.pdf</link>&gt;</note>.
The XMPP address found in the 'to' element's 'jid' attribute
SHOULD be without Resourcepart (i.e., a bare JID). A &sign; content
SHOULD be without Resourcepart (i.e., a bare JID). A &crypt; content
element may not carry a 'to' attribute. The 'time' element MUST
have a 'stamp' attribute which contains the timestamp when the
OpenPGP content element was signed and/or encrypted in the
@ -266,14 +277,14 @@
</tr>
<tr>
<td>&sign;</td>
<td>MAY NOT contain one</td>
<td>MUST have at least one</td>
<td>MUST have exactly one</td>
<td>NOT REQUIRED</td>
<td>OPTIONAL</td>
<td>MUST have exactly one</td>
</tr>
<tr>
<td>&crypt;</td>
<td>MUST have at least one</td>
<td>OPTIONAL</td>
<td>MUST have exactly one</td>
<td>SHOULD have exactly one</td>
<td>MUST have exactly one</td>

View File

@ -942,14 +942,16 @@
}
sub,
sup {
sup,
.super {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
sup,
.super {
top: -0.5em;
}