Fixed issues preventing successful authentication: - Corrected Argon2 memory limit handling (API sends bytes, not KB) - Replaced Blake2b with crypto_kdf_derive_from_key for login subkey derivation - Fixed serde field names to match API expectations (srpUserID, sessionID) - Added non-interactive mode for CLI testing - Added support for ENTE_ENDPOINT environment variable The implementation now matches the web client's key derivation exactly, enabling successful authentication with both local and production servers. Co-Authored-By: Claude <noreply@anthropic.com>
1.4 KiB
1.4 KiB