{"action":"created","issue":{"url":"https://api.github.com/repos/neo-project/neo/issues/213","repository_url":"https://api.github.com/repos/neo-project/neo","labels_url":"https://api.github.com/repos/neo-project/neo/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/neo-project/neo/issues/213/comments","events_url":"https://api.github.com/repos/neo-project/neo/issues/213/events","html_url":"https://github.com/neo-project/neo/issues/213","id":310540490,"number":213,"title":"[Feature Request] Add `Neo.Runtime.CheckSignature`","user":{"login":"localhuman","id":192884,"avatar_url":"https://avatars1.githubusercontent.com/u/192884?v=4","gravatar_id":"","url":"https://api.github.com/users/localhuman","html_url":"https://github.com/localhuman","followers_url":"https://api.github.com/users/localhuman/followers","following_url":"https://api.github.com/users/localhuman/following{/other_user}","gists_url":"https://api.github.com/users/localhuman/gists{/gist_id}","starred_url":"https://api.github.com/users/localhuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/localhuman/subscriptions","organizations_url":"https://api.github.com/users/localhuman/orgs","repos_url":"https://api.github.com/users/localhuman/repos","events_url":"https://api.github.com/users/localhuman/events{/privacy}","received_events_url":"https://api.github.com/users/localhuman/received_events","type":"User","site_admin":false},"labels":[{"id":218609512,"url":"https://api.github.com/repos/neo-project/neo/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-02T17:00:39Z","updated_at":"2018-04-09T13:16:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently there is no method from a smart contract to check the signature of an arbitrary message, signature, and public key object.\r\n\r\nA proposed solution would add `Neo.Runtime.CheckSignature` and `Neo.Runtime.CheckSignatures` to `StateMachine` which would accept a message, signature(s), and public key(s) to be checked."},"comment":{"url":"https://api.github.com/repos/neo-project/neo/issues/comments/379747946","html_url":"https://github.com/neo-project/neo/issues/213#issuecomment-379747946","issue_url":"https://api.github.com/repos/neo-project/neo/issues/213","id":379747946,"user":{"login":"erikzhang","id":10204923,"avatar_url":"https://avatars0.githubusercontent.com/u/10204923?v=4","gravatar_id":"","url":"https://api.github.com/users/erikzhang","html_url":"https://github.com/erikzhang","followers_url":"https://api.github.com/users/erikzhang/followers","following_url":"https://api.github.com/users/erikzhang/following{/other_user}","gists_url":"https://api.github.com/users/erikzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/erikzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikzhang/subscriptions","organizations_url":"https://api.github.com/users/erikzhang/orgs","repos_url":"https://api.github.com/users/erikzhang/repos","events_url":"https://api.github.com/users/erikzhang/events{/privacy}","received_events_url":"https://api.github.com/users/erikzhang/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T13:16:33Z","updated_at":"2018-04-09T13:16:33Z","author_association":"OWNER","body":">Maybe we can modify CHECKSIG and if the first item is an Array, check if his length is 3. Message,PubKey and Signature\r\n\r\nIf we do this, then we have to add two more opcodes `PUSH3` and `PACK` before each `CHECKSIG`. I would prefer to add new opcode for this feature."}}
{"actor":{"display_login":"erikzhang"}}