luvit/lit

`fail: [string "bundle:libs/core.lua"]:116: system lib` Error

Closed this issue · 5 comments

While trying to authenticate with lit, I was greeted with a new error I haven't seen.

C:\Users\Shawn\GitHub\luvenv>lit auth  
lit version: 3.8.5
luvi version: v2.14.0
command: auth
load config: C:\Users\Shawn\AppData\Roaming\litconfig
username: shawnjb
name: shawnjb
email: 129807902+shawnjb@users.noreply.github.com
privateKey: C:\Users\Shawn\.ssh\id_rsa
fail: [string "bundle:libs/core.lua"]:116: system lib
stack traceback:
        [C]: in function 'assert'
        [string "bundle:libs/core.lua"]:116: in function 'getKey'
        [string "bundle:libs/core.lua"]:357: in function 'authUser'
        [string "bundle:commands/auth.lua"]:63: in function <[string "bundle:commands/auth.lua"]:1>
        [string "bundle:main.lua"]:69: in function <[string "bundle:main.lua"]:56>
        [C]: in function 'xpcall'
        [string "bundle:main.lua"]:56: in function <[string "bundle:main.lua"]:48>

I'd like to also mention that the private key at C:\Users\Shawn\.ssh\id_rsa was automatically assigned and the file has the correct private key.

That is an OpenSSL error. It is happening on pkey.read. I can't really find much about it online.

That is an OpenSSL error. It is happening on pkey.read. I can't really find much about it online.

Re-installing OpenSSL to see if that resolves the issue.

I have high doubts that would help with anything. Could you regenerate the key according to the method describe in the wiki?
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" -m PEM

I have high doubts that would help with anything. Could you regenerate the key according to the method describe in the wiki? ssh-keygen -t rsa -b 4096 -C "your_email@example.com" -m PEM

This method worked, my mistake was using 1Password's SSH agent to generate an RSA key. Thank you.