-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
- Create multiple config files for required netowrk crypto material generation, channel tx generation, and channel update tx files - Create script to produce all the above - Modify all paths to math new 1.4 cryptogen file output - remove all hard coded PEMs in test files and link to generated crypto material - Update all tests to use new fixtures layout Change-Id: Ia5a1f5476b3ed5b81e31283f05eddfac71bebbe2 Signed-off-by: [email protected] <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"ca-import" : { | ||
"orgs": { | ||
"orgs": { | ||
"org1": { | ||
"username": "admin", | ||
"name": "peerOrg1", | ||
"mspid": "Org1MSP", | ||
"storePath": "/tmp/hfc-test-kvs_org1", | ||
"cryptoContent": { | ||
"privateKey": "../fixtures/msp/local/keystore/admin.pem", | ||
"signedCert": "../fixtures/msp/local/signcerts/admin.pem" | ||
"privateKey": "../fixtures/crypto-material/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/key.pem", | ||
"signedCert": "../fixtures/crypto-material/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected].pem" | ||
} | ||
}, | ||
"org2": { | ||
|
@@ -17,8 +17,8 @@ | |
"mspid": "Org2MSP", | ||
"storePath": "/tmp/hfc-test-kvs_org2", | ||
"cryptoContent": { | ||
"privateKeyPEM": "-----BEGIN PRIVATE KEY-----MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg2HxfPVxvwHYM5X8o/tEoDZ54Rl9uW13U6RElpnFOCruhRANCAATx8pv9DCChfwHoa7IRUf2z7GTmC3k2Tl8e7DWA9fZ4cpL9vdk0ZMgQZKo8Gm61NSTuHMZ8zp3uZn7QOcCmwuDg-----END PRIVATE KEY-----", | ||
"signedCertPEM": "-----BEGIN CERTIFICATE-----MIIB8TCCAZegAwIBAgIUasxwoRvBrGrdyg9+HtdJ3brpcuMwCgYIKoZIzj0EAwIwfzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xHzAdBgNVBAoTFkludGVybmV0IFdpZGdldHMsIEluYy4xDDAKBgNVBAsTA1dXVzEUMBIGA1UEAxMLZXhhbXBsZS5jb20wHhcNMTcwMTE5MTk1NjAwWhcNMTcxMjE5MDM1NjAwWjAQMQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPHym/0MIKF/AehrshFR/bPsZOYLeTZOXx7sNYD19nhykv292TRkyBBkqjwabrU1JO4cxnzOne5mftA5wKbC4OCjYDBeMA4GA1UdDwEB/wQEAwICBDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQtEfVCvKOzNSiTgpaWzaYVm6eaBzAfBgNVHSMEGDAWgBQXZ0I9qp6CP8TFHZ9bw5nRtZxIEDAKBggqhkjOPQQDAgNIADBFAiEAvGd5YDIBeQZWpP9wEHFmezvSCjrzy8VcvH/7Yuv3vcoCICy5ssNrEHEyWXqBqeKfU/zrPhHsWJFIaJEDQLRQE05l-----END CERTIFICATE-----" | ||
"privateKeyPEM": "../fixtures/crypto-material/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/key.pem", | ||
"signedCertPEM": "../fixtures/crypto-material/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/[email protected]" | ||
} | ||
} | ||
} | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.