rio icon indicating copy to clipboard operation
rio copied to clipboard

Git clone with a security key backed ssh exits prompty

Open dvtkrlbs opened this issue 10 months ago • 14 comments

My ssh key is an ecdsa-sk which is also used for my git operations. When attempting to clone using the git protocol when using rio I get my pin prompt and upon entering the pin the command exits without the user presence confirmation. Running with GIT_SSH_COMMAND="ssh -vvv" shows nothing happens after the pin prompt. Setting use-fork to true doesn't change the result. OS MacOS Sonoma 14.0 Beta (23A5312d), rio version 0.0.18

when using rio

$ git clone [email protected]:some_user/some_repo
Cloning into 'fframes'...
Confirm user presence for key ECDSA-SK SHA256:some_hash
Enter PIN for ECDSA-SK key /Users/dvtkrlbs/.ssh/id_ecdsa_sk:

$

when using ITerm

$ git clone [email protected]:some_user/some_repo
Cloning into 'fframes'...
Confirm user presence for key ECDSA-SK SHA256:some_hash
Enter PIN for ECDSA-SK key /Users/dvtkrlbs/.ssh/id_ecdsa_sk:
Confirm user presence for key ECDSA-SK SHA256:some_hash
User presence confirmed
remote: Enumerating objects: 4312, done.
remote: Counting objects: 100% (1060/1060), done.
remote: Compressing objects: 100% (592/592), done.
remote: Total 4312 (delta 625), reused 746 (delta 450), pack-reused 3252
Receiving objects: 100% (4312/4312), 50.16 MiB | 1.50 MiB/s, done.
Resolving deltas: 100% (2061/2061), done.

$

dvtkrlbs avatar Sep 07 '23 11:09 dvtkrlbs