Fix X3DH + add web client served by warzone-server
X3DH fix: - Added identity_encryption_key (X25519) to PreKeyBundle - initiate() and respond() now use correct DH operations per Signal spec: DH1=IK_a*SPK_b, DH2=EK_a*IK_b, DH3=EK_a*SPK_b, DH4=EK_a*OPK_b - All 17 tests pass including x3dh_shared_secret_matches Web client (served at /): - Identity generation with seed (stored in localStorage) - Recovery from hex-encoded seed - Auto-load saved identity on page load - Fingerprint display (same format as CLI: xxxx:xxxx:xxxx:xxxx) - Key registration with server via /v1/keys/register - Chat UI with message polling (5s interval) - Commands: /help, /info, /seed - Dark theme matching warzone aesthetic Both clients (CLI + Web) now exist: - CLI: warzone init, warzone info, warzone recover - Web: http://localhost:7700/ (served by warzone-server) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
This file has an mtime of when this was started.
|
||||
@@ -0,0 +1 @@
|
||||
3aea702ad21be287
|
||||
@@ -0,0 +1 @@
|
||||
{"rustc":13850170861107434965,"features":"[\"alloc\", \"default\", \"digest\", \"precomputed-tables\", \"serde\", \"zeroize\"]","declared_features":"[\"alloc\", \"default\", \"digest\", \"ff\", \"group\", \"group-bits\", \"legacy_compatibility\", \"precomputed-tables\", \"rand_core\", \"serde\", \"zeroize\"]","target":115635582535548150,"profile":5347358027863023418,"path":6449140769066251312,"deps":[[7667230146095136825,"cfg_if",false,442776345318176589],[12865141776541797048,"zeroize",false,248298559044779970],[13548984313718623784,"serde",false,8367025351747235062],[13595581133353633439,"build_script_build",false,13686814823733748901],[17003143334332120809,"subtle",false,15897404018854376665],[17475753849556516473,"digest",false,8075083745434701549]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/curve25519-dalek-d472de6bdb7ced94/dep-lib-curve25519_dalek","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||
Reference in New Issue
Block a user