{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/1526","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/1526/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/1526/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/1526/events","html_url":"https://github.com/mholt/caddy/issues/1526","id":215226205,"number":1526,"title":"Allow hashing password for basicauth directive","user":{"login":"geek1011","id":13909717,"avatar_url":"https://avatars0.githubusercontent.com/u/13909717?v=4","gravatar_id":"","url":"https://api.github.com/users/geek1011","html_url":"https://github.com/geek1011","followers_url":"https://api.github.com/users/geek1011/followers","following_url":"https://api.github.com/users/geek1011/following{/other_user}","gists_url":"https://api.github.com/users/geek1011/gists{/gist_id}","starred_url":"https://api.github.com/users/geek1011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geek1011/subscriptions","organizations_url":"https://api.github.com/users/geek1011/orgs","repos_url":"https://api.github.com/users/geek1011/repos","events_url":"https://api.github.com/users/geek1011/events{/privacy}","received_events_url":"https://api.github.com/users/geek1011/received_events","type":"User","site_admin":false},"labels":[{"id":165906142,"url":"https://api.github.com/repos/mholt/caddy/labels/duplicate","name":"duplicate","color":"e6e6e6","default":true},{"id":204890680,"url":"https://api.github.com/repos/mholt/caddy/labels/feature%20request","name":"feature request","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-03-18T22:27:50Z","updated_at":"2018-02-27T12:17:05Z","closed_at":null,"author_association":"NONE","body":"It would be better if the password used for basicauth could be stored as a hash in the file."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/368855238","html_url":"https://github.com/mholt/caddy/issues/1526#issuecomment-368855238","issue_url":"https://api.github.com/repos/mholt/caddy/issues/1526","id":368855238,"user":{"login":"My1","id":6696524,"avatar_url":"https://avatars3.githubusercontent.com/u/6696524?v=4","gravatar_id":"","url":"https://api.github.com/users/My1","html_url":"https://github.com/My1","followers_url":"https://api.github.com/users/My1/followers","following_url":"https://api.github.com/users/My1/following{/other_user}","gists_url":"https://api.github.com/users/My1/gists{/gist_id}","starred_url":"https://api.github.com/users/My1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/My1/subscriptions","organizations_url":"https://api.github.com/users/My1/orgs","repos_url":"https://api.github.com/users/My1/repos","events_url":"https://api.github.com/users/My1/events{/privacy}","received_events_url":"https://api.github.com/users/My1/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T12:17:05Z","updated_at":"2018-02-27T12:17:05Z","author_association":"NONE","body":"I would say a crypt-style hash format whch includes all the needed params, also for the simple reason that is a common format already and therefore also works with other solutions for storing passwords. e.g. one could have a website for password change which could then update the password file accordingly for example, and also in my opinion a very important thing. humans can easily recognize, read and understand the format, and see if a password hash is garbage (e.g. a bcrypt with a work factor of 5).\r\n\r\n@20zinnm multihash looks intresting but has a few weaknesses. most importantly that it isnt designed to work with highly parametric hashes like bcrypt or argon2 where you can just plug in one or more work factors because the function, also looking at the function list of multihash this also doesnt seem to be made for password hashes anyway. no salts no nothing."}}
{"actor":{"display_login":"My1"}}