{"action":"opened","issue":{"url":"https://api.github.com/repos/gustavnikolaj/keepass-menubar/issues/1","labels_url":"https://api.github.com/repos/gustavnikolaj/keepass-menubar/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gustavnikolaj/keepass-menubar/issues/1/comments","events_url":"https://api.github.com/repos/gustavnikolaj/keepass-menubar/issues/1/events","html_url":"https://github.com/gustavnikolaj/keepass-menubar/issues/1","id":106845762,"number":1,"title":"Reap stored credentials from keepassClient on screensaver start","user":{"login":"gustavnikolaj","id":1371503,"avatar_url":"https://avatars.githubusercontent.com/u/1371503?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavnikolaj","html_url":"https://github.com/gustavnikolaj","followers_url":"https://api.github.com/users/gustavnikolaj/followers","following_url":"https://api.github.com/users/gustavnikolaj/following{/other_user}","gists_url":"https://api.github.com/users/gustavnikolaj/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavnikolaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavnikolaj/subscriptions","organizations_url":"https://api.github.com/users/gustavnikolaj/orgs","repos_url":"https://api.github.com/users/gustavnikolaj/repos","events_url":"https://api.github.com/users/gustavnikolaj/events{/privacy}","received_events_url":"https://api.github.com/users/gustavnikolaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T19:29:35Z","updated_at":"2015-09-16T19:29:35Z","closed_at":null,"body":"Could be done by adding a listener to the contstructor of the KeepassClient, that would null out this.credential when it triggered.\r\n\r\nhttps://github.com/gustavnikolaj/keepass-menubar/blob/master/main/lib/keepassClient.js\r\n\r\nBut what should we listen for?\r\n\r\nOn OSX the answer could lie somewhere inbetween these links:\r\nhttp://stackoverflow.com/a/1561512 (the names of relevant events)\r\nhttps://github.com/TooTallNate/NodObjC (node-objc bridge)\r\nhttps://gist.github.com/graouts/3798828\r\n\r\nOn Linux, I'd suspect that there are similar events available via dbus.\r\nhttps://www.npmjs.com/package/node-dbus\r\nhttps://www.npmjs.com/package/dbus-native"}}