TortoiseGit拉取代码报错,You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
前因:Github移除了用户名密码验证方式,通过 SSH 或 git://连接的新客户端不允许使用RSA SHA-1签名(SHA-1 is weak)
解决方案:改用ed25519或RSA SHA-2签名
生成工具:PuTTY Key Generater
生成步骤与过去相同;
TortoiseGit(版本 2.10.0.2)配置:
1. 右键 - TortoiseGit - 设置 - Git - 远端 - origin - PuTTY密钥,设置指定ppk文件(私钥)
Pageant配置
2. 打开Pageant - 移除不再使用的RSA SHA-1签名
To be a better man.