Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git bug push fails with SHA-1 key message #1109

Open
dan-passaro opened this issue Sep 20, 2023 · 2 comments
Open

git bug push fails with SHA-1 key message #1109

dan-passaro opened this issue Sep 20, 2023 · 2 comments

Comments

@dan-passaro
Copy link

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?

@GlancingMind
Copy link
Contributor

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: go-git/go-git#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. ;-)

@dan-passaro
Copy link
Author

dan-passaro commented Oct 5, 2023

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!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants