{"action":"created","comment":{"url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/comments/139991267","pull_request_review_id":64000868,"id":139991267,"diff_hunk":"@@ -0,0 +1,399 @@\n+# Copyright 2017 Intel Corporation\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+# ----------------------------------------------------------------------------\n+\n+import enum\n+import subprocess\n+import unittest\n+from uuid import uuid4\n+\n+import cbor\n+\n+from sawtooth_processor_test.message_factory import MessageFactory\n+\n+from sawtooth_integration.tests.integration_tools import RestClient\n+from sawtooth_integration.tests.integration_tools import wait_for_rest_apis\n+\n+from sawtooth_sdk.protobuf import batch_pb2\n+\n+\n+class TestTransactorPermissioning(unittest.TestCase):\n+\n+    def setUp(self):\n+        self.REST_ENDPOINT = \"rest-api:8080\"\n+        wait_for_rest_apis([self.REST_ENDPOINT])\n+        self.alice = Transactor('alice', self.REST_ENDPOINT)\n+        self.bob = Transactor('bob', self.REST_ENDPOINT)\n+        self.carol = Transactor('carol', self.REST_ENDPOINT)\n+        self.dave = Transactor('dave', self.REST_ENDPOINT)\n+\n+        self.chuck = Transactor('chuck', self.REST_ENDPOINT)\n+        self.mallory = Transactor('mallory', self.REST_ENDPOINT)\n+\n+        self.walter = Transactor('walter', self.REST_ENDPOINT)\n+\n+    def test_transactor_permissioning(self):\n+        \"\"\"Test the transactor permissioning system using the Identity\n+        transaction family.\n+\n+        Notes:\n+            The test works from general to specific on the transactor\n+            permissioning settings, starting with 'transactor', then\n+            'transactor.batch_signer', then 'transactor.transaction_signer',\n+            and then finally 'transactor.transaction_signer.intkey' and\n+            'transaction.transaction_signer.xo'. For each subsection,\n+            the test allows some transactors and denies others and asserts\n+            that each either is or is not able to send transactions.\n+\n+            From local configuration, Chuck and Mallory are denied from\n+            being transactors, Dave is denied from being a batch_signer,\n+            Carol is denied from sending XO transactions, while Walter, Bob,\n+            and Alice have all transactor permissions and no explicit denials\n+            from more specific permissions.\n+\n+        \"\"\"\n+\n+        #\n+        # transactor subsection\n+        #\n+        # From local configuration Dave is denied from being a batch_signer,\n+        # and Chuck and Mallory are denied from all transactor permissions.\n+\n+        self.walter.set_pubkey_for_role(\n+            'deny_bob_allow_alice_walter',\n+            'transactor',\n+            permit_keys=[self.alice.public_key, self.walter.public_key],\n+            deny_keys=[self.bob.public_key])\n+\n+        for t, f in [(self.alice, Families.INTKEY),\n+                     (self.walter, Families.INTKEY)]:\n+            self.assert_able_to_send(t, f)\n+\n+        for t, f in [(self.bob, Families.INTKEY), (self.dave, Families.INTKEY),\n+                     (self.chuck, Families.INTKEY),\n+                     (self.mallory, Families.INTKEY)]:\n+            self.assert_not_able_to_send(t, f)\n+\n+        self.walter.set_pubkey_for_role(\n+            'deny_alice_allow_bob_walter',\n+            'transactor',\n+            permit_keys=[self.bob.public_key, self.walter.public_key],\n+            deny_keys=[self.alice.public_key])\n+\n+        for t, f in [(self.bob, Families.INTKEY),\n+                     (self.walter, Families.INTKEY)]:\n+            self.assert_able_to_send(t, f)\n+\n+        for t, f in [(self.alice, Families.INTKEY),\n+                     (self.chuck, Families.INTKEY),\n+                     (self.dave, Families.INTKEY),\n+                     (self.mallory, Families.INTKEY)]:\n+            self.assert_not_able_to_send(t, f)\n+\n+        self.walter.set_pubkey_for_role(\n+            \"allow_all_transactors\",\n+            \"transactor\",\n+            permit_keys=[\"*\"],\n+            deny_keys=[])\n+\n+        #\n+        # transactor.batch_signer subsection\n+        #\n+        # From local configuration both Alice and Bob are allowed batch_signers,\n+        # while Dave is denied.\n+\n+        self.walter.set_pubkey_for_role(\n+            \"deny_alice_as_batcher_allow_bob\",\n+            \"transactor.batch_signer\",\n+            permit_keys=[self.bob.public_key, self.walter.public_key],\n+            deny_keys=[self.alice.public_key])\n+\n+        txns = [self.alice.create_txn(\n+            Families.INTKEY,\n+            batcher=self.bob.public_key)]\n+\n+        self.assert_able_to_send_batch(\n+            self.bob,\n+            Families.INTKEY,\n+            txns)\n+\n+        self.assert_not_able_to_send_batch(\n+            self.alice,\n+            Families.INTKEY,\n+            txns)\n+\n+        daves_txns = [self.alice.create_txn(\n+            Families.INTKEY,\n+            batcher=self.dave.public_key)]\n+\n+        self.assert_not_able_to_send_batch(\n+            self.dave,\n+            Families.INTKEY,\n+            daves_txns)\n+\n+        self.walter.set_pubkey_for_role(\n+            \"allow_all_batchers\",\n+            \"transactor.batch_signer\",\n+            permit_keys=[\"*\"],\n+            deny_keys=[])\n+\n+        #\n+        # transactor.transaction_signer\n+        #\n+        # From local configuration Carol is denied from XO, but is allowed all\n+        # other transactor permissions, Mallory and Chuck are denied from all\n+        # transactor permissions.\n+\n+        self.walter.set_pubkey_for_role(\n+            \"allow_carol_and_no_others\",\n+            \"transactor.transaction_signer\",\n+            permit_keys=[self.carol.public_key, self.walter.public_key],\n+            deny_keys=[self.alice.public_key, self.bob.public_key,\n+                       self.dave.public_key])\n+\n+        self.assert_able_to_send(self.carol, Families.INTKEY)\n+        self.assert_not_able_to_send(self.carol, Families.XO)\n+\n+        for t, f in [(self.alice, Families.INTKEY),\n+                     (self.alice, Families.XO),\n+                     (self.bob, Families.INTKEY),\n+                     (self.bob, Families.XO),\n+                     (self.dave, Families.INTKEY),\n+                     (self.dave, Families.XO),\n+                     (self.chuck, Families.INTKEY),\n+                     (self.chuck, Families.XO),\n+                     (self.mallory, Families.INTKEY),\n+                     (self.mallory, Families.XO)]:\n+            self.assert_not_able_to_send(t, f)\n+\n+        self.walter.set_pubkey_for_role(\n+            \"allow_all_transaction_signers\",\n+            \"transactor.transaction_signer\",\n+            permit_keys=[\"*\"],\n+            deny_keys=[])\n+\n+        #\n+        # transactor.transaction_signer.< tp_name > subsection\n+        #\n+        # From local configuration Dave is denied from being a batch_signer,\n+        # Mallory and Chuck are denied being transactors.\n+\n+        self.walter.set_pubkey_for_role(\n+            \"deny_alice_from_xo_allow_bob\",\n+            \"transactor.transaction_signer.xo\",\n+            permit_keys=[self.bob.public_key, self.dave.public_key],\n+            deny_keys=[self.alice.public_key])\n+\n+        self.assert_able_to_send(self.bob, Families.XO)\n+\n+        for t, f in [(self.alice, Families.XO), (self.chuck, Families.XO),\n+                     (self.mallory, Families.XO), (self.dave, Families.XO)]:\n+            self.assert_not_able_to_send(t, f)\n+\n+        self.walter.set_pubkey_for_role(\n+            \"deny_bob_from_intkey_allow_dave_alice\",\n+            \"transactor.transaction_signer.intkey\",\n+            permit_keys=[self.alice.public_key, self.dave.public_key],\n+            deny_keys=[self.bob.public_key])\n+\n+        self.assert_able_to_send(self.alice, Families.INTKEY)\n+\n+        for t, f in [(self.bob, Families.INTKEY), (self.chuck, Families.INTKEY),\n+                     (self.mallory, Families.INTKEY), (self.dave, Families.INTKEY)]:\n+            self.assert_not_able_to_send(t, f)\n+\n+    def assert_able_to_send(self, transactor, family):\n+        transactor.send(family)\n+\n+    def assert_able_to_send_batch(self, transactor, family, transactions):\n+        transactor.send(family_name=family, transactions=transactions)\n+\n+    def assert_not_able_to_send(self, transactor, family):\n+        with self.assertRaises(Exception):\n+            transactor.send(family)\n+\n+    def assert_not_able_to_send_batch(self, transactor, family, txns):\n+        with self.assertRaises(Exception):\n+            transactor.send(family, txns)\n+\n+\n+INTKEY_NAMESPACE = MessageFactory.sha512('intkey'.encode())[:6]\n+XO_NAMESPACE = MessageFactory.sha512('xo'.encode())[:6]\n+IDENTITY_NAMESPACE = '00001d'\n+\n+ROLE_PREFIX = '01'\n+POLICY_PREFIX = '00'\n+\n+\n+class Families(enum.Enum):\n+    INTKEY = 1\n+    XO = 2\n+    IDENTITY = 3\n+\n+\n+FamilyConfig = {\n+    Families.INTKEY: {\n+        'encoding': 'application/cbor',\n+        'family_name': 'intkey',\n+        'family_version': '1.0',\n+        'namespace': MessageFactory.sha256('intkey'.encode())[:6]\n+    },\n+    Families.XO: {\n+        'encoding': 'csv-utf8',\n+        'family_name': 'xo',\n+        'family_version': '1.0',\n+        'namespace': MessageFactory.sha256('xo'.encode())[:6]\n+    },\n+    Families.IDENTITY: {\n+        'encoding': 'application/protobuf',\n+        'family_name': 'identity',\n+        'family_version': '1.0',\n+        'namespace': '00001d'\n+    }\n+}\n+\n+\n+def INTKEY_PAYLOAD(unique_value):","path":"integration/sawtooth_integration/tests/test_identity.py","position":267,"original_position":267,"commit_id":"3ab4b13f59c73c11f8cbc28959410c6e4e45cb87","original_commit_id":"3ab4b13f59c73c11f8cbc28959410c6e4e45cb87","user":{"login":"boydjohnson","id":4340785,"avatar_url":"https://avatars1.githubusercontent.com/u/4340785?v=4","gravatar_id":"","url":"https://api.github.com/users/boydjohnson","html_url":"https://github.com/boydjohnson","followers_url":"https://api.github.com/users/boydjohnson/followers","following_url":"https://api.github.com/users/boydjohnson/following{/other_user}","gists_url":"https://api.github.com/users/boydjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/boydjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydjohnson/subscriptions","organizations_url":"https://api.github.com/users/boydjohnson/orgs","repos_url":"https://api.github.com/users/boydjohnson/repos","events_url":"https://api.github.com/users/boydjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/boydjohnson/received_events","type":"User","site_admin":false},"body":"Updating.","created_at":"2017-09-20T14:45:56Z","updated_at":"2017-09-20T14:45:57Z","html_url":"https://github.com/hyperledger/sawtooth-core/pull/873#discussion_r139991267","pull_request_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/comments/139991267"},"html":{"href":"https://github.com/hyperledger/sawtooth-core/pull/873#discussion_r139991267"},"pull_request":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873"}},"in_reply_to_id":139983143},"pull_request":{"url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873","id":141888093,"html_url":"https://github.com/hyperledger/sawtooth-core/pull/873","diff_url":"https://github.com/hyperledger/sawtooth-core/pull/873.diff","patch_url":"https://github.com/hyperledger/sawtooth-core/pull/873.patch","issue_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/873","number":873,"state":"open","locked":false,"title":"Transactor Permissioning Integration Test","user":{"login":"boydjohnson","id":4340785,"avatar_url":"https://avatars1.githubusercontent.com/u/4340785?v=4","gravatar_id":"","url":"https://api.github.com/users/boydjohnson","html_url":"https://github.com/boydjohnson","followers_url":"https://api.github.com/users/boydjohnson/followers","following_url":"https://api.github.com/users/boydjohnson/following{/other_user}","gists_url":"https://api.github.com/users/boydjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/boydjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydjohnson/subscriptions","organizations_url":"https://api.github.com/users/boydjohnson/orgs","repos_url":"https://api.github.com/users/boydjohnson/repos","events_url":"https://api.github.com/users/boydjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/boydjohnson/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-19T15:52:00Z","updated_at":"2017-09-20T14:45:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f6ebdd45d2b9a8d674466bf4ab26e5b28539c6d","assignee":{"login":"boydjohnson","id":4340785,"avatar_url":"https://avatars1.githubusercontent.com/u/4340785?v=4","gravatar_id":"","url":"https://api.github.com/users/boydjohnson","html_url":"https://github.com/boydjohnson","followers_url":"https://api.github.com/users/boydjohnson/followers","following_url":"https://api.github.com/users/boydjohnson/following{/other_user}","gists_url":"https://api.github.com/users/boydjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/boydjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydjohnson/subscriptions","organizations_url":"https://api.github.com/users/boydjohnson/orgs","repos_url":"https://api.github.com/users/boydjohnson/repos","events_url":"https://api.github.com/users/boydjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/boydjohnson/received_events","type":"User","site_admin":false},"assignees":[{"login":"boydjohnson","id":4340785,"avatar_url":"https://avatars1.githubusercontent.com/u/4340785?v=4","gravatar_id":"","url":"https://api.github.com/users/boydjohnson","html_url":"https://github.com/boydjohnson","followers_url":"https://api.github.com/users/boydjohnson/followers","following_url":"https://api.github.com/users/boydjohnson/following{/other_user}","gists_url":"https://api.github.com/users/boydjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/boydjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydjohnson/subscriptions","organizations_url":"https://api.github.com/users/boydjohnson/orgs","repos_url":"https://api.github.com/users/boydjohnson/repos","events_url":"https://api.github.com/users/boydjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/boydjohnson/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"cianx","id":1297124,"avatar_url":"https://avatars3.githubusercontent.com/u/1297124?v=4","gravatar_id":"","url":"https://api.github.com/users/cianx","html_url":"https://github.com/cianx","followers_url":"https://api.github.com/users/cianx/followers","following_url":"https://api.github.com/users/cianx/following{/other_user}","gists_url":"https://api.github.com/users/cianx/gists{/gist_id}","starred_url":"https://api.github.com/users/cianx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cianx/subscriptions","organizations_url":"https://api.github.com/users/cianx/orgs","repos_url":"https://api.github.com/users/cianx/repos","events_url":"https://api.github.com/users/cianx/events{/privacy}","received_events_url":"https://api.github.com/users/cianx/received_events","type":"User","site_admin":false},{"login":"vaporos","id":2374712,"avatar_url":"https://avatars1.githubusercontent.com/u/2374712?v=4","gravatar_id":"","url":"https://api.github.com/users/vaporos","html_url":"https://github.com/vaporos","followers_url":"https://api.github.com/users/vaporos/followers","following_url":"https://api.github.com/users/vaporos/following{/other_user}","gists_url":"https://api.github.com/users/vaporos/gists{/gist_id}","starred_url":"https://api.github.com/users/vaporos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaporos/subscriptions","organizations_url":"https://api.github.com/users/vaporos/orgs","repos_url":"https://api.github.com/users/vaporos/repos","events_url":"https://api.github.com/users/vaporos/events{/privacy}","received_events_url":"https://api.github.com/users/vaporos/received_events","type":"User","site_admin":false},{"login":"jsmitchell","id":5748777,"avatar_url":"https://avatars3.githubusercontent.com/u/5748777?v=4","gravatar_id":"","url":"https://api.github.com/users/jsmitchell","html_url":"https://github.com/jsmitchell","followers_url":"https://api.github.com/users/jsmitchell/followers","following_url":"https://api.github.com/users/jsmitchell/following{/other_user}","gists_url":"https://api.github.com/users/jsmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmitchell/subscriptions","organizations_url":"https://api.github.com/users/jsmitchell/orgs","repos_url":"https://api.github.com/users/jsmitchell/repos","events_url":"https://api.github.com/users/jsmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/jsmitchell/received_events","type":"User","site_admin":false},{"login":"agunde406","id":18215486,"avatar_url":"https://avatars2.githubusercontent.com/u/18215486?v=4","gravatar_id":"","url":"https://api.github.com/users/agunde406","html_url":"https://github.com/agunde406","followers_url":"https://api.github.com/users/agunde406/followers","following_url":"https://api.github.com/users/agunde406/following{/other_user}","gists_url":"https://api.github.com/users/agunde406/gists{/gist_id}","starred_url":"https://api.github.com/users/agunde406/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agunde406/subscriptions","organizations_url":"https://api.github.com/users/agunde406/orgs","repos_url":"https://api.github.com/users/agunde406/repos","events_url":"https://api.github.com/users/agunde406/events{/privacy}","received_events_url":"https://api.github.com/users/agunde406/received_events","type":"User","site_admin":false},{"login":"aludvik","id":24274338,"avatar_url":"https://avatars1.githubusercontent.com/u/24274338?v=4","gravatar_id":"","url":"https://api.github.com/users/aludvik","html_url":"https://github.com/aludvik","followers_url":"https://api.github.com/users/aludvik/followers","following_url":"https://api.github.com/users/aludvik/following{/other_user}","gists_url":"https://api.github.com/users/aludvik/gists{/gist_id}","starred_url":"https://api.github.com/users/aludvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aludvik/subscriptions","organizations_url":"https://api.github.com/users/aludvik/orgs","repos_url":"https://api.github.com/users/aludvik/repos","events_url":"https://api.github.com/users/aludvik/events{/privacy}","received_events_url":"https://api.github.com/users/aludvik/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873/commits","review_comments_url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873/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/873/comments","statuses_url":"https://api.github.com/repos/hyperledger/sawtooth-core/statuses/3ab4b13f59c73c11f8cbc28959410c6e4e45cb87","head":{"label":"boydjohnson:STL-597.permissioning.test","ref":"STL-597.permissioning.test","sha":"3ab4b13f59c73c11f8cbc28959410c6e4e45cb87","user":{"login":"boydjohnson","id":4340785,"avatar_url":"https://avatars1.githubusercontent.com/u/4340785?v=4","gravatar_id":"","url":"https://api.github.com/users/boydjohnson","html_url":"https://github.com/boydjohnson","followers_url":"https://api.github.com/users/boydjohnson/followers","following_url":"https://api.github.com/users/boydjohnson/following{/other_user}","gists_url":"https://api.github.com/users/boydjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/boydjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydjohnson/subscriptions","organizations_url":"https://api.github.com/users/boydjohnson/orgs","repos_url":"https://api.github.com/users/boydjohnson/repos","events_url":"https://api.github.com/users/boydjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/boydjohnson/received_events","type":"User","site_admin":false},"repo":{"id":75201425,"name":"sawtooth-core","full_name":"boydjohnson/sawtooth-core","owner":{"login":"boydjohnson","id":4340785,"avatar_url":"https://avatars1.githubusercontent.com/u/4340785?v=4","gravatar_id":"","url":"https://api.github.com/users/boydjohnson","html_url":"https://github.com/boydjohnson","followers_url":"https://api.github.com/users/boydjohnson/followers","following_url":"https://api.github.com/users/boydjohnson/following{/other_user}","gists_url":"https://api.github.com/users/boydjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/boydjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boydjohnson/subscriptions","organizations_url":"https://api.github.com/users/boydjohnson/orgs","repos_url":"https://api.github.com/users/boydjohnson/repos","events_url":"https://api.github.com/users/boydjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/boydjohnson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boydjohnson/sawtooth-core","description":"Core repository for Sawtooth Lake Distributed ledger","fork":true,"url":"https://api.github.com/repos/boydjohnson/sawtooth-core","forks_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/forks","keys_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/teams","hooks_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/hooks","issue_events_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/issues/events{/number}","events_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/events","assignees_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/assignees{/user}","branches_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/branches{/branch}","tags_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/tags","blobs_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/statuses/{sha}","languages_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/languages","stargazers_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/stargazers","contributors_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/contributors","subscribers_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/subscribers","subscription_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/subscription","commits_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/contents/{+path}","compare_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/merges","archive_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/downloads","issues_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/issues{/number}","pulls_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/pulls{/number}","milestones_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/milestones{/number}","notifications_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/labels{/name}","releases_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/releases{/id}","deployments_url":"https://api.github.com/repos/boydjohnson/sawtooth-core/deployments","created_at":"2016-11-30T15:43:48Z","updated_at":"2016-11-30T15:43:51Z","pushed_at":"2017-09-19T19:53:09Z","git_url":"git://github.com/boydjohnson/sawtooth-core.git","ssh_url":"git@github.com:boydjohnson/sawtooth-core.git","clone_url":"https://github.com/boydjohnson/sawtooth-core.git","svn_url":"https://github.com/boydjohnson/sawtooth-core","homepage":"http://intelledger.github.io/","size":15451,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperledger:master","ref":"master","sha":"8cfd541d8ea5fd3b8d3a016136bc66bb62352ebb","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-09-20T12:57:43Z","pushed_at":"2017-09-20T14:43:54Z","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":21712,"stargazers_count":392,"watchers_count":392,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":193,"mirror_url":null,"open_issues_count":13,"forks":193,"open_issues":13,"watchers":392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873"},"html":{"href":"https://github.com/hyperledger/sawtooth-core/pull/873"},"issue":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/873"},"comments":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/873/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/873/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/873/commits"},"statuses":{"href":"https://api.github.com/repos/hyperledger/sawtooth-core/statuses/3ab4b13f59c73c11f8cbc28959410c6e4e45cb87"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"boydjohnson"}}