🛡️ Trident – MFA module for FerrisKey

Trident is the security spearhead of FerrisKey.
It introduces a Multi-Factor Authentication (MFA) layer to protect user accounts with an additional verification step using TOTP (Time-based One-Time Password).

Inspired by the mythological weapon of protection and control, Trident ensures that access to sensitive systems is gated behind a second factor — turning the tides in favour of secure authentication.


🔧 Features

  • TOTP secret generation and secure storage
  • OTP verification based on RFC 6238
  • MFA activation & deactivation flows
  • Recovery codes for fallback access
  • Integration into FerrisKey login pipeline
  • Modular & extensible design (WebAuthn ready)