{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/48778","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/48778/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/48778/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/48778/events","html_url":"https://github.com/saltstack/salt/issues/48778","id":344762856,"node_id":"MDU6SXNzdWUzNDQ3NjI4NTY=","number":48778,"title":"Documenation suggests use of md5 password","user":{"login":"nodermatt","id":1467464,"node_id":"MDQ6VXNlcjE0Njc0NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1467464?v=4","gravatar_id":"","url":"https://api.github.com/users/nodermatt","html_url":"https://github.com/nodermatt","followers_url":"https://api.github.com/users/nodermatt/followers","following_url":"https://api.github.com/users/nodermatt/following{/other_user}","gists_url":"https://api.github.com/users/nodermatt/gists{/gist_id}","starred_url":"https://api.github.com/users/nodermatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodermatt/subscriptions","organizations_url":"https://api.github.com/users/nodermatt/orgs","repos_url":"https://api.github.com/users/nodermatt/repos","events_url":"https://api.github.com/users/nodermatt/events{/privacy}","received_events_url":"https://api.github.com/users/nodermatt/received_events","type":"User","site_admin":false},"labels":[{"id":41387723,"node_id":"MDU6TGFiZWw0MTM4NzcyMw==","url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":204657,"node_id":"MDU6TGFiZWwyMDQ2NTc=","url":"https://api.github.com/repos/saltstack/salt/labels/Documentation","name":"Documentation","color":"fef2c0","default":false},{"id":41389957,"node_id":"MDU6TGFiZWw0MTM4OTk1Nw==","url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9","default":false},{"id":41388135,"node_id":"MDU6TGFiZWw0MTM4ODEzNQ==","url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143","default":false},{"id":194766302,"node_id":"MDU6TGFiZWwxOTQ3NjYzMDI=","url":"https://api.github.com/repos/saltstack/salt/labels/P3","name":"P3","color":"0a3d77","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestone/13","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"node_id":"MDk6TWlsZXN0b25lOTI2NQ==","number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"node_id":"MDQ6VXNlcjUwNzU5OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/507599?v=4","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":1615,"closed_issues":8373,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2018-10-10T14:29:58Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-07-26T09:21:21Z","updated_at":"2018-10-10T14:29:58Z","closed_at":"2018-10-10T14:29:58Z","author_association":"NONE","body":"### Description of Issue/Question\r\nThe latest salt documentation for user states [0] suggests indirectly to use md5 for password hashes. In the section \"password\" it states that openssl passwd -1 can be used to create a has, however, checking the man pages for openssl password revealed that this uses md5 to hash the password.\r\n\r\nThis is confusing because the salt-minion/salt-master agent explicitly mention not to use md5 (with reason!):\r\n`Jul 26 08:21:03 server1117 salt-minion[6702]: [WARNING ] IMPORTANT: Do not use md5 hashing algorithm! Please set \"hash_type\" to SHA256 in Salt Minion config!\r\n`\r\n\r\n### Fix\r\nSuggest to use sha256 to hash password in the documentation. I can confirm that it is possible to use sha-256 hashes that can be generated using `mkpasswd -m sha-256 <password>`. Note that mkpasswd can be installed with the whois package.\r\n\r\n### Versions Report\r\n```\r\nSalt Version:\r\n           Salt: 2015.8.8\r\n\r\nDependency Versions:\r\n         Jinja2: 2.8\r\n       M2Crypto: Not Installed\r\n           Mako: Not Installed\r\n         PyYAML: 3.11\r\n          PyZMQ: 15.2.0\r\n         Python: 2.7.12 (default, Dec  4 2017, 14:50:18)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.1.4\r\n           cffi: Not Installed\r\n       cherrypy: 3.5.0\r\n       dateutil: 2.4.2\r\n          gitdb: 0.6.4\r\n      gitpython: 1.0.1\r\n          ioflo: Not Installed\r\n        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: Not Installed\r\n      pycparser: Not Installed\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n   python-gnupg: Not Installed\r\n          smmap: 0.9.0\r\n        timelib: Not Installed\r\n\r\nSystem Versions:\r\n           dist: Ubuntu 16.04 xenial\r\n        machine: x86_64\r\n        release: 4.4.0-96-generic\r\n         system: Ubuntu 16.04 xenial\r\n```\r\n\r\n\r\n[0] (https://docs.saltstack.com/en/latest/ref/states/all/salt.states.user.html)"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/428594687","html_url":"https://github.com/saltstack/salt/issues/48778#issuecomment-428594687","issue_url":"https://api.github.com/repos/saltstack/salt/issues/48778","id":428594687,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODU5NDY4Nw==","user":{"login":"rallytime","id":6547906,"node_id":"MDQ6VXNlcjY1NDc5MDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6547906?v=4","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T14:29:58Z","updated_at":"2018-10-10T14:29:58Z","author_association":"CONTRIBUTOR","body":"Thanks @nodermatt! I'll go ahead and close this then. :)"}}
{"actor":{"display_login":"rallytime"}}