Commit Graph

16 Commits

Author SHA1 Message Date
James (ClawdBot) 5b140362bf Show key debug info in visible Connection Log 2026-01-28 18:59:32 +00:00
James (ClawdBot) 661a668169 Add debug logging to verify public key derivation 2026-01-28 18:57:50 +00:00
James (ClawdBot) 94f1da3ff1 Fix Ed25519 signature: use standard mode, not prehashed
EdDSAEngine(MessageDigest) is for Ed25519ph (prehashed mode).
Standard Ed25519 requires EdDSAEngine() with no arguments.
2026-01-28 18:53:47 +00:00
James (ClawdBot) 56120a9b6b UI improvements for testing
- Prefill gateway URL and token with defaults
- Make connection log window larger (400dp)
- Smaller font (10sp) to fit more text
2026-01-28 18:47:49 +00:00
James (ClawdBot) 95a360354c Fix device identity: switch from ECDSA to Ed25519
- Add net.i2p.crypto:eddsa library for pure-Java Ed25519
- Rewrite DeviceIdentity to use Ed25519 (matches gateway protocol)
- Keys stored in EncryptedSharedPreferences instead of Android Keystore
- Public key format: 32 bytes raw, base64url-encoded
- Device ID: SHA-256 hash of raw public key
- Improved error handling in GatewayClient challenge flow
2026-01-28 18:42:31 +00:00
James (ClawdBot) 0c3e45f0de Add STATUS.md with current state and testing checklist 2026-01-28 14:25:55 +00:00
James (ClawdBot) e981f84c3c Allow cleartext HTTP for development (Tailscale/local IPs) 2026-01-28 08:34:46 +00:00
James (ClawdBot) 99e86390c4 Make token field visible (not masked) 2026-01-28 08:29:39 +00:00
James (ClawdBot) 9811d73d3f Add .gitignore, remove build artifacts from repo 2026-01-28 08:29:16 +00:00
James (ClawdBot) 16d2f2164c Add live connection log to UI for debugging 2026-01-28 08:29:01 +00:00
James (ClawdBot) fd559ffcbc Fix: Add explicit Protocol import (wildcard import wasn't resolving it) 2026-01-28 08:11:58 +00:00
James (ClawdBot) 047ef52225 Fix: Remove duplicate Protocol.kt, fix CLIENT_ID in Messages.kt 2026-01-28 08:04:34 +00:00
James (ClawdBot) 69f39ef3a3 Add Protocol constants and enable buildConfig generation 2026-01-28 06:22:25 +00:00
James (ClawdBot) 97a095e073 Fix: Implement proper Gateway WebSocket protocol
- Connect to /ws endpoint instead of /ws/node?token=...
- Handle connect.challenge event and send proper handshake
- Implement protocol v3 frame types (req/res/event)
- Add node.invoke command handling for gateway RPC
- Create DeviceIdentity for challenge signing (EC P-256 via Keystore)
- Declare caps: notifications, calls, voice
- Declare commands: notification.action/dismiss, call.answer/reject/speak/hangup
- Send proper responses for node.invoke requests
2026-01-28 05:24:48 +00:00
James (ClawdBot) 16c0fce034 Fix: Remove BuildConfig reference (generated at build time) 2026-01-28 03:53:48 +00:00
James (ClawdBot) 003d26cd4d v0.1 - Initial ClawdNode Android app 2026-01-28 03:49:06 +00:00