lit icon indicating copy to clipboard operation
lit copied to clipboard

privateKey in ~/.litconfig is ignored

Open ghost opened this issue 10 years ago • 2 comments
trafficstars

$ grep privateKey /home/AD/tf128/.litconfig
privateKey: ${HOME}/.ssh/id_rsa_4096
$ lit auth urzds | grep -e config -e privateKey
load config: ${HOME}/.litconfig
privateKey: ${HOME}/.ssh/id_rsa

This seems wrong, as it contradicts https://github.com/luvit/lit/wiki/Creating-Your-First-Package#authentication (3rd paragraph).

(In the output above, ${HOME} is the actual path, not the envvar reference.)

ghost avatar Nov 18 '15 19:11 ghost

Let me know if this patch helps.

creationix avatar Nov 22 '15 03:11 creationix