MASWE-0046: Chaves Criptográficas Não Invalidadas no Novo Cadastro Biométrico
Content in BETA
This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).
Placeholder Weakness
This weakness hasn't been created yet and it's a placeholder. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that weakness by following our guidelines.
Check our GitHub Issues for MASWE-0046
Initial Description or Hints¶
As chaves criptográficas relacionadas à biometria devem ser invalidadas por padrão sempre que novos cadastros biométricos são adicionados.
Relevant Topics¶
- Habilitado por padrão no Android, mas pode ser desabilitado chamando
setInvalidatedByBiometricEnrollment(false) - Desabilitado por padrão no iOS, mas pode ser habilitado usando
SecAccessControlCreateFlags.biometryCurrentSet(anteriormentetouchIDCurrentSet) ao definir o controle de acesso (desde o iOS 9). Isso invalida itens do keychain quando uma impressão digital é adicionada ou removida. Veja kSecAccessControlTouchIDCurrentSet, biometryCurrentSet.
MASTG v1 Coverage¶
No MASTG v1 tests are related to this weakness.
Tests¶
MASTG-TEST-0271: Uso em Runtime de APIs para Detecção de Alterações no Cadastro Biométrico MASTG-TEST-0270: Referências a APIs para Detecção de Alterações no Cadastro Biométrico