{"action":"opened","issue":{"url":"https://api.github.com/repos/RaspberryWallet/Backend/issues/13","repository_url":"https://api.github.com/repos/RaspberryWallet/Backend","labels_url":"https://api.github.com/repos/RaspberryWallet/Backend/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/RaspberryWallet/Backend/issues/13/comments","events_url":"https://api.github.com/repos/RaspberryWallet/Backend/issues/13/events","html_url":"https://github.com/RaspberryWallet/Backend/issues/13","id":362922184,"node_id":"MDU6SXNzdWUzNjI5MjIxODQ=","number":13,"title":"PIN Module","user":{"login":"Furfel","id":24529819,"node_id":"MDQ6VXNlcjI0NTI5ODE5","avatar_url":"https://avatars3.githubusercontent.com/u/24529819?v=4","gravatar_id":"","url":"https://api.github.com/users/Furfel","html_url":"https://github.com/Furfel","followers_url":"https://api.github.com/users/Furfel/followers","following_url":"https://api.github.com/users/Furfel/following{/other_user}","gists_url":"https://api.github.com/users/Furfel/gists{/gist_id}","starred_url":"https://api.github.com/users/Furfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Furfel/subscriptions","organizations_url":"https://api.github.com/users/Furfel/orgs","repos_url":"https://api.github.com/users/Furfel/repos","events_url":"https://api.github.com/users/Furfel/events{/privacy}","received_events_url":"https://api.github.com/users/Furfel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-23T07:48:48Z","updated_at":"2018-09-23T07:48:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nString pin = null;\r\nencrypt(data):\r\nreturn AES.encrypt(PublicKey, data);\r\nend\r\n\r\nregister():\r\npin = null;\r\nsetStatus(\"Enter PIN code. <form:pin>\");\r\nend\r\n\r\ncheck():\r\nreturn pin != null && pin.length > 3\r\nend\r\n\r\ndecrypt():\r\nreturn AES.decrypt( PrivateKey(pin), data );\r\nend\r\n```\r\nWhat's more, frontend should react on `<form:pin>` and show the form, which will post data to Module.\r\nNeeds extending Module.java to hold and be able to handle dynamic input: `HashMap<String, String>`\r\n"}}
{"actor":{"display_login":"Furfel"}}