taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 3abb9ea3c7ddbdb6036cae64e3e4111a75d7e064
parent 59c5bb0f2004eed2c7432100aea54c1b4d337500
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Tue, 22 Apr 2025 14:11:00 +0200

Mailbox service: Remove crypto specifics from message sending

Diffstat:
Mcore/api-mailbox.rst | 23+++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/core/api-mailbox.rst b/core/api-mailbox.rst @@ -63,6 +63,9 @@ Configuration information // Fee per message. message_fee: Amount; + // Fixed size of message body. + message_body_bytes: Integer; + // How long will the service store a message // before giving up on delivery? delivery_period: RelativeTime; @@ -80,7 +83,10 @@ Sending messages **Request** - The body of the request must be an `IdentityMessage`. + The content of the request must be the message with a size of + exactly message_body_bytes (see `VersionResponse`_). + The header Mailbox-Oder-Id may be provided if the client recently + paid for this message. **Response** @@ -102,21 +108,6 @@ Sending messages **Details:** - .. _IdentityMessage: - .. ts:def:: IdentityMessage - - interface IdentityMessage { - // Public DH key used to encrypt the body. Must be fresh - // and only used once (ephemeral). - ephemeral_key: EcdhePublicKey; - - // Encrypted message. Must be exactly 256-32 bytes long. - body: string; - - // Order ID, if the client recently paid for this message. - order_id?: string; - } - .. _MailboxRateLimitedResponse: .. ts:def:: MailboxRateLimitedResponse