{"action":"opened","number":1113,"pull_request":{"url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/1113","id":152650797,"html_url":"https://github.com/hyperledger/sawtooth-core/pull/1113","diff_url":"https://github.com/hyperledger/sawtooth-core/pull/1113.diff","patch_url":"https://github.com/hyperledger/sawtooth-core/pull/1113.patch","issue_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/1113","number":1113,"state":"open","locked":false,"title":"Update Python Signing API","user":{"login":"peterschwarz","id":282233,"avatar_url":"https://avatars0.githubusercontent.com/u/282233?v=4","gravatar_id":"","url":"https://api.github.com/users/peterschwarz","html_url":"https://github.com/peterschwarz","followers_url":"https://api.github.com/users/peterschwarz/followers","following_url":"https://api.github.com/users/peterschwarz/following{/other_user}","gists_url":"https://api.github.com/users/peterschwarz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterschwarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterschwarz/subscriptions","organizations_url":"https://api.github.com/users/peterschwarz/orgs","repos_url":"https://api.github.com/users/peterschwarz/repos","events_url":"https://api.github.com/users/peterschwarz/events{/privacy}","received_events_url":"https://api.github.com/users/peterschwarz/received_events","type":"User","site_admin":false},"body":"Update the signing API to follow a more flexible, pluggable model.\r\nSigning algorithms can be encapsulated with a `Context` and keys with\r\n`PrivateKey` and `PublicKey` objects.\r\n\r\nA `Signer` can be used to wrap a private key and a context, which can\r\nthen be used repeatedly during operation.  For example, the identity key\r\nfor a given validator is loaded at startup time, parsed into a Secp256k1\r\nkey, encapsulated in a Signer with the appropriate context, and passed\r\nto all users of the Signer - e.g. the BlockPublisher.\r\n\r\nAll uses of the old API have been updated to reflect this change.\r\n\r\nSigned-off-by: Peter Schwarz <pschwarz@bitwise.io>","created_at":"2017-11-14T23:56:00Z","updated_at":"2017-11-14T23:56:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/1113/commits","review_comments_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/1113/comments","review_comment_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/1113/comments","statuses_url":"https://api.github.com/repos/hyperledger/sawtooth-core/statuses/c6d6241d982440fdb6b3d73e4686bdd2f4507418","head":{"label":"peterschwarz:STL-797.python_signer","ref":"STL-797.python_signer","sha":"c6d6241d982440fdb6b3d73e4686bdd2f4507418","user":{"login":"peterschwarz","id":282233,"avatar_url":"https://avatars0.githubusercontent.com/u/282233?v=4","gravatar_id":"","url":"https://api.github.com/users/peterschwarz","html_url":"https://github.com/peterschwarz","followers_url":"https://api.github.com/users/peterschwarz/followers","following_url":"https://api.github.com/users/peterschwarz/following{/other_user}","gists_url":"https://api.github.com/users/peterschwarz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterschwarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterschwarz/subscriptions","organizations_url":"https://api.github.com/users/peterschwarz/orgs","repos_url":"https://api.github.com/users/peterschwarz/repos","events_url":"https://api.github.com/users/peterschwarz/events{/privacy}","received_events_url":"https://api.github.com/users/peterschwarz/received_events","type":"User","site_admin":false},"repo":{"id":81613276,"name":"sawtooth-core","full_name":"peterschwarz/sawtooth-core","owner":{"login":"peterschwarz","id":282233,"avatar_url":"https://avatars0.githubusercontent.com/u/282233?v=4","gravatar_id":"","url":"https://api.github.com/users/peterschwarz","html_url":"https://github.com/peterschwarz","followers_url":"https://api.github.com/users/peterschwarz/followers","following_url":"https://api.github.com/users/peterschwarz/following{/other_user}","gists_url":"https://api.github.com/users/peterschwarz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterschwarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterschwarz/subscriptions","organizations_url":"https://api.github.com/users/peterschwarz/orgs","repos_url":"https://api.github.com/users/peterschwarz/repos","events_url":"https://api.github.com/users/peterschwarz/events{/privacy}","received_events_url":"https://api.github.com/users/peterschwarz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterschwarz/sawtooth-core","description":"Core repository for Sawtooth Lake Distributed ledger","fork":true,"url":"https://api.github.com/repos/peterschwarz/sawtooth-core","forks_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/forks","keys_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/teams","hooks_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/hooks","issue_events_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/issues/events{/number}","events_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/events","assignees_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/assignees{/user}","branches_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/branches{/branch}","tags_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/tags","blobs_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/statuses/{sha}","languages_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/languages","stargazers_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/stargazers","contributors_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/contributors","subscribers_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/subscribers","subscription_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/subscription","commits_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/contents/{+path}","compare_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/merges","archive_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/downloads","issues_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/issues{/number}","pulls_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/pulls{/number}","milestones_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/milestones{/number}","notifications_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/labels{/name}","releases_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/releases{/id}","deployments_url":"https://api.github.com/repos/peterschwarz/sawtooth-core/deployments","created_at":"2017-02-10T22:36:38Z","updated_at":"2017-02-10T22:36:41Z","pushed_at":"2017-11-14T23:54:30Z","git_url":"git://github.com/peterschwarz/sawtooth-core.git","ssh_url":"git@github.com:peterschwarz/sawtooth-core.git","clone_url":"https://github.com/peterschwarz/sawtooth-core.git","svn_url":"https://github.com/peterschwarz/sawtooth-core","homepage":"http://intelledger.github.io/","size":16925,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperledger:master","ref":"master","sha":"55c8246b2573395a535f0da792709de2ea06a7cd","user":{"login":"hyperledger","id":7657900,"avatar_url":"https://avatars2.githubusercontent.com/u/7657900?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperledger","html_url":"https://github.com/hyperledger","followers_url":"https://api.github.com/users/hyperledger/followers","following_url":"https://api.github.com/users/hyperledger/following{/other_user}","gists_url":"https://api.github.com/users/hyperledger/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperledger/subscriptions","organizations_url":"https://api.github.com/users/hyperledger/orgs","repos_url":"https://api.github.com/users/hyperledger/repos","events_url":"https://api.github.com/users/hyperledger/events{/privacy}","received_events_url":"https://api.github.com/users/hyperledger/received_events","type":"Organization","site_admin":false},"repo":{"id":57901437,"name":"sawtooth-core","full_name":"hyperledger/sawtooth-core","owner":{"login":"hyperledger","id":7657900,"avatar_url":"https://avatars2.githubusercontent.com/u/7657900?v=4","gravatar_id":"","url":"https://api.github.com/users/hyperledger","html_url":"https://github.com/hyperledger","followers_url":"https://api.github.com/users/hyperledger/followers","following_url":"https://api.github.com/users/hyperledger/following{/other_user}","gists_url":"https://api.github.com/users/hyperledger/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperledger/subscriptions","organizations_url":"https://api.github.com/users/hyperledger/orgs","repos_url":"https://api.github.com/users/hyperledger/repos","events_url":"https://api.github.com/users/hyperledger/events{/privacy}","received_events_url":"https://api.github.com/users/hyperledger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperledger/sawtooth-core","description":"Core repository for Sawtooth Distributed Ledger","fork":false,"url":"https://api.github.com/repos/hyperledger/sawtooth-core","forks_url":"https://api.github.com/repos/hyperledger/sawtooth-core/forks","keys_url":"https://api.github.com/repos/hyperledger/sawtooth-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperledger/sawtooth-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperledger/sawtooth-core/teams","hooks_url":"https://api.github.com/repos/hyperledger/sawtooth-core/hooks","issue_events_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/events{/number}","events_url":"https://api.github.com/repos/hyperledger/sawtooth-core/events","assignees_url":"https://api.github.com/repos/hyperledger/sawtooth-core/assignees{/user}","branches_url":"https://api.github.com/repos/hyperledger/sawtooth-core/branches{/branch}","tags_url":"https://api.github.com/repos/hyperledger/sawtooth-core/tags","blobs_url":"https://api.github.com/repos/hyperledger/sawtooth-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperledger/sawtooth-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperledger/sawtooth-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperledger/sawtooth-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperledger/sawtooth-core/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperledger/sawtooth-core/languages","stargazers_url":"https://api.github.com/repos/hyperledger/sawtooth-core/stargazers","contributors_url":"https://api.github.com/repos/hyperledger/sawtooth-core/contributors","subscribers_url":"https://api.github.com/repos/hyperledger/sawtooth-core/subscribers","subscription_url":"https://api.github.com/repos/hyperledger/sawtooth-core/subscription","commits_url":"https://api.github.com/repos/hyperledger/sawtooth-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperledger/sawtooth-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperledger/sawtooth-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperledger/sawtooth-core/contents/{+path}","compare_url":"https://api.github.com/repos/hyperledger/sawtooth-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperledger/sawtooth-core/merges","archive_url":"https://api.github.com/repos/hyperledger/sawtooth-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperledger/sawtooth-core/downloads","issues_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues{/number}","pulls_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperledger/sawtooth-core/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperledger/sawtooth-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperledger/sawtooth-core/labels{/name}","releases_url":"https://api.github.com/repos/hyperledger/sawtooth-core/releases{/id}","deployments_url":"https://api.github.com/repos/hyperledger/sawtooth-core/deployments","created_at":"2016-05-02T15:51:53Z","updated_at":"2017-11-14T00:43:06Z","pushed_at":"2017-11-14T23:35:06Z","git_url":"git://github.com/hyperledger/sawtooth-core.git","ssh_url":"git@github.com:hyperledger/sawtooth-core.git","clone_url":"https://github.com/hyperledger/sawtooth-core.git","svn_url":"https://github.com/hyperledger/sawtooth-core","homepage":"https://www.hyperledger.org/projects/sawtooth","size":23329,"stargazers_count":464,"watchers_count":464,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":219,"mirror_url":null,"archived":false,"open_issues_count":11,"forks":219,"open_issues":11,"watchers":464,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/1113"},"html":{"href":"https://github.com/hyperledger/sawtooth-core/pull/1113"},"issue":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/1113"},"comments":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/1113/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/1113/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/1113/commits"},"statuses":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/statuses/c6d6241d982440fdb6b3d73e4686bdd2f4507418"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1439,"deletions":1075,"changed_files":65}}
{"actor":{"display_login":"peterschwarz"}}