-
Notifications
You must be signed in to change notification settings - Fork 59
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
lit auth "No private key" #261
Comments
I'm having this same issue a year later! Really hoping someone can look into this. |
…ateKey file Helps with debugging luvit#261
…ateKey file Helps with debugging luvit#261
OpenSSL is erroring when reading the key, but lit is just outputting a generic error instead of the actual reason. #275 should help. |
@maya-bee Make sure your key uses PEM, nothing else. keygen -t rsa -b 4096 -C "[email protected]" -m PEM the
I've been running into this recently and just regenerating my key forcing PEM formatting fixed it. |
I hit the same issue today. I guess ssh-keygen doesn't default to the format that openssl supports anymore on ubuntu. I can confirm that generating the key with |
I'm trying to authenticate myself with lit to publish a module, but
lit auth
tells me that I don't have a public key.Except that I do have a private key at
/home/[machine username]/.ssh/id_rsa
, which I use to push to GitHub.I have recently reinstalled my machine and changed RSA keys, and it worked before, if this is relevant.
The text was updated successfully, but these errors were encountered: