From dfe8b8e42915fb6f1965c33123529a34e1a12952 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 3 Dec 2017 18:35:39 +0100 Subject: [PATCH] XEP-0363: amend security considerations and introduce retry element --- xep-0363.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/xep-0363.xml b/xep-0363.xml index 7dee8856..f2926a16 100644 --- a/xep-0363.xml +++ b/xep-0363.xml @@ -29,6 +29,17 @@ daniel@gultsch.de daniel@gultsch.de + + 0.4.0 + 2017-12-03 + dg + +
    +
  • Added <retry/> element to error response
  • +
  • Extend Security Considerations
  • +
+
+
0.3.1 2017-04-21 @@ -211,6 +222,7 @@ ]]>

For any other type of error the service SHOULD respond with appropriate error types to indicate temporary or permanent errors.

+

For temporary errors such as exceeding a personal quota the service MAY include a <retry/> element qualified by the urn:xmpp:http:upload:0 namespace as a child of the <error/> element. The retry element MUST include an attribute 'stamp' which indicates the time at which the requesting entity may try again. The format of the timestamp MUST adhere to the date-time format specified in &xep0082; and MUST be expressed in UTC. The service SHOULD NOT impose sanctions on an entity for retrying earlier than the specified time.

Quota reached. You can only upload 5 files in 5 minutes + ]]>
  • Client implementors MUST consider the fact that without additional end-to-end-encryption files uploaded to a service described in this document will store those files in plain text on that service. Client implementors SHOULD either use this only for semi public files (for example files shared in a public MUC or a PEP Avatar) or implement appropriate end-to-end encryption.
  • +
  • Requesting entities MUST strip any newline characters from the HTTP header names and values before making the PUT request.
  • Service implementors SHOULD use long randomized parts in their URLs making it impossible to guess the location of arbitrary files
  • Server operators SHOULD consider the responsibility that comes with storing user data and MAY consider appropriate measures such as full disk encryption.