Record protected-key behavior after Face ID enrollment changes

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
kotlin

Research direction

Start with the linked iOS key-access findings in docs/engineering/ios-device-bound-key-access.md and review the work done in PR #4. Run the check on a dedicated test iPhone using a synthetic key, recording the iOS version/build and whether signing succeeds with Face ID, passcode fallback, or the key becomes unavailable. Verify the specified UI behavior for a missing or available Keychain item, then delete the synthetic key.

Written by the indexing model from the issue text.

Description

good first issue help wanted

Evidence

The iOS key-access findings use userPresence, which supports biometric or passcode authentication, but do not claim whether Face ID enrollment changes affect the protected key. Enrollment changes were not tested during PR #4.

Work

On a dedicated test iPhone with a synthetic key:

  1. Create a key and record successful Face ID signing.
  2. Change the Face ID enrollment on that test device.
  3. Check whether signing with Face ID succeeds, requires passcode fallback, or reports that the key is unavailable.
  4. If the key remains usable, verify passcode fallback; then delete the key.

Do not change Face ID enrollment on a regular personal or work device. Do not infer invalidation or persistence from simulator behavior.

Acceptance criteria

  • The observed result after the enrollment change is recorded with iOS version/build.
  • Face ID and passcode fallback results are distinguished, and key unavailability is not described as authentication denial without evidence.
  • If the Keychain item is missing, the UI clears the stale reference; if it remains available, a protected signing succeeds only after system authentication.
  • The synthetic key is deleted after the check; no real account data or TOTP seed is used.
Dominant language
Kotlin
Stars
0
Forks
0
Avg merge
3h 20m
Merged PRs (30d)
59

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsotto/sotto-authenticator

All issues in getsotto/sotto-authenticator

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.