diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 922d878ee1d439c782591241030cc9ec9ee5c2a0..9996eddab860c9e1993ad0462cce3c072f5dec1c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ variables: DOCKER_IMAGE: bmastc/golang-glide:latest # See https://docs.gitlab.com/ee/api/jobs.html#download-a-single-artifact-file-from-specific-tag-or-branch REPOS_API: https://gitlab.com/api/v4/projects/elixxir%2F - DL_URL_FRAG: jobs/artifacts/master/raw/release + DL_URL_FRAG: jobs/artifacts/dispatch/raw/release SERVER_URL: ${REPOS_API}server/$DL_URL_FRAG/server.linux64?job=build CLIENT_URL: ${REPOS_API}client/$DL_URL_FRAG/client.linux64?job=build UDB_URL: ${REPOS_API}user-discovery-bot/$DL_URL_FRAG/udb.linux64?job=build @@ -39,7 +39,7 @@ before_script: stages: - installbinaries - - basice2e # Basic end to end testing + - tests - benchmark installbinaries: @@ -67,7 +67,7 @@ installbinaries: - bin/ basice2e: - stage: basice2e + stage: tests image: $DOCKER_IMAGE script: - mkdir -p ~/.elixxir @@ -81,6 +81,57 @@ basice2e: - basice2e/results/ - bin/ +smokeinfra: + stage: tests + image: $DOCKER_IMAGE + script: + - mkdir -p ~/.elixxir + - echo $PWD + - cd smokeinfra + - ./run.sh + - cd .. + artifacts: + when: always + paths: + - smokeinfra/results/ + - bin/ + + +smokeinfraBatch4: + stage: tests + image: $DOCKER_IMAGE + script: + - mkdir -p ~/.elixxir + - echo $PWD + - cd smokeinfra + - git checkout -- . + - sed -i 's/\ 42/\ 4/g' *.yaml + - ./run.sh + - cd .. + artifacts: + when: always + paths: + - smokeinfra/results/ + - bin/ + +smokeinfraBatch1: + stage: tests + image: $DOCKER_IMAGE + script: + - mkdir -p ~/.elixxir + - echo $PWD + - cd smokeinfra + - git checkout -- . + - sed -i 's/\ 42/\ 1/g' *.yaml + - ./run.sh + - cd .. + artifacts: + when: always + paths: + - smokeinfra/results/ + - bin/ + + benchmark: stage: benchmark image: $DOCKER_IMAGE diff --git a/basice2e/gateway-1.yaml b/basice2e/gateway-1.yaml index f11f062cdb3a3972305533ab5ecd5c2a1b034a21..1237a08edbe0046a975979c966aae96f80eaaf0e 100644 --- a/basice2e/gateway-1.yaml +++ b/basice2e/gateway-1.yaml @@ -1,5 +1,6 @@ +# START YAML === ################################################################################ -## Copyright © 2018 Privategrity Corporation # +## Copyright © 2019 Privategrity Corporation # ## # ## All rights reserved. # ################################################################################ @@ -7,6 +8,7 @@ # Output log file log: "results/gateways/gateway-1.log" +# Used for debugging verbose: "true" # The cMix nodes in the network @@ -16,8 +18,6 @@ cMixNodes: - "localhost:50002" - "localhost:50003" - "localhost:50004" -# The index to which this Gateway is attached in the cMixNodes list -GatewayNodeIndex: 0 # The listening address of this gateway GatewayAddress: "localhost:8440" @@ -26,13 +26,16 @@ GatewayAddress: "localhost:8440" # deleted from the user's message queue MessageTimeout: 1800 +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file serverCertPath: "../keys/cmix.rip.crt" ### Anything below this line is to be deprecated ### -# Number of nodes in the cMix Network - # Batch size of the cMix Network (to be deprecated) batchSize: 4 +# === END YAML diff --git a/basice2e/gateway-2.yaml b/basice2e/gateway-2.yaml index b556c4868d1cd5fbccd334998a24296fc72a2cba..b0c1dde31e0af7759af93e76094927ee4749d040 100644 --- a/basice2e/gateway-2.yaml +++ b/basice2e/gateway-2.yaml @@ -1,5 +1,6 @@ +# START YAML === ################################################################################ -## Copyright © 2018 Privategrity Corporation # +## Copyright © 2019 Privategrity Corporation # ## # ## All rights reserved. # ################################################################################ @@ -7,6 +8,7 @@ # Output log file log: "results/gateways/gateway-2.log" +# Used for debugging verbose: "true" # The cMix nodes in the network @@ -16,8 +18,6 @@ cMixNodes: - "localhost:50002" - "localhost:50003" - "localhost:50004" -# The index to which this Gateway is attached in the cMixNodes list -GatewayNodeIndex: 1 # The listening address of this gateway GatewayAddress: "localhost:8441" @@ -26,13 +26,16 @@ GatewayAddress: "localhost:8441" # deleted from the user's message queue MessageTimeout: 1800 +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file serverCertPath: "../keys/cmix.rip.crt" ### Anything below this line is to be deprecated ### -# Number of nodes in the cMix Network - # Batch size of the cMix Network (to be deprecated) batchSize: 4 +# === END YAML diff --git a/basice2e/gateway-3.yaml b/basice2e/gateway-3.yaml index cc775fd974f21563e400ce4f13ae549d07b2dcee..dccf68d1350676534ecd555de750a0c4699587c6 100644 --- a/basice2e/gateway-3.yaml +++ b/basice2e/gateway-3.yaml @@ -1,5 +1,6 @@ +# START YAML === ################################################################################ -## Copyright © 2018 Privategrity Corporation # +## Copyright © 2019 Privategrity Corporation # ## # ## All rights reserved. # ################################################################################ @@ -7,6 +8,7 @@ # Output log file log: "results/gateways/gateway-3.log" +# Used for debugging verbose: "true" # The cMix nodes in the network @@ -16,8 +18,6 @@ cMixNodes: - "localhost:50002" - "localhost:50003" - "localhost:50004" -# The index to which this Gateway is attached in the cMixNodes list -GatewayNodeIndex: 2 # The listening address of this gateway GatewayAddress: "localhost:8442" @@ -26,13 +26,16 @@ GatewayAddress: "localhost:8442" # deleted from the user's message queue MessageTimeout: 1800 +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file serverCertPath: "../keys/cmix.rip.crt" ### Anything below this line is to be deprecated ### -# Number of nodes in the cMix Network - # Batch size of the cMix Network (to be deprecated) batchSize: 4 +# === END YAML diff --git a/basice2e/gateway-4.yaml b/basice2e/gateway-4.yaml index 01a4c87d6587e1ff62d7e06d1ee053c2c1755cb1..a0630ae88ff8ac8c1800a0923f32ea85373b624a 100644 --- a/basice2e/gateway-4.yaml +++ b/basice2e/gateway-4.yaml @@ -1,5 +1,6 @@ +# START YAML === ################################################################################ -## Copyright © 2018 Privategrity Corporation # +## Copyright © 2019 Privategrity Corporation # ## # ## All rights reserved. # ################################################################################ @@ -7,6 +8,7 @@ # Output log file log: "results/gateways/gateway-4.log" +# Used for debugging verbose: "true" # The cMix nodes in the network @@ -16,8 +18,6 @@ cMixNodes: - "localhost:50002" - "localhost:50003" - "localhost:50004" -# The index to which this Gateway is attached in the cMixNodes list -GatewayNodeIndex: 3 # The listening address of this gateway GatewayAddress: "localhost:8443" @@ -26,13 +26,16 @@ GatewayAddress: "localhost:8443" # deleted from the user's message queue MessageTimeout: 1800 +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file serverCertPath: "../keys/cmix.rip.crt" ### Anything below this line is to be deprecated ### -# Number of nodes in the cMix Network - # Batch size of the cMix Network (to be deprecated) batchSize: 4 +# === END YAML diff --git a/basice2e/gateway-5.yaml b/basice2e/gateway-5.yaml index bddcb768b29c2f79eebf80ffdf7c6efabdd8d26f..4c6020588d657979f7b8ccc035a43702c24a29ef 100644 --- a/basice2e/gateway-5.yaml +++ b/basice2e/gateway-5.yaml @@ -1,5 +1,6 @@ +# START YAML === ################################################################################ -## Copyright © 2018 Privategrity Corporation # +## Copyright © 2019 Privategrity Corporation # ## # ## All rights reserved. # ################################################################################ @@ -7,6 +8,7 @@ # Output log file log: "results/gateways/gateway-5.log" +# Used for debugging verbose: "true" # The cMix nodes in the network @@ -16,8 +18,6 @@ cMixNodes: - "localhost:50002" - "localhost:50003" - "localhost:50004" -# The index to which this Gateway is attached in the cMixNodes list -GatewayNodeIndex: 4 # The listening address of this gateway GatewayAddress: "localhost:8444" @@ -26,13 +26,16 @@ GatewayAddress: "localhost:8444" # deleted from the user's message queue MessageTimeout: 1800 +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file serverCertPath: "../keys/cmix.rip.crt" ### Anything below this line is to be deprecated ### -# Number of nodes in the cMix Network - # Batch size of the cMix Network (to be deprecated) batchSize: 4 +# === END YAML diff --git a/basice2e/run.sh b/basice2e/run.sh index e44b458ecec5b49163b6bef46fe931a52b7482e8..4abe1179e5e16a1a9f3a581c2c597e9cb481463b 100755 --- a/basice2e/run.sh +++ b/basice2e/run.sh @@ -22,7 +22,7 @@ echo "STARTING SERVERS..." for SERVERID in $(seq 5 -1 1) do IDX=$(($SERVERID - 1)) - SERVERCMD="../bin/server -v -i $IDX --config server-$SERVERID.yaml" + SERVERCMD="../bin/server -v -i $IDX --roundBufferTimeout 300s --config server-$SERVERID.yaml" if [ $SERVERID -eq 4 ]; then sleep 15 # This will force a CDE timeout fi @@ -31,10 +31,23 @@ do echo "$SERVERCMD -- $PIDVAL" done +sleep 15 # Give servers some time to boot + +# Start gateways +for GWID in $(seq 5 -1 1) +do + IDX=$(($GWID - 1)) + GATEWAYCMD="../bin/gateway -v -i $IDX --config gateway-$GWID.yaml" + $GATEWAYCMD > $GATEWAYLOGS/gateway-$GWID.console 2>&1 & + PIDVAL=$! + echo "$GATEWAYCMD -- $PIDVAL" +done + + jobs -p > results/serverpids finish() { - echo "STOPPING SERVERS..." + echo "STOPPING SERVERS AND GATEWAYS..." # NOTE: jobs -p doesn't work in a signal handler for job in $(cat results/serverpids) do @@ -49,7 +62,7 @@ finish() { trap finish EXIT trap finish INT -sleep 45 # FIXME: We should not need this, but the servers don't respond quickly +sleep 15 # FIXME: We should not need this, but the servers don't respond quickly # enough on boot right now. export GATEWAY="localhost:8444,localhost:8443,localhost:8442,localhost:8441,localhost:8440" @@ -100,16 +113,6 @@ PIDVAL=$! echo $PIDVAL >> results/serverpids echo "$DUMMYCMD -- $PIDVAL" -# Start gateways -for GWID in $(seq 5 -1 1) -do - GATEWAYCMD="../bin/gateway -v --config gateway-$GWID.yaml" - $GATEWAYCMD > $GATEWAYLOGS/gateway-$GWID.console 2>&1 & - PIDVAL=$! - echo $PIDVAL >> results/serverpids - echo "$GATEWAYCMD -- $PIDVAL" -done - # Register two users and then do UDB search on each other CLIENTCMD="timeout 90s ../bin/client -f blob9 -g $GATEWAY -E spencer@elixxir.io -i 9 -c ../keys/gateway.cmix.rip.crt" eval $CLIENTCMD >> $CLIENTOUT/client9.out 2>&1 & diff --git a/basice2e/server-1.yaml b/basice2e/server-1.yaml index a0a0abf164a2cb9bb8ae8a7901a01493cc9187e8..bedc78ad2e058d9f732eaea605971773350c3d25 100644 --- a/basice2e/server-1.yaml +++ b/basice2e/server-1.yaml @@ -1,28 +1,56 @@ -logPath: "results/servers/server-1.log" -verbose: "false" -batchSize: 4 -dbUsername: "bernardo" -dbPassword: "" -dbName: "node1" -dbAddresses: - - "" - - "" - - "" - - "" - - "" -servers: - - localhost:50000 - - localhost:50001 - - localhost:50002 - - localhost:50003 - - localhost:50004 +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 4 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/servers/server-1.log" + addresses: + - "localhost:50000" + - "localhost:50001" + - "localhost:50002" + - "localhost:50003" + - "localhost:50004" +database: + name: "node1" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" + - "" + - "" gateways: - - "localhost:8440" - - "localhost:8441" - - "localhost:8442" - - "localhost:8443" - - "localhost:8444" -keyPath: "../keys/cmix.rip.key" -certPath: "../keys/cmix.rip.crt" -gatewayCertPath: "../keys/gateway.cmix.rip.crt" -skipReg: "true" + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:8440" + - "localhost:8441" + - "localhost:8442" + - "localhost:8443" + - "localhost:8444" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/basice2e/server-2.yaml b/basice2e/server-2.yaml index 301e4e76c2903a52d60ed62fb69f518509ba5f2f..b860a56bbb18a688c840f943cc216f1227b5de77 100644 --- a/basice2e/server-2.yaml +++ b/basice2e/server-2.yaml @@ -1,28 +1,56 @@ -logPath: "results/servers/server-2.log" -verbose: "false" -batchSize: 4 -dbUsername: "bernardo" -dbPassword: "" -dbName: "node2" -dbAddresses: - - "" - - "" - - "" - - "" - - "" -servers: - - localhost:50000 - - localhost:50001 - - localhost:50002 - - localhost:50003 - - localhost:50004 +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 4 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/servers/server-2.log" + addresses: + - "localhost:50000" + - "localhost:50001" + - "localhost:50002" + - "localhost:50003" + - "localhost:50004" +database: + name: "node2" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" + - "" + - "" gateways: - - "localhost:8440" - - "localhost:8441" - - "localhost:8442" - - "localhost:8443" - - "localhost:8444" -keyPath: "../keys/cmix.rip.key" -certPath: "../keys/cmix.rip.crt" -gatewayCertPath: "../keys/gateway.cmix.rip.crt" -skipReg: "true" + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:8440" + - "localhost:8441" + - "localhost:8442" + - "localhost:8443" + - "localhost:8444" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/basice2e/server-3.yaml b/basice2e/server-3.yaml index 11fe51776956aad201413b90a90d6927216694d5..eaeee2b9aa81b9f485adaf1021d6a52e5d969fb7 100644 --- a/basice2e/server-3.yaml +++ b/basice2e/server-3.yaml @@ -1,28 +1,56 @@ -logPath: "results/servers/server-3.log" -verbose: "false" -batchSize: 4 -dbUsername: "bernardo" -dbPassword: "" -dbName: "node3" -dbAddresses: - - "" - - "" - - "" - - "" - - "" -servers: - - localhost:50000 - - localhost:50001 - - localhost:50002 - - localhost:50003 - - localhost:50004 +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 4 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/servers/server-3.log" + addresses: + - "localhost:50000" + - "localhost:50001" + - "localhost:50002" + - "localhost:50003" + - "localhost:50004" +database: + name: "node3" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" + - "" + - "" gateways: - - "localhost:8440" - - "localhost:8441" - - "localhost:8442" - - "localhost:8443" - - "localhost:8444" -keyPath: "../keys/cmix.rip.key" -certPath: "../keys/cmix.rip.crt" -gatewayCertPath: "../keys/gateway.cmix.rip.crt" -skipReg: "true" + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:8440" + - "localhost:8441" + - "localhost:8442" + - "localhost:8443" + - "localhost:8444" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/basice2e/server-4.yaml b/basice2e/server-4.yaml index 0b7b940dc019be36512253f32771e494fe8c8d86..22fd67b0280f0b46d7c7ef2306fadf713c08846a 100644 --- a/basice2e/server-4.yaml +++ b/basice2e/server-4.yaml @@ -1,28 +1,56 @@ -logPath: "results/servers/server-4.log" -verbose: "false" -batchSize: 4 -dbUsername: "bernardo" -dbPassword: "" -dbName: "node4" -dbAddresses: - - "" - - "" - - "" - - "" - - "" -servers: - - localhost:50000 - - localhost:50001 - - localhost:50002 - - localhost:50003 - - localhost:50004 +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 4 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/servers/server-4.log" + addresses: + - "localhost:50000" + - "localhost:50001" + - "localhost:50002" + - "localhost:50003" + - "localhost:50004" +database: + name: "node4" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" + - "" + - "" gateways: - - "localhost:8440" - - "localhost:8441" - - "localhost:8442" - - "localhost:8443" - - "localhost:8444" -keyPath: "../keys/cmix.rip.key" -certPath: "../keys/cmix.rip.crt" -gatewayCertPath: "../keys/gateway.cmix.rip.crt" -skipReg: "true" + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:8440" + - "localhost:8441" + - "localhost:8442" + - "localhost:8443" + - "localhost:8444" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/basice2e/server-5.yaml b/basice2e/server-5.yaml index 2b9a35c5dd232175cddfb79bf7a67ceb6a35997c..a6922318ad0e76e31e2402ee22ed7c28d56a61a1 100644 --- a/basice2e/server-5.yaml +++ b/basice2e/server-5.yaml @@ -1,28 +1,56 @@ -logPath: "results/servers/server-5.log" -verbose: "false" -batchSize: 4 -dbUsername: "bernardo" -dbPassword: "" -dbName: "node5" -dbAddresses: - - "" - - "" - - "" - - "" - - "" -servers: - - localhost:50000 - - localhost:50001 - - localhost:50002 - - localhost:50003 - - localhost:50004 +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 4 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/servers/server-5.log" + addresses: + - "localhost:50000" + - "localhost:50001" + - "localhost:50002" + - "localhost:50003" + - "localhost:50004" +database: + name: "node5" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" + - "" + - "" gateways: - - "localhost:8440" - - "localhost:8441" - - "localhost:8442" - - "localhost:8443" - - "localhost:8444" -keyPath: "../keys/cmix.rip.key" -certPath: "../keys/cmix.rip.crt" -gatewayCertPath: "../keys/gateway.cmix.rip.crt" -skipReg: "true" + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:8440" + - "localhost:8441" + - "localhost:8442" + - "localhost:8443" + - "localhost:8444" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/smokeinfra/README.md b/smokeinfra/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9aea756f64276afdd1a09c766b04afa5bf472f40 --- /dev/null +++ b/smokeinfra/README.md @@ -0,0 +1,13 @@ += Smoke Infrastructure Test (smokeinfra) + +This test runs 3 servers and gateways as a smoke test against the +system infrastructure. Details are: + +* 3 Nodes, BatchSize of 42 +* 3 Gateways, each connected to its own node + +This test does not produce any results, but it does produce logs for each +server and client. + +The test passes when gateways and servers are killed without errors. Otherwise +every console log is tail'd for diagnostic output. diff --git a/smokeinfra/gateway-1.yaml b/smokeinfra/gateway-1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9e61b63e368df61d8a42838d80c7551cbff0a1a --- /dev/null +++ b/smokeinfra/gateway-1.yaml @@ -0,0 +1,39 @@ +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ + +# Output log file +log: "results/gateway-1.log" + +# Used for debugging +verbose: "true" + +# The cMix nodes in the network +cMixNodes: + - "localhost:60000" + - "localhost:60001" + - "localhost:60002" + +# The listening address of this gateway +GatewayAddress: "localhost:9440" + +# The number of seconds a message should remain in the globals before being +# deleted from the user's message queue +MessageTimeout: 1800 + +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file +keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file +certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file +serverCertPath: "../keys/cmix.rip.crt" + +### Anything below this line is to be deprecated ### + +# Batch size of the cMix Network (to be deprecated) +batchSize: 42 +# === END YAML diff --git a/smokeinfra/gateway-2.yaml b/smokeinfra/gateway-2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7575da4c779a29cbe171616c0d250f2057b3d5c1 --- /dev/null +++ b/smokeinfra/gateway-2.yaml @@ -0,0 +1,39 @@ +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ + +# Output log file +log: "results/gateway-2.log" + +# Used for debugging +verbose: "true" + +# The cMix nodes in the network +cMixNodes: + - "localhost:60000" + - "localhost:60001" + - "localhost:60002" + +# The listening address of this gateway +GatewayAddress: "localhost:9441" + +# The number of seconds a message should remain in the globals before being +# deleted from the user's message queue +MessageTimeout: 1800 + +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file +keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file +certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file +serverCertPath: "../keys/cmix.rip.crt" + +### Anything below this line is to be deprecated ### + +# Batch size of the cMix Network (to be deprecated) +batchSize: 42 +# === END YAML diff --git a/smokeinfra/gateway-3.yaml b/smokeinfra/gateway-3.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fdd70948f2fa906cd99485625146760389525a27 --- /dev/null +++ b/smokeinfra/gateway-3.yaml @@ -0,0 +1,39 @@ +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ + +# Output log file +log: "results/gateway-3.log" + +# Used for debugging +verbose: "true" + +# The cMix nodes in the network +cMixNodes: + - "localhost:60000" + - "localhost:60001" + - "localhost:60002" + +# The listening address of this gateway +GatewayAddress: "localhost:9442" + +# The number of seconds a message should remain in the globals before being +# deleted from the user's message queue +MessageTimeout: 1800 + +# === REQUIRED FOR ENABLING TLS === +# Path to the gateway private key file +keyPath: "../keys/gateway.cmix.rip.key" +# Path to the gateway certificate file +certPath: "../keys/gateway.cmix.rip.crt" +# Path to the gateway certificate file +serverCertPath: "../keys/cmix.rip.crt" + +### Anything below this line is to be deprecated ### + +# Batch size of the cMix Network (to be deprecated) +batchSize: 42 +# === END YAML diff --git a/smokeinfra/run.sh b/smokeinfra/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..bca49c7ead7b4b8e824ae8c196f902e02fbe55c6 --- /dev/null +++ b/smokeinfra/run.sh @@ -0,0 +1,65 @@ +#!/bin/sh + +# NOTE: This is verbose on purpose. + +set -e + +rm -fr results || true + +SERVERLOGS=results/ +GATEWAYLOGS=results/ + +mkdir -p $SERVERLOGS +mkdir -p $GATEWAYLOGS + +echo "STARTING SERVERS..." + +for SERVERID in $(seq 3 -1 1) +do + IDX=$(($SERVERID - 1)) + SERVERCMD="../bin/server -v -i $IDX --roundBufferTimeout 300s --config server-$SERVERID.yaml" + $SERVERCMD > $SERVERLOGS/server-$SERVERID.console 2>&1 & + PIDVAL=$! + echo "$SERVERCMD -- $PIDVAL" +done + +sleep 5 # Give servers some time to boot + +echo "STARTING GATEWAYS..." + +# Start gateways +for GWID in $(seq 3 -1 1) +do + IDX=$(($GWID - 1)) + GATEWAYCMD="../bin/gateway -v -i $IDX --config gateway-$GWID.yaml" + $GATEWAYCMD > $GATEWAYLOGS/gateway-$GWID.console 2>&1 & + PIDVAL=$! + echo "$GATEWAYCMD -- $PIDVAL" +done + +jobs -p > results/serverpids + +finish() { + echo "KILLED! STOPPING SERVERS AND GATEWAYS..." + # NOTE: jobs -p doesn't work in a signal handler + for job in $(cat results/serverpids) + do + echo "KILLING $job" + kill $job || true + done + tail $SERVERLOGS/*.console +} + +trap finish EXIT +trap finish INT + +sleep 60 + +echo "STOPPING SERVERS AND GATEWAYS..." +# NOTE: jobs -p doesn't work in a signal handler +for job in $(cat results/serverpids) +do + echo "Stopping $job" + kill $job +done +tail $SERVERLOGS/*.console diff --git a/smokeinfra/server-1.yaml b/smokeinfra/server-1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c83c55f562aa73f928769a1f9de3a1614054638f --- /dev/null +++ b/smokeinfra/server-1.yaml @@ -0,0 +1,50 @@ +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 42 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/server-1.log" + addresses: + - "localhost:60000" + - "localhost:60001" + - "localhost:60002" +database: + name: "node1" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" +gateways: + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:9440" + - "localhost:9441" + - "localhost:9442" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/smokeinfra/server-2.yaml b/smokeinfra/server-2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..34635bbcf9fcee8cb9490b22b19db89aaf0379fe --- /dev/null +++ b/smokeinfra/server-2.yaml @@ -0,0 +1,50 @@ +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 42 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/server-2.log" + addresses: + - "localhost:60000" + - "localhost:60001" + - "localhost:60002" +database: + name: "node2" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" +gateways: + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:9440" + - "localhost:9441" + - "localhost:9442" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML diff --git a/smokeinfra/server-3.yaml b/smokeinfra/server-3.yaml new file mode 100644 index 0000000000000000000000000000000000000000..68a6b1a341b1f5a52ab709803766862ae5489399 --- /dev/null +++ b/smokeinfra/server-3.yaml @@ -0,0 +1,50 @@ +# START YAML === +################################################################################ +## Copyright © 2019 Privategrity Corporation # +## # +## All rights reserved. # +################################################################################ +# batch size +batch: 42 +# debug logging +verbose: true +node: + id: "" + paths: + cert: "../keys/cmix.rip.crt" + key: "../keys/cmix.rip.key" + log: "results/server-3.log" + addresses: + - "localhost:60000" + - "localhost:60001" + - "localhost:60002" +database: + name: "node3" + username: "cmix_server" + password: "" + addresses: + - "" + - "" + - "" +gateways: + paths: + cert: "../keys/gateway.cmix.rip.crt" + addresses: + - "localhost:9440" + - "localhost:9441" + - "localhost:9442" +permissioning: + paths: + cert: "" + address: "" + registrationCode: "" +groups: + cmix: + prime: "0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF" + smallprime: "0x7FFFFFFFFFFFFFFFE487ED5110B4611A62633145C06E0E68948127044533E63A0105DF531D89CD9128A5043CC71A026EF7CA8CD9E69D218D98158536F92F8A1BA7F09AB6B6A8E122F242DABB312F3F637A262174D31BF6B585FFAE5B7A035BF6F71C35FDAD44CFD2D74F9208BE258FF324943328F6722D9EE1003E5C50B1DF82CC6D241B0E2AE9CD348B1FD47E9267AFC1B2AE91EE51D6CB0E3179AB1042A95DCF6A9483B84B4B36B3861AA7255E4C0278BA3604650C10BE19482F23171B671DF1CF3B960C074301CD93C1D17603D147DAE2AEF837A62964EF15E5FB4AAC0B8C1CCAA4BE754AB5728AE9130C4C7D02880AB9472D455655347FFFFFFFFFFFFFFF" + generator: "0x02" + e2e: + prime: "00:a6:df:8a:49:44:a4:c9:e2:4d:dc:77:b3:09:53:ae:c9:bf:1b:4c:92:39:79:2f:d5:56:cd:71:66:fe:00:1d:da:d7:35:d5:4c:6f:77:3b:11:d8:cb:07:b1:76:57:75:ac:9a:55:74:5f:05:5f:b9:bf:35:90:c2:9a:4a:84:6c:f6:1a:68:7d:16:5a:c2:c4:a3:21:18:6f:47:01:6f:aa:a7:f8:ca:06:cb:62:ae:a9:8d:2d:c9:b2:6c:4a:89:cf:0f:31:75:60:26:54:03:bb:d4:51:c8:ff:20:e7:ff:54:0c:bc:49:77:c6:ad:72:ac:57:93:f4:6a:f2:2c:57:8e:93:ca:77:69:c9:c6:2b:b8:31:bc:0d:86:ba:b7:20:92:b5:b0:03:9f:50:49:ee:7b:5c:82:23:ad:d2:80:e8:5e:37:e8:b6:19:0a:bd:90:79:9c:5b:e6:3d:e8:df:b6:9d:2a:b3:a0:32:1e:ce:2b:d5:b2:ee:99:19:38:b0:3b:e4:08:83:c7:14:01:8d:d4:84:cd:55:23:b8:1e:f6:e0:f6:c0:2c:01:a8:1c:66:df:d2:4e:22:df:8f:0c:1f:ab:34:1c:e3:32:35:df:49:06:07:81:9b:4e:bf:05:17:f8:22:38:ec:b3:a3:b8:ed:fa:00:dc:40:fc:0b:df:eb:59:f3:a8:29:31:5e:be:08:e5:11:e8:95:41:54:89:46:5f:7c:87:59:e2:4d:a1:cc:13:7a:03:9f:3f:49:18:4d:f3:e4:b3:dc:cb:98:d4:82:4a:a1:3c:0f:2a:19:0f:3d:e8:38:05:43:cb:eb:aa:0e:b8:ef:c5:89:26:3f:cd:e8:2c:f2:da:b4:8d:8d:4d:81:b2:b7:99:31:ee:e8:3d:57:de:1a:6f:00:02:50:d9:02:41:04:54:c2:ed:94:3d:04:e5:52:79:44:0b:d1:ca:63:76:cf:a8:e9:0d:a3:9e:6c:24:51:34:bd:ec:dc:08:4b:ca:c3:8a:92:f1:6a:7a:69:d2:79:60:3d:b6:51:83:d1:a0:5a:ef:67:29:66:cb:de:70:eb:a7" + smallprime: "00:92:20:39:f1:91:4b:ec:4f:0c:63:a2:aa:ee:7e:83:77:1a:72:35:75:21:5e:0e:e3:76:63:a8:33:58:90:1a:fb" + generator: "40:af:3d:79:8c:f6:96:4c:a6:c2:72:60:85:fd:a1:9e:f2:03:ef:55:58:89:5e:e8:7a:db:fb:82:86:b6:10:6c:83:7b:a1:9b:5b:28:86:54:27:ea:d7:da:10:1e:a4:90:16:3d:2c:26:66:d9:2b:21:8f:b1:78:b0:62:2b:4a:21:98:17:e9:3c:36:a0:46:e6:5c:7a:9d:c5:c2:c0:d9:aa:ea:ee:c0:43:47:e2:9d:a7:02:87:88:cf:c4:61:9c:54:43:d9:f4:63:d8:87:2b:5e:df:8d:4e:17:31:9c:6d:ed:ea:58:1c:1b:ca:9a:8a:50:25:0f:60:b8:a7:0d:76:af:d2:de:13:73:5b:64:a8:a7:c5:ba:8b:da:cb:6a:31:ab:8b:01:1c:3f:0f:45:8d:88:17:c5:53:53:b0:9d:7b:22:e7:16:f7:49:a9:03:84:dd:5c:88:a0:17:1b:dd:44:ad:32:16:bb:0f:78:7d:0b:07:e7:34:4d:c1:25:51:2c:fb:c6:2f:a1:21:db:a5:c1:f3:20:00:87:bc:12:2c:3e:4f:40:b0:05:63:cb:4e:67:ab:8b:62:99:07:13:82:2a:d5:56:c6:c8:9d:9b:03:76:24:12:a9:16:63:41:07:82:b1:02:e1:99:54:52:f1:da:72:5c:33:ad:03:cc:87:77:f0:74:4c:83:74:6d:ea:ea:5a:e6:19:2d:4c:bc:d1:08:e1:92:0d:8a:7f:f4:39:60:a6:9d:d1:e7:8b:59:ce:27:fb:2c:3d:6c:d2:e0:ab:67:4c:77:a7:c1:2f:02:46:c2:83:3d:51:6c:de:38:8c:cf:00:7d:03:d7: bf:10:54:b9:92:32:a2:b9:4e:9f:fb:91:39:e6:4d: 7b:6a:b2:e0:4d:e2:cb:fb:bc:81:fb:5a:60:5e:0d:0e:b2:0d:0f:93:e3:ae:85:76:4c:74:9c:2e:a5:14:bd:d5:28:77:17:67:d1:77:34:ea:fd:ae:24:6d:45:15:b0:01:fb:65:00:02:af:bb:69:dd:eb:04:29:74:f9:6f:b7:4e:ec:c5:70:8d:3e:74" +# === END YAML