ubicloud/cache
Jeremy Evans 24afad3921 Add support for OTP unlocking
Unlocking OTP requires 3 consecutive successful authentications.
As we require 6 digits per OTP auth, each auth attempt without
access to the secret has a 1 in 10**6 chance of succeeding.
Therefore, unlocking OTP only has a 1 in 10**18 chance of succeeding
without access to the secret. Any failure resets the success counter,
and imposes a 15 minute delay before another attempt. So there is
a limit of 96 OTP unlock attempt failures per day per account.

The specs don't show it, but there is a 90 second delay between
OTP unlock attempts. This is to prevent the same code working for
multiple auth attempts, accounting for drift in both directions.
2025-07-29 07:24:50 +09:00
..
index.cache Add LockedDomain model 2025-07-16 08:06:32 +09:00
pg_auto_constraint_validations.cache Add support for OTP unlocking 2025-07-29 07:24:50 +09:00
schema.cache Make locked_domain.domain column citext instead of text 2025-07-17 00:44:40 +09:00
static_cache.cache Add Private Locations migration 2025-03-23 16:28:05 +01:00