Finantrix
Subscribe

Security & Encryption

How to set up a time-based one-time password (TOTP) for operations

Updated October 27, 2026

Set up TOTP for operations by generating shared secrets, synchronizing time clocks, and configuring authenticator apps to produce rotating codes that validate user access to critical financial systems and administrative functions.

How It Works in Practice

  1. 1Generate a unique 160-bit shared secret key for each operational user account using cryptographically secure random number generation
  2. 2Distribute QR codes containing the shared secret to users for scanning into authenticator apps like Google Authenticator or Authy
  3. 3Implement backup recovery codes and secure secret key storage in hardware security modules or encrypted databases
  4. 4Monitor authentication logs for repeated failures indicating potential brute force attacks or time synchronization issues

Common Pitfalls

Clock drift between authentication servers and user devices causes valid codes to fail, requiring NTP synchronization and tolerance windows

Backup codes stored in plaintext violate PCI DSS requirements and create security vulnerabilities during incident response procedures

Users lose access during device replacement without proper secret key backup and recovery procedures established beforehand

Key Metrics

MetricFormula
Authentication Success RateSuccessful TOTP validations / Total authentication attempts × 100
Time Sync AccuracyAbsolute difference between server time and user device time during validation
Account Lockout RateAccounts locked due to failed TOTP attempts / Total active accounts × 100

Related Terms

Latest from Insights

All Insights →
Finantrix Insights

Sign up for Finantrix Insights for periodic updates of new and notable.

Protected by reCAPTCHA. No spam. Unsubscribe anytime.