go-keychain icon indicating copy to clipboard operation
go-keychain copied to clipboard

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

Open alexw23 opened this issue 1 year ago • 3 comments

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.

alexw23 avatar May 06 '24 12:05 alexw23

Why this PR is not approved or reviewed?

ihiteshgupta avatar Sep 07 '24 23:09 ihiteshgupta

I think there still is big interest in this... Why is it stale? 😞

LionelP7 avatar Oct 11 '24 20:10 LionelP7

Any update on this one?

hazcod avatar Feb 19 '25 11:02 hazcod