Closed psychelzh closed 2 years ago
Thanks I am aware. The SHA-1 is not part of the key, but generated by the ssh client. I am aware of the problem, sadly SHA-2 is not available yet in the latest release version of libssh2 (which is what libgit2 uses). Hopefully soon:
Maybe we should switch the default key to ecdsa in the mean while.
I have changed ssh_keygen to generate ECDSA keys by default. Can you try again?
Thanks! It works now! 👍
FYI I implemented a fix in gert 1.8.0 such that RSA keys work again, so I may revert this change.
Currently,
ssh_keygen()
creates an RSA key with SHA-1, which is not allowed now. See this Github blog.This might cause error in
usethis::use_github_release()
(https://github.com/r-lib/usethis/issues/1634).