{"action":"created","issue":{"url":"https://api.github.com/repos/luvit/lit/issues/139","labels_url":"https://api.github.com/repos/luvit/lit/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/luvit/lit/issues/139/comments","events_url":"https://api.github.com/repos/luvit/lit/issues/139/events","html_url":"https://github.com/luvit/lit/issues/139","id":117657000,"number":139,"title":"privateKey in ~/.litconfig is ignored","user":{"login":"urzds","id":15085501,"avatar_url":"https://avatars.githubusercontent.com/u/15085501?v=3","gravatar_id":"","url":"https://api.github.com/users/urzds","html_url":"https://github.com/urzds","followers_url":"https://api.github.com/users/urzds/followers","following_url":"https://api.github.com/users/urzds/following{/other_user}","gists_url":"https://api.github.com/users/urzds/gists{/gist_id}","starred_url":"https://api.github.com/users/urzds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urzds/subscriptions","organizations_url":"https://api.github.com/users/urzds/orgs","repos_url":"https://api.github.com/users/urzds/repos","events_url":"https://api.github.com/users/urzds/events{/privacy}","received_events_url":"https://api.github.com/users/urzds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-18T19:04:13Z","updated_at":"2015-11-18T19:36:10Z","closed_at":null,"body":"```\r\n$ grep privateKey /home/AD/tf128/.litconfig\r\nprivateKey: ${HOME}/.ssh/id_rsa_4096\r\n$ lit auth urzds | grep -e config -e privateKey\r\nload config: ${HOME}/.litconfig\r\nprivateKey: ${HOME}/.ssh/id_rsa\r\n```\r\n\r\nThis seems wrong, as it contradicts https://github.com/luvit/lit/wiki/Creating-Your-First-Package#authentication (3rd paragraph).\r\n\r\n(In the output above, `${HOME}` is the actual path, not the envvar reference.)"},"comment":{"url":"https://api.github.com/repos/luvit/lit/issues/comments/157835448","html_url":"https://github.com/luvit/lit/issues/139#issuecomment-157835448","issue_url":"https://api.github.com/repos/luvit/lit/issues/139","id":157835448,"user":{"login":"squeek502","id":2389051,"avatar_url":"https://avatars.githubusercontent.com/u/2389051?v=3","gravatar_id":"","url":"https://api.github.com/users/squeek502","html_url":"https://github.com/squeek502","followers_url":"https://api.github.com/users/squeek502/followers","following_url":"https://api.github.com/users/squeek502/following{/other_user}","gists_url":"https://api.github.com/users/squeek502/gists{/gist_id}","starred_url":"https://api.github.com/users/squeek502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squeek502/subscriptions","organizations_url":"https://api.github.com/users/squeek502/orgs","repos_url":"https://api.github.com/users/squeek502/repos","events_url":"https://api.github.com/users/squeek502/events{/privacy}","received_events_url":"https://api.github.com/users/squeek502/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T19:36:10Z","updated_at":"2015-11-18T19:36:10Z","body":"Yep, looks like [`${HOME}/.ssh/id_rsa` overwrites the config setting if the path exists](https://github.com/luvit/lit/blob/ca24ebaf65b1a59dc87ea323e125804c96ad22ff/commands/auth.lua#L54-L57)."}}