11. Cryptography and Keys

Version 1.0 · Adopted 2026-10-25 · Owner: Security Officer · Review: yearly

gend.me encrypts all traffic with TLS 1.2 or 1.3, encrypts restricted data at rest, keeps every secret in a secrets store or an operating-system keychain, and rotates each key on a schedule or immediately after any suspected exposure.

Approved algorithms

Purpose Algorithm
Transport TLS 1.2 / 1.3 only, HSTS, automatically renewed certificates
Signatures (ledger blocks, wallet keys, release feeds, payment requests) Ed25519
Encryption at rest XSalsa20-Poly1305 (libsodium)
Public-key encryption (compute jobs) X25519 + XSalsa20-Poly1305
Message authentication HMAC-SHA256, compared in constant time
Not allowed in new code MD5 or SHA-1 for security, unauthenticated encryption, unsigned tokens, home-made cryptography

Key management

Key type Rotation
Login and session keys Yearly, or after exposure
Ledger signing key Yearly, with a recorded rotation on the ledger
Crypto wallet keys Only on exposure; moving to a hardware-backed signer
Software release signing keys Yearly, with a second key for rollover
Encryption keys for stored tokens and job queues Yearly, with re-encryption
Compute device keys On reinstall; held in the member’s keychain
OAuth client secrets and webhook secrets Yearly, or after exposure
Third-party API keys Yearly, and on staff change

Rules

  1. Secrets never go into code, the database (unless encrypted), logs, tickets, chat or AI prompts.
  2. Every rotation uses a procedure that never prints the value and keeps a protected rollback copy.
  3. Keys that sign money movements or software releases are held by the owner only.