Align architecture doc with current crypto implementation
This commit is contained in:
1 parent
3f7d50f6a2
commit
4399eafc90
1 file changed
+4
-3
+4
-3
@@ -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
|
- **Client does everything** - syncs, cross-server requests, profile updates
|
||||||
|
|
||||||
### Identity System
|
### Identity System
|
||||||
- Ed25519 keypair generated on registration
|
- Current implementation: secp256k1 keypair/signatures via `crypton` EC
|
||||||
|
- Target (planned): Ed25519 migration
|
||||||
- Private key = proof of identity
|
- Private key = proof of identity
|
||||||
- Public key stored on home server at `/.well-known/users/:username`
|
- Public key stored on home server at `/.well-known/users/:username`
|
||||||
- userId format: `username@serverhost`
|
- userId format: `username@serverhost`
|
||||||
@@ -236,8 +237,8 @@ The join flow now:
|
|||||||
|
|
||||||
- **Framework**: Relic 1.0 (Dart web server)
|
- **Framework**: Relic 1.0 (Dart web server)
|
||||||
- **Database**: ObjectBox
|
- **Database**: ObjectBox
|
||||||
- **Auth**: JWT + Ed25519 signatures
|
- **Auth**: JWT + secp256k1 signatures (current), Ed25519 (planned)
|
||||||
- **Crypto**: crypton package for Ed25519
|
- **Crypto**: crypton package (EC)
|
||||||
- **Password**: bcrypt
|
- **Password**: bcrypt
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in new issue
Block a user