esp32_u2f icon indicating copy to clipboard operation
esp32_u2f copied to clipboard

SSH export keys don't work

Open GenkaOk opened this issue 1 year ago • 3 comments

I generate SSH key and loading to u2f: ssh-keygen -t ed25519-sk -O resident But after I try export keys and get error:

ssh-keygen -K -vvvv
Enter PIN for authenticator: 
You may need to touch your authenticator to authorize key download.
debug3: start_helper: started pid=68726
debug3: ssh_msg_send: type 5
debug3: ssh_msg_recv entering
debug1: start_helper: starting /usr/local/Cellar/openssh/9.6p1/libexec/ssh-sk-helper 
debug1: sshsk_load_resident: provider "internal", have-pin
debug1: sk_probe: 1 device(s) detected
debug1: sk_probe: selecting sk by touch
debug1: ssh_sk_load_resident_keys: trying ioreg://4295566794
debug1: check_sk_options: option uv is unknown
debug1: read_rks: existing 6, remaining 58
debug1: read_rks: get RPs for ioreg://4295566794 failed: FIDO_ERR_NOT_ALLOWED
debug1: ssh_sk_load_resident_keys: read_rks failed for ioreg://4295566794
Provider "internal" returned failure -1
debug1: ssh-sk-helper: sshsk_load_resident failed: invalid format
debug1: main: reply len 8
debug3: ssh_msg_send: type 5
debug1: client_converse: helper returned error -4
debug3: reap_helper: pid=68726
Unable to load resident keys: invalid format

GenkaOk avatar Feb 26 '24 20:02 GenkaOk

I am using the windows version and it works https://github.com/PowerShell/Win32-OpenSSH/releases

jocover avatar Feb 27 '24 04:02 jocover

I am using the windows version and it works https://github.com/PowerShell/Win32-OpenSSH/releases

In Win32-OpenSSH is no -K parameter(

GenkaOk avatar Feb 28 '24 11:02 GenkaOk

I am using the windows version and it works https://github.com/PowerShell/Win32-OpenSSH/releases

Please tell me which software do you use for full capabilities?

GenkaOk avatar Feb 29 '24 13:02 GenkaOk