aero-mail/src
Aero Mail Dev adbf8b8e49 fix: add NTLMv2 authentication for corporate Exchange CalDAV
Exchange servers with Basic auth disabled return 401 WWW-Authenticate:NTLM/Negotiate.
Added pure-JS NTLMv2 implementation (no new deps) and auto-detection in CalDavProvider.

- src/main/lib/ntlm.ts: MD4 (avoids OpenSSL 3.x legacy issues), Type1/Type2/Type3
  message builder for NTLMv2 (HMAC-MD5 + NTProofStr + blob with server challenge)
- CalDavProvider.req(): tries Basic first; on 401+NTLM header auto-switches to NTLM mode
- CalDavProvider.reqNtlm(): 3-way handshake on a dedicated keepAlive/maxSockets:1 agent
  to guarantee both Negotiate and Authenticate use the same TCP connection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 03:03:48 +00:00
..
main fix: add NTLMv2 authentication for corporate Exchange CalDAV 2026-04-16 03:03:48 +00:00
preload refactor: удалён мёртвый код Gmail/Exchange, оптимизация производительности, обновлён README 2026-04-15 22:47:55 +07:00
renderer feat: calendar view with CalDAV support for self-hosted Exchange 2026-04-16 02:45:42 +00:00
shared/types feat: calendar view with CalDAV support for self-hosted Exchange 2026-04-16 02:45:42 +00:00