{"action":"created","issue":{"url":"https://api.github.com/repos/yast/yast-bootloader/issues/277","labels_url":"https://api.github.com/repos/yast/yast-bootloader/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/yast/yast-bootloader/issues/277/comments","events_url":"https://api.github.com/repos/yast/yast-bootloader/issues/277/events","html_url":"https://github.com/yast/yast-bootloader/issues/277","id":116601649,"number":277,"title":"Passwords not encrypting due to uninterpreted \\n escapes","user":{"login":"hlindg","id":8526745,"avatar_url":"https://avatars.githubusercontent.com/u/8526745?v=3","gravatar_id":"","url":"https://api.github.com/users/hlindg","html_url":"https://github.com/hlindg","followers_url":"https://api.github.com/users/hlindg/followers","following_url":"https://api.github.com/users/hlindg/following{/other_user}","gists_url":"https://api.github.com/users/hlindg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindg/subscriptions","organizations_url":"https://api.github.com/users/hlindg/orgs","repos_url":"https://api.github.com/users/hlindg/repos","events_url":"https://api.github.com/users/hlindg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-12T17:41:05Z","updated_at":"2015-11-12T18:16:41Z","closed_at":null,"body":"When you try to setup password protection grub2-mkpasswd-pbkdf2 reports: error: failure to read password. I assume this is because the -e switch is not passed to echo in encrypt() so the escapes can't be interpreted. However I do not know what will happen if you put a \\n in the password since echo does not care if escapes are quoted or not, you need to use double backslashes.\r\n\r\nPossible fix:\r\nhttps://github.com/hlindg/yast-bootloader/commit/1a1a93f63403a39172c71ba47a10f4b7665e857f"},"comment":{"url":"https://api.github.com/repos/yast/yast-bootloader/issues/comments/156188653","html_url":"https://github.com/yast/yast-bootloader/issues/277#issuecomment-156188653","issue_url":"https://api.github.com/repos/yast/yast-bootloader/issues/277","id":156188653,"user":{"login":"arvidjaar","id":187138,"avatar_url":"https://avatars.githubusercontent.com/u/187138?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidjaar","html_url":"https://github.com/arvidjaar","followers_url":"https://api.github.com/users/arvidjaar/followers","following_url":"https://api.github.com/users/arvidjaar/following{/other_user}","gists_url":"https://api.github.com/users/arvidjaar/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidjaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidjaar/subscriptions","organizations_url":"https://api.github.com/users/arvidjaar/orgs","repos_url":"https://api.github.com/users/arvidjaar/repos","events_url":"https://api.github.com/users/arvidjaar/events{/privacy}","received_events_url":"https://api.github.com/users/arvidjaar/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T18:16:41Z","updated_at":"2015-11-12T18:16:41Z","body":"Does it fix http://bugzilla.suse.com/show_bug.cgi?id=951898?"}}