Align architecture doc with current crypto implementation

This commit is contained in:
Foxyz committed 2026-02-20 03:50:56 +03:00
1 parent 3f7d50f6a2
commit 4399eafc90
1 file changed
+4 -3
+4 -3
View File
@@ -12,7 +12,8 @@ Self-hosted Discord alternative with decentralized identity. Each user has a "ho
- **Client does everything** - syncs, cross-server requests, profile updates
### Identity System
- Ed25519 keypair generated on registration
- Current implementation: secp256k1 keypair/signatures via `crypton` EC
- Target (planned): Ed25519 migration
- Private key = proof of identity
- Public key stored on home server at `/.well-known/users/:username`
- userId format: `username@serverhost`
@@ -236,8 +237,8 @@ The join flow now:
- **Framework**: Relic 1.0 (Dart web server)
- **Database**: ObjectBox
- **Auth**: JWT + Ed25519 signatures
- **Crypto**: crypton package for Ed25519
- **Auth**: JWT + secp256k1 signatures (current), Ed25519 (planned)
- **Crypto**: crypton package (EC)
- **Password**: bcrypt
---