commit 0aa0b33973495e8ab9cd5c786ec6802dd8c06b18
parent aeea8f662912ebb269367044b8564ce97196be5c
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 17 Dec 2025 11:19:16 +0900
remove camelcase from mailbox API
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/core/api-mailbox.rst b/core/api-mailbox.rst
@@ -121,16 +121,16 @@ Mailbox registration and metadata
interface MailboxMetadata {
// The mailbox signing key.
- // Note that ``$H_MAILBOX == H(singingKey)``.
+ // Note that ``$H_MAILBOX == H(signing_key)``.
// Note also how this key cannot be updated
// as it identifies the mailbox.
// Base32 crockford-encoded.
- signingKey: string;
+ signing_key: string;
// Type of key.
// Currently only
// EdDSA keys are supported.
- signingKeyType: "EdDSA";
+ signing_key_type: "EdDSA";
// The mailbox encryption key.
// This is a HPKE public key
@@ -138,12 +138,12 @@ Mailbox registration and metadata
// for use in a X25519-DHKEM (RFC 9180)
// is supported.
// Base32 crockford-encoded.
- encryptionKey: string;
+ encryption_key: string;
// Type of key.
// Currently only
// X25519 keys are supported.
- encryptionKeyType: "X25519";
+ encryption_key_type: "X25519";
// Expiration of this mailbox.
// Unix epoch (seconds)
@@ -181,7 +181,7 @@ Mailbox registration and metadata
// of (encryptionKeyType||encryptionKey||expiration)
// Base32 crockford-encoded.
// The signature system is defined through the
- // signingKeyType in the keys field.
+ // signing_key_type in the keys field.
signature: string;
}