Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Added support for biometrics (Touch ID/Face ID) #107

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

alexw23
Copy link

@alexw23 alexw23 commented May 6, 2024

First draft at tested and working TouchID support.

Still need to write unit tests and add some more config options for SetAccessControl (i.e kSecAttrAccessibleWhenUnlockedThisDeviceOnly) is currently hard coded. Ideally this should just reference the value from SetAccessible (if any).

Also getting the following error which is hard to fix right now. Any ideas would be great.

./keychain.go:28:69: note: passing argument to parameter 'context' here
cgo-gcc-prolog:53:41: warning: incompatible pointer types passing 'struct LAContext *' to parameter of type 'LAContext *' [-Wincompatible-pointer-types]

Currently the only way to use this is within a MacOS app (with developer ID, code sign etc). It's beyond the scope of this project as it would more so be the consumers of this project that would be using it. Once I add a PR for aws-vault I will come back and link to those instructions.

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.

None yet

1 participant