maxgoedjen / secretive

Store SSH keys in the Secure Enclave
MIT License
6.99k stars 155 forks source link

[Feature/Bug] Yubikey not shown on macOS WITH secure enclave #539

Closed MrXermon closed 3 months ago

MrXermon commented 3 months ago

I am running 2.4.1 on a MacBook Pro with a Apple M1 Pro running macOS 14.2.1 (23C71). I am currently using a Yubikey containing my SSH key which I use via "gpg-agent". Is there any chance to include support for Yubikeys on Macs with Secure Enclave support, too? This would make the migration from Yubikey to Secure Enclave more easier.

maxgoedjen commented 3 months ago

@MrXermon are you sure you have the YubiKey configured in a way Secretive can work with? It definitely should allow you to use both at once, I can do that here:

image

Without knowing the details, my suspicion is you have the YubiKey set up with a format that Secretive isn't compatible with (Secretive currently only supports elliptic curve keys).

MrXermon commented 3 months ago

@maxgoedjen You are correct... It's a RSA-key and therefore not supported.