git-bug icon indicating copy to clipboard operation
git-bug copied to clipboard

git bug push fails with SHA-1 key message

Open dan-passaro opened this issue 2 years ago • 3 comments
trafficstars

I'm getting this error in git bug:

$ git bug push
Error: unknown error: ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.

The keypair for my user account is SHA256, and is accepted by github (i.e. git push in the same repository works fine). Is there any way I can fix this?

dan-passaro avatar Sep 20 '23 14:09 dan-passaro

Hey thanks for reporting. :-)

Are you using the latest release of git-bug (v.0.8.0) or the master version?

Because go-git (which git-bug uses under the hood) had this issue, too. For Reference see: https://github.com/go-git/go-git/issues/516.

While go-git seems to already have merged a fix for this issue (see this comment), git-bug could still have this issue in its latest released version, because the fix was introduced shortly after the latest release of git-bug.

Date of latest git-bug release (v.0.8.0): Nov 20, 2022 Creation date of possible fix within go-git repo: Nov 25, 2022

But this is only a guess. ;-)

GlancingMind avatar Sep 23 '23 16:09 GlancingMind

Yes, I'm using the latest release. I'll try running from trunk instead. Thanks for the help! (Update: you were right, I built v0.8.0-dev-20e62977a0 from trunk and now I can push successfully. Thanks again!)

dan-passaro avatar Oct 05 '23 00:10 dan-passaro

Hi.

I confirm building from the master fixes it. Why not making a new release ?

nicobo avatar Jun 22 '24 19:06 nicobo

hey @nicobo, thanks for bringing this up. a new release will be made soon: https://github.com/MichaelMure/git-bug/milestone/9

sudoforge avatar Aug 02 '24 07:08 sudoforge