Test with latest images

pull/135/head
Baohua Yang 2019-12-10 14:19:22 -08:00
parent 448cb27a73
commit b09a1ec756
22 changed files with 103833 additions and 93028 deletions

View File

@ -953,13 +953,13 @@
},
"signatures": [
{
"signature": "MEUCIQDkx8JTIlTbe+6uwyFmVMV4FmzVHXE8lIuqOQxYVBMc4QIgZSE/gLE+SQujOv2DZ4KymPIhs5REUXu69Sj+qrpa0cc=",
"signature": "MEQCIF2RN6Hf5DVM3RI4dLm/gp1+5Hu4clwCB5dqkK13MLKVAiA31cCmmbMLgG3dqQYal5yJsqTqa+aLTWeVzTb6PdZKCQ==",
"signature_header": {
"creator": {
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLekNDQWRHZ0F3SUJBZ0lSQU5FdnZQQ1dnQjMyZHVZcjd6VHY5eUV3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGt3TkRBeE1EZ3hOREF3V2hjTk1qa3dNekk1TURneE5EQXcKV2pCc01Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ3hNR1kyeHBaVzUwTVI4d0hRWURWUVFEREJaQlpHMXBia0J2CmNtY3lMbVY0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFaUZySkJ2UmIKcjY5Z0pOb01lak1yc1Nza1VvNUJzdTd1YnFWbGx0VGg1VUg4K08wczhFMVU5N25lY3h2S2l1a2FUa2Z3TVpEawpSSkdoVTFNOVU4UjBucU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEClZSMGpCQ1F3SW9BZ2ZCbktjRmFERS9uYkxLRmlkbGZZZ0NOTWVZeFN6NEgvSDREWWltYXE0ZUF3Q2dZSUtvWkkKemowRUF3SURTQUF3UlFJaEFJckRaOVltdEM1UXhGSGVjUFU0TmFKcmxvWENOdk5DN04yM0UrNmlHTjRJQWlCdwpUTjhOZ3lDU0o1dVFJR3Q3RDltUDhUbVpwV0hmWk9Xa0VMUnBiMWRnaGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==",
"mspid": "Org2MSP"
},
"nonce": "KwXijNWu7w/CWZKcmszWgf8lWkwUMWTq"
"nonce": "h7JwgiEk4qqd82j3VkKYfFKkJdNRZ4AE"
}
}
]
@ -969,7 +969,7 @@
"channel_id": "businesschannel",
"epoch": "0",
"extension": null,
"timestamp": "2019-12-04T19:08:07Z",
"timestamp": "2019-12-10T21:52:52Z",
"tls_cert_hash": null,
"tx_id": "",
"type": 2,
@ -980,11 +980,11 @@
"id_bytes": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLekNDQWRHZ0F3SUJBZ0lSQU5FdnZQQ1dnQjMyZHVZcjd6VHY5eUV3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGt3TkRBeE1EZ3hOREF3V2hjTk1qa3dNekk1TURneE5EQXcKV2pCc01Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ3hNR1kyeHBaVzUwTVI4d0hRWURWUVFEREJaQlpHMXBia0J2CmNtY3lMbVY0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFaUZySkJ2UmIKcjY5Z0pOb01lak1yc1Nza1VvNUJzdTd1YnFWbGx0VGg1VUg4K08wczhFMVU5N25lY3h2S2l1a2FUa2Z3TVpEawpSSkdoVTFNOVU4UjBucU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEClZSMGpCQ1F3SW9BZ2ZCbktjRmFERS9uYkxLRmlkbGZZZ0NOTWVZeFN6NEgvSDREWWltYXE0ZUF3Q2dZSUtvWkkKemowRUF3SURTQUF3UlFJaEFJckRaOVltdEM1UXhGSGVjUFU0TmFKcmxvWENOdk5DN04yM0UrNmlHTjRJQWlCdwpUTjhOZ3lDU0o1dVFJR3Q3RDltUDhUbVpwV0hmWk9Xa0VMUnBiMWRnaGc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==",
"mspid": "Org2MSP"
},
"nonce": "SQ1hlK1/NZXC7792p9STADb6NAuIKwTi"
"nonce": "RmIrMMAR64jNOItIfoGO+/W5m/kx/WJF"
}
}
},
"signature": "MEQCIF8cfxmjV+rKcKkCGAxbZMjXUaslX7QMpxE/KaoDX3CeAiA5JcFcPHGcN0ZbTyBtE2v555D98i0QNvLpEZuSMvfw/g=="
"signature": "MEUCIQCHRrjYUQToZV3Rv8KL/M/9DcR73BiXQCFrduWYH8msdAIgK8fVXqC9/QeNubEor3+wl9A5w2g+1kAPKNYi2+uGoFs="
}
},
"header": {
@ -992,7 +992,7 @@
"channel_id": "businesschannel",
"epoch": "0",
"extension": null,
"timestamp": "2019-12-04T19:08:07Z",
"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Y1B3eCtYeGpRREJ4aApRUT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
"mspid": "OrdererMSP"
},
"nonce": "z0SaBOBXwvzKotyQemJY94rdugcNbQAt"
"nonce": "1tmFZ0/ySXebDlpeFMtbzwsdcsfdW96L"
}
}
},
"signature": "MEUCIQDm5HOVMcIB/wXKPIj8plo7kqL46wRl74Hx4VsXv/WE3AIgGWkoP1Q8ShgyHC5NvnXuzYqBXzDnaQnDQA29TTNBLy0="
"signature": "MEQCIDdtMP1TckAIrkIiED2/B0a3Bc6N8GuEgjZwlhaShCy3AiBw6ykG5fspQjJdUZuL4LrE7tFOzPNzmKALx0f3cmw+xQ=="
}
]
},
"header": {
"data_hash": "qJ1DsOSFxnyUMykXFUFMduGCHFj53/HYiFjivgq/xsE=",
"data_hash": "Md9bIYSdaykEWjgvzgselOvM/hIj1PFk2aY906QsKBw=",
"number": "2",
"previous_hash": "mQ5pII+g9b+loA43uVHhJSAXz98amGDl2jwd1ulTc5w="
"previous_hash": "Zi+FL4AQt7ez9RrnJ2Al3lx05REALY6Een/WUeWRNWg="
},
"metadata": {
"metadata": [
"ChEKAggCEgsKCQoDAQIDEAQYBhL+BgqyBgqVBgoKT3JkZXJlck1TUBKGBi0tLS0tQkVHSU4gQ0VSVElGSUNBVEUtLS0tLQpNSUlDRFRDQ0FiU2dBd0lCQWdJUkFKQkZGUkRMejZVbjcvMHdMVWtKZHhNd0NnWUlLb1pJemowRUF3SXdhVEVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4RkRBU0JnTlZCQW9UQzJWNFlXMXdiR1V1WTI5dE1SY3dGUVlEVlFRREV3NWpZUzVsZUdGdApjR3hsTG1OdmJUQWVGdzB4T1RBME1ERXdPREUwTURCYUZ3MHlPVEF6TWprd09ERTBNREJhTUZreEN6QUpCZ05WCkJBWVRB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JpQkcKY21GdVkybHpZMjh4RkRBU0JnTlZCQW9UQzJWNFlXMXdiR1V1WTI5dE1SY3dGUVlEVlFRREV3NWpZUzVsZUdGdApjR3hsTG1OdmJUQWVGdzB4T1RBME1ERXdPREUwTURCYUZ3MHlPVEF6TWprd09ERTBNREJhTUZreEN6QUpCZ05WCkJBWVRBbFZUTVJNd0VRWURWUVFJRXdwRFlXeHBabTl5Ym1saE1SWXdGQVlEVlFRSEV3MVRZVzRnUm5KaGJtTnAKYzJOdk1SMHdHd1lEVlFRREV4UnZjbVJsY21WeU1DNWxlR0Z0Y0d4bExtTnZiVEJaTUJNR0J5cUdTTTQ5QWdFRwpDQ3FHU000OUF3RUhBMElBQklCTWlLeG4wTFdvVmxMdjhYeGJYMUQ0NmVWTDZhOHJwVlRjZGdQZWNxOGNEcHROCjRPZ3NhSk5qcDkwaktGT3BDUE84NVdLS0tCdm9oT28rQ0JvWjhwR2pUVEJMTUE0R0ExVWREd0VCL3dRRUF3SUgKZ0RBTUJnTlZIUk1CQWY4RUFqQUFNQ3NHQTFVZEl3UWtNQ0tBSU1kNjNTOVJ2TnV5Mlh2dDZFY1lvOHVrWGoyVQo0Vys0RnJWQ0pDL2Nnbm1PTUFvR0NDcUdTTTQ5QkFNQ0EwY0FNRVFDSUFzR3lHSitkRTRGNTZxOFlVZTBXTEs2Ck4rdnNYUkhEbFJzY01DQjd5eFhhQWlBc3lKR2QwcnRYbWFlOWIzUFYvZXZKTlllZ1JRUmNQd3grWHhqUURCeGgKUVE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tChIYsBvHqZaXp18Aq5m4rWQiKmEG166IrlrhEkYwRAIgEU2g1XmDvT/YV9u1GLjlbuQu1R0r2EDQgCVIZpPWuTICIDhi77TSAnC9Bi3OT1KwetxsIe/3T3uJw99hRe66B/TL",
"CgIIAg==",
"",
"",

View File

@ -343,38 +343,38 @@
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.groups.Application.version=1
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.mod_policy=
.data.data[0].payload.data.last_update.payload.data.config_update.write_set.version=0
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEUCIQDkx8JTIlTbe+6uwyFmVMV4FmzVHXE8lIuqOQxYVBMc4QIgZSE/gLE+SQujOv2DZ4KymPIhs5REUXu69Sj+qrpa0cc=
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature=MEQCIF2RN6Hf5DVM3RI4dLm/gp1+5Hu4clwCB5dqkK13MLKVAiA31cCmmbMLgG3dqQYal5yJsqTqa+aLTWeVzTb6PdZKCQ==
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKzCCAdGgAwIBAgIRANEvvPCWgB32duYr7zTv9yEwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMTkwNDAxMDgxNDAwWhcNMjkwMzI5MDgxNDAw\nWjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZBZG1pbkBv\ncmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiFrJBvRb\nr69gJNoMejMrsSskUo5Bsu7ubqVlltTh5UH8+O0s8E1U97necxvKiukaTkfwMZDk\nRJGhU1M9U8R0nqNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD\nVR0jBCQwIoAgfBnKcFaDE/nbLKFidlfYgCNMeYxSz4H/H4DYimaq4eAwCgYIKoZI\nzj0EAwIDSAAwRQIhAIrDZ9YmtC5QxFHecPU4NaJrloXCNvNC7N23E+6iGN4IAiBw\nTN8NgyCSJ5uQIGt7D9mP8TmZpWHfZOWkELRpb1dghg==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.creator.mspid=Org2MSP
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=KwXijNWu7w/CWZKcmszWgf8lWkwUMWTq
.data.data[0].payload.data.last_update.payload.data.signatures[0].signature_header.nonce=h7JwgiEk4qqd82j3VkKYfFKkJdNRZ4AE
.data.data[0].payload.data.last_update.payload.header.channel_header.channel_id=businesschannel
.data.data[0].payload.data.last_update.payload.header.channel_header.epoch=0
.data.data[0].payload.data.last_update.payload.header.channel_header.extension=None
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2019-12-04T19:08:07Z
.data.data[0].payload.data.last_update.payload.header.channel_header.timestamp=2019-12-10T21:52:52Z
.data.data[0].payload.data.last_update.payload.header.channel_header.tls_cert_hash=None
.data.data[0].payload.data.last_update.payload.header.channel_header.tx_id=
.data.data[0].payload.data.last_update.payload.header.channel_header.type=2
.data.data[0].payload.data.last_update.payload.header.channel_header.version=0
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICKzCCAdGgAwIBAgIRANEvvPCWgB32duYr7zTv9yEwCgYIKoZIzj0EAwIwczEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh\nLm9yZzIuZXhhbXBsZS5jb20wHhcNMTkwNDAxMDgxNDAwWhcNMjkwMzI5MDgxNDAw\nWjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZBZG1pbkBv\ncmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiFrJBvRb\nr69gJNoMejMrsSskUo5Bsu7ubqVlltTh5UH8+O0s8E1U97necxvKiukaTkfwMZDk\nRJGhU1M9U8R0nqNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD\nVR0jBCQwIoAgfBnKcFaDE/nbLKFidlfYgCNMeYxSz4H/H4DYimaq4eAwCgYIKoZI\nzj0EAwIDSAAwRQIhAIrDZ9YmtC5QxFHecPU4NaJrloXCNvNC7N23E+6iGN4IAiBw\nTN8NgyCSJ5uQIGt7D9mP8TmZpWHfZOWkELRpb1dghg==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.data.last_update.payload.header.signature_header.creator.mspid=Org2MSP
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=SQ1hlK1/NZXC7792p9STADb6NAuIKwTi
.data.data[0].payload.data.last_update.signature=MEQCIF8cfxmjV+rKcKkCGAxbZMjXUaslX7QMpxE/KaoDX3CeAiA5JcFcPHGcN0ZbTyBtE2v555D98i0QNvLpEZuSMvfw/g==
.data.data[0].payload.data.last_update.payload.header.signature_header.nonce=RmIrMMAR64jNOItIfoGO+/W5m/kx/WJF
.data.data[0].payload.data.last_update.signature=MEUCIQCHRrjYUQToZV3Rv8KL/M/9DcR73BiXQCFrduWYH8msdAIgK8fVXqC9/QeNubEor3+wl9A5w2g+1kAPKNYi2+uGoFs=
.data.data[0].payload.header.channel_header.channel_id=businesschannel
.data.data[0].payload.header.channel_header.epoch=0
.data.data[0].payload.header.channel_header.extension=None
.data.data[0].payload.header.channel_header.timestamp=2019-12-04T19:08:07Z
.data.data[0].payload.header.channel_header.timestamp=2019-12-10T21:52:52Z
.data.data[0].payload.header.channel_header.tls_cert_hash=None
.data.data[0].payload.header.channel_header.tx_id=
.data.data[0].payload.header.channel_header.type=1
.data.data[0].payload.header.channel_header.version=0
.data.data[0].payload.header.signature_header.creator.id_bytes=b64(b'-----BEGIN CERTIFICATE-----\nMIICDTCCAbSgAwIBAgIRAJBFFRDLz6Un7/0wLUkJdxMwCgYIKoZIzj0EAwIwaTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt\ncGxlLmNvbTAeFw0xOTA0MDEwODE0MDBaFw0yOTAzMjkwODE0MDBaMFkxCzAJBgNV\nBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp\nc2NvMR0wGwYDVQQDExRvcmRlcmVyMC5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABIBMiKxn0LWoVlLv8XxbX1D46eVL6a8rpVTcdgPecq8cDptN\n4OgsaJNjp90jKFOpCPO85WKKKBvohOo+CBoZ8pGjTTBLMA4GA1UdDwEB/wQEAwIH\ngDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIMd63S9RvNuy2Xvt6EcYo8ukXj2U\n4W+4FrVCJC/cgnmOMAoGCCqGSM49BAMCA0cAMEQCIAsGyGJ+dE4F56q8YUe0WLK6\nN+vsXRHDlRscMCB7yxXaAiAsyJGd0rtXmae9b3PV/evJNYegRQRcPwx+XxjQDBxh\nQQ==\n-----END CERTIFICATE-----\n')
.data.data[0].payload.header.signature_header.creator.mspid=OrdererMSP
.data.data[0].payload.header.signature_header.nonce=z0SaBOBXwvzKotyQemJY94rdugcNbQAt
.data.data[0].signature=MEUCIQDm5HOVMcIB/wXKPIj8plo7kqL46wRl74Hx4VsXv/WE3AIgGWkoP1Q8ShgyHC5NvnXuzYqBXzDnaQnDQA29TTNBLy0=
.header.data_hash=qJ1DsOSFxnyUMykXFUFMduGCHFj53/HYiFjivgq/xsE=
.data.data[0].payload.header.signature_header.nonce=1tmFZ0/ySXebDlpeFMtbzwsdcsfdW96L
.data.data[0].signature=MEQCIDdtMP1TckAIrkIiED2/B0a3Bc6N8GuEgjZwlhaShCy3AiBw6ykG5fspQjJdUZuL4LrE7tFOzPNzmKALx0f3cmw+xQ==
.header.data_hash=Md9bIYSdaykEWjgvzgselOvM/hIj1PFk2aY906QsKBw=
.header.number=2
.header.previous_hash=mQ5pII+g9b+loA43uVHhJSAXz98amGDl2jwd1ulTc5w=
.metadata.metadata[0]=ChEKAggCEgsKCQoDAQIDEAQYBhL+BgqyBgqVBgoKT3JkZXJlck1TUBKGBi0tLS0tQkVHSU4gQ0VSVElGSUNBVEUtLS0tLQpNSUlDRFRDQ0FiU2dBd0lCQWdJUkFKQkZGUkRMejZVbjcvMHdMVWtKZHhNd0NnWUlLb1pJemowRUF3SXdhVEVMCk1Ba0dBMVVFQmhNQ1ZWTXhFekFSQmdOVkJBZ1RDa05oYkdsbWIzSnVhV0V4RmpBVUJnTlZCQWNURFZOaGJpQkcKY21GdVkybHpZMjh4RkRBU0JnTlZCQW9UQzJWNFlXMXdiR1V1WTI5dE1SY3dGUVlEVlFRREV3NWpZUzVsZUdGdApjR3hsTG1OdmJUQWVGdzB4T1RBME1ERXdPREUwTURCYUZ3MHlPVEF6TWprd09ERTBNREJhTUZreEN6QUpCZ05WCkJBWVRBbFZUTVJNd0VRWURWUVFJRXdwRFlXeHBabTl5Ym1saE1SWXdGQVlEVlFRSEV3MVRZVzRnUm5KaGJtTnAKYzJOdk1SMHdHd1lEVlFRREV4UnZjbVJsY21WeU1DNWxlR0Z0Y0d4bExtTnZiVEJaTUJNR0J5cUdTTTQ5QWdFRwpDQ3FHU000OUF3RUhBMElBQklCTWlLeG4wTFdvVmxMdjhYeGJYMUQ0NmVWTDZhOHJwVlRjZGdQZWNxOGNEcHROCjRPZ3NhSk5qcDkwaktGT3BDUE84NVdLS0tCdm9oT28rQ0JvWjhwR2pUVEJMTUE0R0ExVWREd0V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dk1SMHdHd1lEVlFRREV4UnZjbVJsY21WeU1DNWxlR0Z0Y0d4bExtTnZiVEJaTUJNR0J5cUdTTTQ5QWdFRwpDQ3FHU000OUF3RUhBMElBQklCTWlLeG4wTFdvVmxMdjhYeGJYMUQ0NmVWTDZhOHJwVlRjZGdQZWNxOGNEcHROCjRPZ3NhSk5qcDkwaktGT3BDUE84NVdLS0tCdm9oT28rQ0JvWjhwR2pUVEJMTUE0R0ExVWREd0VCL3dRRUF3SUgKZ0RBTUJnTlZIUk1CQWY4RUFqQUFNQ3NHQTFVZEl3UWtNQ0tBSU1kNjNTOVJ2TnV5Mlh2dDZFY1lvOHVrWGoyVQo0Vys0RnJWQ0pDL2Nnbm1PTUFvR0NDcUdTTTQ5QkFNQ0EwY0FNRVFDSUFzR3lHSitkRTRGNTZxOFlVZTBXTEs2Ck4rdnNYUkhEbFJzY01DQjd5eFhhQWlBc3lKR2QwcnRYbWFlOWIzUFYvZXZKTlllZ1JRUmNQd3grWHhqUURCeGgKUVE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tChIYsBvHqZaXp18Aq5m4rWQiKmEG166IrlrhEkYwRAIgEU2g1XmDvT/YV9u1GLjlbuQu1R0r2EDQgCVIZpPWuTICIDhi77TSAnC9Bi3OT1KwetxsIe/3T3uJw99hRe66B/TL
.metadata.metadata[1]=CgIIAg==
.metadata.metadata[2]=
.metadata.metadata[3]=

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@ def decode_if_b64(raw):
except binascii.Error:
success = False
if success: # result_bytes = b'xxxx\xx'
if success and False: # result_bytes = b'xxxx\xx'
print('===================Start==================================')
print(raw)
print(result)
@ -44,7 +44,7 @@ def check_tree(tree, prefix, f_write):
else: # leaf
result = v
if 'cert' in k or 'id_bytes' in k or 'value' in k and 'hash' not in k:
print(prefix_path)
# print(prefix_path)
success, result = decode_if_b64(v)
if success:
result = "b64({})".format(result)
@ -59,7 +59,7 @@ def check_tree(tree, prefix, f_write):
if 'metadata' not in prefix_path:
success, result = decode_if_b64(v)
if success:
print(prefix_path)
# print(prefix_path)
result = "b64({})".format(result)
f_write.write("{}={}\n".format(prefix_path, result))
else: # json only allow dict or list structure