Skip to content

fix(pin): honor PIN policy and normalize PINs#281

Draft
AlfioEmanueleFresta wants to merge 2 commits into
masterfrom
fix/clientpin-policy-and-normalization
Draft

fix(pin): honor PIN policy and normalize PINs#281
AlfioEmanueleFresta wants to merge 2 commits into
masterfrom
fix/clientpin-policy-and-normalization

Conversation

@AlfioEmanueleFresta

Copy link
Copy Markdown
Member

The PIN flow ignored authenticator policy and measured PINs in bytes. This routes operations away from a PIN token when the device forbids it, drives a required PIN change first, and normalizes PINs to NFC with the minimum length checked in code points.

Closes #256.

Honor noMcGaPermissionsWithClientPin by routing mc and ga to built-in UV
or failing clearly instead of minting a clientPin token. Drive a
change-PIN flow when forcePINChange is set before acquiring a PIN-based
token. Normalize collected and new PINs to Unicode NFC and check the
minimum length in code points while keeping the 63-byte UTF-8 maximum.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(pin): honor getInfo PIN policy and NFC-normalize PINs

1 participant