New issue
Advanced search Search tips

Issue 898577 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Feature



Sign in to add a comment

Touch ID Authenticator should verify entitlement requirement in code signature at runtime

Project Member Reported by martinkr@google.com, Oct 24

Issue description

See crbug/897973 for context.

TouchIdAuthenticator::Available should verify that binary has a keychain-access-group entitlement whose value matches the one in AuthenticatorConfig. IIUC, this should be possible by crafting a codesigning requirements language string and passing it to https://developer.apple.com/documentation/security/1396726-seccodecheckvalidity?language=objc.

If the check fails, IsUVPAA=false and the authenticator is never instantiated.

Note that this check needs to work for embedders (who will have a different keychain-access-group), so we cannot just hard-code a value to check for.
 
(Perhaps we could even add a non-Debug LOG(ERROR) for this case to aid diagnosis of issues like 897973).

Sign in to add a comment