Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I cannot generate SHA-2 Key with old, SourceTree-affiliated version of puTTY gen

Edited

I am using Windows 11 with SourceTree v. 3.4.7 on a Microsoft Surface 7.

 

I have not been able to push to Github from SourceTree or from Git Bash. When I try from SourceTree, I get the following 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.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

The link explains that Github, as of today (Jan. 11, 2022) no longer allows SHA-1 keys. It has to be SHA-2 or higher. The link above contains the passage:

"

Clients relying on older SSH implementations will need to be updated. (The standard Git client uses your operating system’s SSH implementation on Linux and macOS.) Common examples include:

  • OpenSSH before version 7.2
  • PuTTY before 0.75

GitHub has worked with these vendors to make new versions of their packages available.

"

However, no matter what I do, I cannot get SourceTree to interface with anything but puTTY gen version 0.70.2. I can download puTTY gen version 0.75, but it will not interface with SourceTree. I can generate a key using the external version of puTTY gen, but it is not ideal (I run a lab with students of various backgrounds, and github is difficult enough for them without the added requirements of maintaining a SSH generator that is not affiliated with SourceTree).

 

Will SourceTree start supporting later versions of puTTY, or should I look for another "friendly" way to authenticate for Git pushes and pulls?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,281 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you