Skip to content

Add PIN attempt limiting and key stretching #68

@kwsantiago

Description

@kwsantiago

No protection against PIN brute force attacks.

  • Store attempt counter in separate flash region
  • Implement exponential backoff after failed attempts
  • Add device lockout after N failures (configurable, e.g. 21)
  • Use PBKDF2 or Argon2 for PIN-derived encryption key
  • Target ~2-4 second verification time to slow brute force

Metadata

Metadata

Assignees

Labels

hardp2PrioritysecuritySecurity-related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions