How does keosd
store key pairs
keosd
encrypts key pairs under-the-hood before storing them on a wallet file. Depending on the wallet implementation, say Secure Clave or YubiHSM, a specific cryptographic algorithm will be used. When the standard file system of a UNIX-based OS is used, keosd
encrypts key pairs using 256-bit AES in CBC mode.
How to enable the keosd
Secure Enclave
To enable the secure enclave feature of keosd
, you need to sign a keosd
binary with a certificate provided with your Apple Developer Account. Be aware that there might be some constraints imposed by App Store when signing from a console application. Therefore, the signed binaries might need to be resigned every 7 days.