No description
Find a file
Janis Danisevskis 064ce85612 Implement rate limiting on a per app basis for confirmationui
Implements the following strategy per app:
* Every attempted prompt increments a try counter.
* A prompt that was confirmed by the user resets the try counter.
* No penalty is applied after the first two cancelled attempts.
* A penalty of 30s is applied after attempt 3, 4, and 5 when
  cancelled by the user
* A penalty of 60s * 2**(N - 6) after the Nth cancelled attempt
  for attempts 6...
* A try counter that was not updated in 24h gets garbage collected.

Test: /data/nativetest64/keystore_unit_tests/keystore_unit_tests
Bug: 73892492
Change-Id: I0b50869259bfe920338c0c049cb9a715143ab103
2018-03-14 13:36:56 -07:00
keystore Implement rate limiting on a per app basis for confirmationui 2018-03-14 13:36:56 -07:00
keystore-engine Merge "Remove RSA_FLAG_CACHE_PUBLIC." am: 6ec80146e5 am: de77a0910b 2017-12-18 15:59:56 +00:00
.clang-format Add PREUPLOAD to require clang-format. 2017-12-04 17:06:49 -07:00
Android.bp Move keystore to Android.bp. 2017-10-23 16:03:59 -06:00
MODULE_LICENSE_APACHE2 Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
NOTICE Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
OWNERS Add OWNERS in system/security 2017-06-02 17:39:48 -07:00
PREUPLOAD.cfg Add PREUPLOAD to require clang-format. 2017-12-04 17:06:49 -07:00