-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
不支持 dsa 算法私钥 #33
Comments
DSA 私钥是怎么生成的,多少位的? |
macOS 12 带的 ssh-keygen 应该是没有问题的
|
我试了一下,发现只支持 1024 位的: $ ssh-keygen -t dsa -b 2048
Invalid DSA key length: must be 1024 bits 1024 位的私钥已经不安全了,据说 openssh 加上 dsa 是个错误:golang/go#23751 (comment) ,看来下个版本要把对 dsa 的支持删了。 |
dsa 已经被 openssh 默认禁用了,dsa 支持确实可以删除了。 另外,建议 tssh 解析文件失败提示一些warning信息就ok了,别直接退出。 |
OK,我周末优化一下这里的逻辑。 |
|
最新版本功能已经正常 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题
parse private key [/Users/ruan/.ssh/id_dsa] failed: ssh: unhandled key type
The text was updated successfully, but these errors were encountered: