lit
lit copied to clipboard
privateKey in ~/.litconfig is ignored
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.)
Yep, looks like ${HOME}/.ssh/id_rsa overwrites the config setting if the path exists.
Let me know if this patch helps.