On macOS, we can improve SSH security by adding our keys to the Secure Enclave. Detect the presence of secretive and if it is installed then move all the keys in the ~/.ssh folder to the Secure Enclave. Add this script to home/.chezmoiscripts/universal and be sure to make sure that the macOS device to Secure Enclave compatible.
@ProfessorManhattan, Secure Enclave does not allow import/export of keys. Keys that need to be protected using Secure Enclave need to be created using Secure Enclave - details available here and here.
Hey @enggnr -- let's just generate one key of each type and name it id_enclave for instance. That way we leverage / setup the technology in case its ever useful to us.
💡 Feature/Idea
On macOS, we can improve SSH security by adding our keys to the Secure Enclave. Detect the presence of
secretive
and if it is installed then move all the keys in the~/.ssh
folder to the Secure Enclave. Add this script tohome/.chezmoiscripts/universal
and be sure to make sure that the macOS device to Secure Enclave compatible.:thumbsup: Can you contribute?
No response