Git使用SK-ED25519密钥克隆

huangapple go评论55阅读模式
英文:

Git clone with SK-ED25519 Key

问题

I try to connect to an Git(lab) Server via Git CLI Tool.
Previous i created a sk-ed25519 Key with help of a Yubikey Security Token.
This Key is useable with SSH Services in general.
Only git fails with this Error:
Did i miss something?

C:\Users\testuser\test>git clone git@gitlab.domain.local:usernamegitlab/testproject.git
Cloning into 'testproject'...
Confirm user presence for key ED25519-SK SHA256:4oyWx+4CK...................1pcwBw
sign_and_send_pubkey: signing failed for ED25519-SK "d:/path/privatekey": invalid format

edit1:
In my WSL Setup everything is working like expected.

git version 2.25.1

On windows git version 2.34.1.windows.1

英文:

I try to connect to an Git(lab) Server via Git CLI Tool.
Previous i created a sk-ed25519 Key with help of a Yubikey Security Token.
This Key is useable with SSH Services in general.
Only git fails with this Error:
Did i miss something?

C:\Users\testuser\test>git clone git@gitlab.domain.local:usernamegitlab/testproject.git
    Cloning into 'testproject'...
    Confirm user presence for key ED25519-SK SHA256:4oyWx+4CK...................1pcwBw
    sign_and_send_pubkey: signing failed for ED25519-SK "d:/path/privatekey": invalid format

edit1:\
In my WSL Setup everything is working like expected.

git version 2.25.1

On windows git version 2.34.1.windows.1

答案1

得分: 1

在版本2.40中似乎已经修复。

英文:

Seems to be fixed in Version 2.40.

huangapple
  • 本文由 发表于 2023年4月17日 20:47:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/76035324.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定