{"action":"opened","issue":{"url":"https://api.github.com/repos/drduh/pwd.sh/issues/19","labels_url":"https://api.github.com/repos/drduh/pwd.sh/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/drduh/pwd.sh/issues/19/comments","events_url":"https://api.github.com/repos/drduh/pwd.sh/issues/19/events","html_url":"https://github.com/drduh/pwd.sh/issues/19","id":97704459,"number":19,"title":"Security: unprotected unlocked vault?","user":{"login":"jjshoe","id":2053992,"avatar_url":"https://avatars.githubusercontent.com/u/2053992?v=3","gravatar_id":"","url":"https://api.github.com/users/jjshoe","html_url":"https://github.com/jjshoe","followers_url":"https://api.github.com/users/jjshoe/followers","following_url":"https://api.github.com/users/jjshoe/following{/other_user}","gists_url":"https://api.github.com/users/jjshoe/gists{/gist_id}","starred_url":"https://api.github.com/users/jjshoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjshoe/subscriptions","organizations_url":"https://api.github.com/users/jjshoe/orgs","repos_url":"https://api.github.com/users/jjshoe/repos","events_url":"https://api.github.com/users/jjshoe/events{/privacy}","received_events_url":"https://api.github.com/users/jjshoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-28T13:17:47Z","updated_at":"2015-07-28T13:17:47Z","closed_at":null,"body":"https://github.com/drduh/pwd.sh/blob/master/pwd.sh#L121\r\n\r\ndecrypt the safe\r\nremove the username\r\nadd the new entry\r\nremove any blank lines\r\nencrypt the vault\r\ncopy it over the old vault\r\n\r\nYou've left the vault, with a known name, decrypted, with permissions that match umask. Danger, Danger Will Robinson."}}