Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
And this extract from the page referenced in the error message summarize the change applied by Github:
| March 15, 2022 | Changes made permanent.
We’ll permanently stop accepting DSA keys. RSA keys uploaded after the cut-off point above will work only with SHA-2 signatures (but again, RSA keys uploaded before this date will continue to work with SHA-1). The deprecated MACs, ciphers, and unencrypted Git protocol will be permanently disabled. |
C:\Windows\System32\OpenSSH\SSH.EXE
ssh-keygen -t ecdsa -b 256 -m PEM
-----BEGIN EC PRIVATE KEY-----
Host github.com IdentityFile ~/.ssh/id_ecdsa
By default Studio 7.2.1 and 7.3.1 uses the JSch SSH library for SSH connections to Git servers. But it's possible to switch to another SSH library (Apache MINA sshd) that offers the ability to use ED25519 keys. Here are the steps to apply for that:
core_ssh_client=apache eclipse.preferences.version=1
ssh-keygen -t ed25519 -m PEM
Eclipse Egit 5.2 release notes: https://wiki.eclipse.org/EGit/New_and_Noteworthy/5.2#New_SSH_Library