Closed jorgelbg closed 3 years ago
This seems to not be possible currently:
The only keychain items supported by the Secure Enclave are 256-bit elliptic curve private keys (those that have key type kSecAttrKeyTypeEC).
from https://developer.apple.com/documentation/security/ksecattrtokenidsecureenclave.
It would be nice to store the password in the Secure Enclave similar to how https://github.com/maxgoedjen/secretive does.
I didn't find a Golang library that allowed this and for now it is stored as an issue/would be nice to have at some point. This would also imply not being compatible with the normal pinentry-mac.