Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec3c325b authored by Eric Biggers's avatar Eric Biggers
Browse files

Add a software rate-limiter to LockSettingsService

Add a SoftwareRateLimiter and wire it up to LockSettingsService.  The
SoftwareRateLimiter implements duplicate wrong guess detection and
implements a rate-limiting schedule that is more secure than the one
that Android has traditionally used.  It complements the "hardware"
rate-limiter and allows faster testing and deployment of a new
rate-limiting schedule before hardware is updated which generally takes
longer.  For more details, see the SoftwareRateLimiter class comment.

Bug: 395976735
Test: atest FrameworksServicesTests:com.android.server.locksettings
Test: manual test with the lock screen on phone and watch
Flag: android.security.software_ratelimiter
Change-Id: I79dd3595995603f53e62f714de6e1c46b46d9d87
parent 2250eae1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment