mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
RFC 7049, section 4.1 describes correct JSON encoding for byte strings
This commit is contained in:
parent
8fe9532faf
commit
78a1d65b78
@ -380,8 +380,7 @@ then the expiration time of that lease will be changed to 31 days after the time
|
|||||||
If it does not match an existing lease
|
If it does not match an existing lease
|
||||||
then a new lease will be created with this ``renew-secret`` which expires 31 days after the time of this operation.
|
then a new lease will be created with this ``renew-secret`` which expires 31 days after the time of this operation.
|
||||||
|
|
||||||
The renew and cancel secrets must be 32 bytes long
|
The renew and cancel secrets must be 32 bytes long.
|
||||||
(or in the case of JSON encoding they must UTF-8 encode to 32 bytes).
|
|
||||||
The server treats them as opaque values.
|
The server treats them as opaque values.
|
||||||
:ref:`Share Leases` gives details about how the Tahoe-LAFS storage client constructs these values.
|
:ref:`Share Leases` gives details about how the Tahoe-LAFS storage client constructs these values.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user