{"action":"created","issue":{"url":"https://api.github.com/repos/Tarsnap/tarsnap/issues/89","labels_url":"https://api.github.com/repos/Tarsnap/tarsnap/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Tarsnap/tarsnap/issues/89/comments","events_url":"https://api.github.com/repos/Tarsnap/tarsnap/issues/89/events","html_url":"https://github.com/Tarsnap/tarsnap/issues/89","id":114911782,"number":89,"title":"Keyless dry-run finds default config","user":{"login":"cperciva","id":5085436,"avatar_url":"https://avatars.githubusercontent.com/u/5085436?v=3","gravatar_id":"","url":"https://api.github.com/users/cperciva","html_url":"https://github.com/cperciva","followers_url":"https://api.github.com/users/cperciva/followers","following_url":"https://api.github.com/users/cperciva/following{/other_user}","gists_url":"https://api.github.com/users/cperciva/gists{/gist_id}","starred_url":"https://api.github.com/users/cperciva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cperciva/subscriptions","organizations_url":"https://api.github.com/users/cperciva/orgs","repos_url":"https://api.github.com/users/cperciva/repos","events_url":"https://api.github.com/users/cperciva/events{/privacy}","received_events_url":"https://api.github.com/users/cperciva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gperciva","id":222157,"avatar_url":"https://avatars.githubusercontent.com/u/222157?v=3","gravatar_id":"","url":"https://api.github.com/users/gperciva","html_url":"https://github.com/gperciva","followers_url":"https://api.github.com/users/gperciva/followers","following_url":"https://api.github.com/users/gperciva/following{/other_user}","gists_url":"https://api.github.com/users/gperciva/gists{/gist_id}","starred_url":"https://api.github.com/users/gperciva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gperciva/subscriptions","organizations_url":"https://api.github.com/users/gperciva/orgs","repos_url":"https://api.github.com/users/gperciva/repos","events_url":"https://api.github.com/users/gperciva/events{/privacy}","received_events_url":"https://api.github.com/users/gperciva/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-03T21:15:06Z","updated_at":"2015-12-04T21:28:57Z","closed_at":null,"body":"Not the intended behaviour:\r\n```\r\n$ tarsnap --dry-run --print-stats --humanize-numbers -c /\r\ntarsnap: stat(/root/tarsnap.key): No such file or directory\r\ntarsnap: Cannot read key file: /root/tarsnap.key\r\n```\r\n\r\nI think in the command line processing we should record whether a key file or a cache directory were specified *on the command line*; if not (e.g., we have a keyfile set, but it wasn't done on the command line) then we need to add fallback mechanisms for dry runs.\r\n\r\nI can't remember the details of cache directories enough to say exactly what needs to be done there without looking at the code, but I think there may also need to be some special \"ignore the value which was set in a configuration file\" handling there too."},"comment":{"url":"https://api.github.com/repos/Tarsnap/tarsnap/issues/comments/162086468","html_url":"https://github.com/Tarsnap/tarsnap/issues/89#issuecomment-162086468","issue_url":"https://api.github.com/repos/Tarsnap/tarsnap/issues/89","id":162086468,"user":{"login":"miketweaver","id":5581855,"avatar_url":"https://avatars.githubusercontent.com/u/5581855?v=3","gravatar_id":"","url":"https://api.github.com/users/miketweaver","html_url":"https://github.com/miketweaver","followers_url":"https://api.github.com/users/miketweaver/followers","following_url":"https://api.github.com/users/miketweaver/following{/other_user}","gists_url":"https://api.github.com/users/miketweaver/gists{/gist_id}","starred_url":"https://api.github.com/users/miketweaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketweaver/subscriptions","organizations_url":"https://api.github.com/users/miketweaver/orgs","repos_url":"https://api.github.com/users/miketweaver/repos","events_url":"https://api.github.com/users/miketweaver/events{/privacy}","received_events_url":"https://api.github.com/users/miketweaver/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T21:28:57Z","updated_at":"2015-12-04T21:28:57Z","body":"Might be a good idea to add --no-default-config to your FAQ section:\r\nhttps://www.tarsnap.com/faq.html#COST-BEFORE-SIGNUP"}}