Document change in datagram signatures

This commit is contained in:
zzz
2014-07-11 19:29:06 +00:00
parent 8a4603b47b
commit 666b0034a7

View File

@@ -76,8 +76,11 @@ from :: a <a href="{{ site_url('docs/spec/common-structures') }}#struct_Des
signature :: a <a href="{{ site_url('docs/spec/common-structures') }}#type_Signature">Signature</a>
Signature type must match the signing public key type in the 'from' Destination.
length: 40+ bytes, as implied by the Signature type.
The <a href="{{ site_url('docs/spec/common-structures') }}#type_Signature">signature</a> of the hash of the payload, which may be verified by the
signing public key of the 'from' Destination. The hash algorithm is implied by the Signature type.
For the default DSA_SHA1 key type:
The DSA <a href="{{ site_url('docs/spec/common-structures') }}#type_Signature">signature</a> of the SHA-256 hash of the payload.
For other key types:
The <a href="{{ site_url('docs/spec/common-structures') }}#type_Signature">signature</a> of the payload.
The signature may be verified by the signing public key of the 'from' Destination.
payload :: The data
Length: 0 to ~31.5 KB (see notes)
@@ -99,6 +102,9 @@ currently limit messages to about 32 KB, so the data length here is limited to a
See <a href={{ dgrams }}">important notes</a> about the reliability of large datagrams.
For best results, limit the payload to about 10 KB or less.
{%- endtrans %}</li>
<li>{% trans -%}
Signatures for types other than DSA_SHA1 were redefined in release 0.9.14.
{%- endtrans %}</li>
</ul>