From 19fa049f99ba3d8ec109edd6542a2fcf39c1c7b5 Mon Sep 17 00:00:00 2001
From: joshemb <josh@elixxir.io>
Date: Tue, 14 Feb 2023 10:39:01 -0800
Subject: [PATCH] Create testing package for channels

---
 channels/client-registrar.yaml            |  36 ++++
 channels/clients.goldoutput/client500.txt |   9 +
 channels/clients.goldoutput/client501.txt |   7 +
 channels/clients.goldoutput/client502.txt |   7 +
 channels/gateway-1.yaml                   |  49 +++++
 channels/gateway-2.yaml                   |  49 +++++
 channels/gateway-3.yaml                   |  49 +++++
 channels/gateway-4.yaml                   |  49 +++++
 channels/gateway-5.yaml                   |  49 +++++
 channels/network.config                   |  26 +++
 channels/noerrors.txt                     |   0
 channels/permissioning.yaml               |  96 +++++++++
 channels/regCodes.json                    |   1 +
 channels/registration.json                |  12 ++
 channels/run.sh                           | 234 ++++++++++++++++++++++
 channels/server-1.yaml                    |  42 ++++
 channels/server-2.yaml                    |  42 ++++
 channels/server-3.yaml                    |  42 ++++
 channels/server-4.yaml                    |  42 ++++
 channels/server-5.yaml                    |  42 ++++
 channels/tmp                              |   7 +
 channels/udb.yaml                         |  10 +
 channels/udbContact.bin                   |   1 +
 channels/udbProto.json                    |   1 +
 24 files changed, 902 insertions(+)
 create mode 100644 channels/client-registrar.yaml
 create mode 100644 channels/clients.goldoutput/client500.txt
 create mode 100644 channels/clients.goldoutput/client501.txt
 create mode 100644 channels/clients.goldoutput/client502.txt
 create mode 100644 channels/gateway-1.yaml
 create mode 100644 channels/gateway-2.yaml
 create mode 100644 channels/gateway-3.yaml
 create mode 100644 channels/gateway-4.yaml
 create mode 100644 channels/gateway-5.yaml
 create mode 100644 channels/network.config
 create mode 100644 channels/noerrors.txt
 create mode 100644 channels/permissioning.yaml
 create mode 100644 channels/regCodes.json
 create mode 100644 channels/registration.json
 create mode 100755 channels/run.sh
 create mode 100644 channels/server-1.yaml
 create mode 100644 channels/server-2.yaml
 create mode 100644 channels/server-3.yaml
 create mode 100644 channels/server-4.yaml
 create mode 100644 channels/server-5.yaml
 create mode 100644 channels/tmp
 create mode 100644 channels/udb.yaml
 create mode 100644 channels/udbContact.bin
 create mode 100644 channels/udbProto.json

diff --git a/channels/client-registrar.yaml b/channels/client-registrar.yaml
new file mode 100644
index 0000000..3ab9c33
--- /dev/null
+++ b/channels/client-registrar.yaml
@@ -0,0 +1,36 @@
+# ==================================
+# Client Registrar Configuration
+# ==================================
+
+# Log message level (0 = info, 1 = debug, >1 = trace)
+logLevel: 0
+# Path to log file
+logPath: "results/client-registrar.log"
+
+# Public address, used in NDF it gives to client
+publicAddress: "0.0.0.0:20061"
+# The listening port of this server
+port: 20061
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the registration server private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the registration server certificate file
+certPath: "../keys/cmix.rip.crt"
+
+# Maximum number of connections per period
+userRegCapacity: 1000
+# How often the number of connections is reset
+userRegLeakPeriod: "24h"
+
+# Database connection information
+dbUsername: "cmix"
+dbPassword: ""
+dbName: "cmix_server"
+dbAddress: ""
+
+# List of client codes to be added to the database (for testing)
+clientRegCodes:
+  - "AAAA"
+  - "BBBB"
+  - "CCCC"
diff --git a/channels/clients.goldoutput/client500.txt b/channels/clients.goldoutput/client500.txt
new file mode 100644
index 0000000..0e74267
--- /dev/null
+++ b/channels/clients.goldoutput/client500.txt
@@ -0,0 +1,9 @@
+New channel generated
+Received 0/0 messages
+Received 0/0 messages
+Received 3/3 messages
+Received from ChannelName this message: Hello, channel, this is 500
+Received from ChannelName this message: Hello, channel, this is 501
+Received from ChannelName this message: Hello, channel, this is 502
+Successfully joined channel ChannelName
+Successfully left channel ChannelName
diff --git a/channels/clients.goldoutput/client501.txt b/channels/clients.goldoutput/client501.txt
new file mode 100644
index 0000000..5e19513
--- /dev/null
+++ b/channels/clients.goldoutput/client501.txt
@@ -0,0 +1,7 @@
+Received 0/0 messages
+Received 3/3 messages
+Received from ChannelName this message: Hello, channel, this is 500
+Received from ChannelName this message: Hello, channel, this is 501
+Received from ChannelName this message: Hello, channel, this is 502
+Successfully joined channel ChannelName
+Successfully left channel ChannelName
diff --git a/channels/clients.goldoutput/client502.txt b/channels/clients.goldoutput/client502.txt
new file mode 100644
index 0000000..5e19513
--- /dev/null
+++ b/channels/clients.goldoutput/client502.txt
@@ -0,0 +1,7 @@
+Received 0/0 messages
+Received 3/3 messages
+Received from ChannelName this message: Hello, channel, this is 500
+Received from ChannelName this message: Hello, channel, this is 501
+Received from ChannelName this message: Hello, channel, this is 502
+Successfully joined channel ChannelName
+Successfully left channel ChannelName
diff --git a/channels/gateway-1.yaml b/channels/gateway-1.yaml
new file mode 100644
index 0000000..401f3c9
--- /dev/null
+++ b/channels/gateway-1.yaml
@@ -0,0 +1,49 @@
+# START YAML ===
+################################################################################
+## Copyright © 2018 Privategrity Corporation                                   #
+##                                                                             #
+## All rights reserved.                                                        #
+################################################################################
+
+##
+# Gateway Configuration File
+##
+
+# Used for debugging
+loglevel: 2
+
+# Output log file
+log: "results/gateways/gateway-1.log"
+
+# The public IP address and port of the node associated with this gateway
+cmixAddress:  "0.0.0.0:10060"
+
+# The listening port of this gateway
+Port: 1060
+
+# The public IPv4 address of the Gateway, as reported to the network, to use
+# instead of dynamically looking up Gateway's own IP address. If a port is not
+# included, then the port flag is used instead.
+overridePublicIP: "0.0.0.0"
+
+# Period in which the message cleanup function executes. Recommended period is on the order of a minute.
+messageTimeout: "1800s"
+
+# Path to where the IDF is saved. This is used by the wrapper management script.
+idfPath: "results/gateways/gatewayIDF-0.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the certificate file
+certPath: "../keys/cmix.rip.crt"
+# Path to the permissioning certificate
+schedulingCertPath: "../keys/cmix.rip.crt"
+# Path to the certificate file
+cmixCertPath: "../keys/cmix.rip.crt"
+
+
+devMode: true
+
+minRegisteredNodes: 0
+# === END YAML
diff --git a/channels/gateway-2.yaml b/channels/gateway-2.yaml
new file mode 100644
index 0000000..a498cbb
--- /dev/null
+++ b/channels/gateway-2.yaml
@@ -0,0 +1,49 @@
+# START YAML ===
+################################################################################
+## Copyright © 2018 Privategrity Corporation                                   #
+##                                                                             #
+## All rights reserved.                                                        #
+################################################################################
+
+##
+# Gateway Configuration File
+##
+
+# Used for debugging
+loglevel: 2
+
+# Output log file
+log: "results/gateways/gateway-2.log"
+
+# The public IP address and port of the node associated with this gateway
+cmixAddress:  "0.0.0.0:10061"
+
+# The listening port of this gateway
+Port: 1061
+
+# The public IPv4 address of the Gateway, as reported to the network, to use
+# instead of dynamically looking up Gateway's own IP address. If a port is not
+# included, then the port flag is used instead.
+overridePublicIP: "0.0.0.0"
+
+# Period in which the message cleanup function executes. Recommended period is on the order of a minute.
+messageTimeout: "1800s"
+
+# Path to where the IDF is saved. This is used by the wrapper management script.
+idfPath: "results/gateways/gatewayIDF-1.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the certificate file
+certPath: "../keys/cmix.rip.crt"
+# Path to the permissioning certificate
+schedulingCertPath: "../keys/cmix.rip.crt"
+# Path to the certificate file
+cmixCertPath: "../keys/cmix.rip.crt"
+
+
+devMode: true
+
+minRegisteredNodes: 0
+# === END YAML
diff --git a/channels/gateway-3.yaml b/channels/gateway-3.yaml
new file mode 100644
index 0000000..9f36de1
--- /dev/null
+++ b/channels/gateway-3.yaml
@@ -0,0 +1,49 @@
+# START YAML ===
+################################################################################
+## Copyright © 2018 Privategrity Corporation                                   #
+##                                                                             #
+## All rights reserved.                                                        #
+################################################################################
+
+##
+# Gateway Configuration File
+##
+
+# Used for debugging
+loglevel: 2
+
+# Output log file
+log: "results/gateways/gateway-3.log"
+
+# The public IP address and port of the node associated with this gateway
+cmixAddress:  "0.0.0.0:10062"
+
+# The listening port of this gateway
+Port: 1062
+
+# The public IPv4 address of the Gateway, as reported to the network, to use
+# instead of dynamically looking up Gateway's own IP address. If a port is not
+# included, then the port flag is used instead.
+overridePublicIP: "0.0.0.0"
+
+# Period in which the message cleanup function executes. Recommended period is on the order of a minute.
+messageTimeout: "1800s"
+
+# Path to where the IDF is saved. This is used by the wrapper management script.
+idfPath: "results/gateways/gatewayIDF-2.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the certificate file
+certPath: "../keys/cmix.rip.crt"
+# Path to the permissioning certificate
+schedulingCertPath: "../keys/cmix.rip.crt"
+# Path to the certificate file
+cmixCertPath: "../keys/cmix.rip.crt"
+
+
+devMode: true
+
+minRegisteredNodes: 0
+# === END YAML
diff --git a/channels/gateway-4.yaml b/channels/gateway-4.yaml
new file mode 100644
index 0000000..f07b197
--- /dev/null
+++ b/channels/gateway-4.yaml
@@ -0,0 +1,49 @@
+# START YAML ===
+################################################################################
+## Copyright © 2018 Privategrity Corporation                                   #
+##                                                                             #
+## All rights reserved.                                                        #
+################################################################################
+
+##
+# Gateway Configuration File
+##
+
+# Used for debugging
+loglevel: 2
+
+# Output log file
+log: "results/gateways/gateway-4.log"
+
+# The public IP address and port of the node associated with this gateway
+cmixAddress:  "0.0.0.0:10063"
+
+# The listening port of this gateway
+Port: 1063
+
+# The public IPv4 address of the Gateway, as reported to the network, to use
+# instead of dynamically looking up Gateway's own IP address. If a port is not
+# included, then the port flag is used instead.
+overridePublicIP: "0.0.0.0"
+
+# Period in which the message cleanup function executes. Recommended period is on the order of a minute.
+messageTimeout: "1800s"
+
+# Path to where the IDF is saved. This is used by the wrapper management script.
+idfPath: "results/gateways/gatewayIDF-3.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the certificate file
+certPath: "../keys/cmix.rip.crt"
+# Path to the permissioning certificate
+schedulingCertPath: "../keys/cmix.rip.crt"
+# Path to the certificate file
+cmixCertPath: "../keys/cmix.rip.crt"
+
+
+devMode: true
+
+minRegisteredNodes: 0
+# === END YAML
diff --git a/channels/gateway-5.yaml b/channels/gateway-5.yaml
new file mode 100644
index 0000000..ca8a401
--- /dev/null
+++ b/channels/gateway-5.yaml
@@ -0,0 +1,49 @@
+# START YAML ===
+################################################################################
+## Copyright © 2018 Privategrity Corporation                                   #
+##                                                                             #
+## All rights reserved.                                                        #
+################################################################################
+
+##
+# Gateway Configuration File
+##
+
+# Used for debugging
+loglevel: 2
+
+# Output log file
+log: "results/gateways/gateway-5.log"
+
+# The public IP address and port of the node associated with this gateway
+cmixAddress:  "0.0.0.0:10064"
+
+# The listening port of this gateway
+Port: 1064
+
+# The public IPv4 address of the Gateway, as reported to the network, to use
+# instead of dynamically looking up Gateway's own IP address. If a port is not
+# included, then the port flag is used instead.
+overridePublicIP: "0.0.0.0"
+
+# Period in which the message cleanup function executes. Recommended period is on the order of a minute.
+messageTimeout: "1800s"
+
+# Path to where the IDF is saved. This is used by the wrapper management script.
+idfPath: "results/gateways/gatewayIDF-4.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the certificate file
+certPath: "../keys/cmix.rip.crt"
+# Path to the permissioning certificate
+schedulingCertPath: "../keys/cmix.rip.crt"
+# Path to the certificate file
+cmixCertPath: "../keys/cmix.rip.crt"
+
+
+devMode: true
+
+minRegisteredNodes: 0
+# === END YAML
diff --git a/channels/network.config b/channels/network.config
new file mode 100644
index 0000000..61a12cf
--- /dev/null
+++ b/channels/network.config
@@ -0,0 +1,26 @@
+localhost:1060
+# This is the network configuration file. The top line of this file,
+# when not set via command line, is used to determine to which network
+# the integration test will be run against.
+
+# Note you can also specify "release", "betanet", or "protonet" on run.sh
+
+# Betanet gateways
+109.169.15.30:22840
+5.12.137.118:22840
+92.246.20.92:22840
+178.16.39.203:22840
+86.135.17.18:22840
+
+# Release (messenger test) network gateways
+34.221.74.216:11420
+52.25.9.28:11420
+54.149.122.115:11420
+
+
+# protonet
+185.152.3.247:11420
+93.151.207.39:11420
+93.107.154.131:11420
+173.208.225.75:11421
+92.246.20.92:11420
diff --git a/channels/noerrors.txt b/channels/noerrors.txt
new file mode 100644
index 0000000..e69de29
diff --git a/channels/permissioning.yaml b/channels/permissioning.yaml
new file mode 100644
index 0000000..29520c6
--- /dev/null
+++ b/channels/permissioning.yaml
@@ -0,0 +1,96 @@
+# ==================================
+# Permissioning Server Configuration
+# ==================================
+
+# Log message level
+loglevel: 2
+
+# Path to log file
+logPath: "results/permissioning.log"
+
+# The listening port of this  server
+port: 20060
+
+# Database connection information
+dbUsername: ""
+dbPassword: ""
+dbName: ""
+dbAddress: "0.0.0.0:6969"
+
+minimumNodes: 5
+
+minGatewayVersion: "3.0.0"
+minServerVersion:  "3.0.0"
+minClientVersion: "4.0.0"
+nodeMetricInterval: 3
+
+# For testing, use the sequence as the country code. Do not use the geobinning database
+disableGeoBinning: true
+
+# For testing, do not exclude node or gateway IPs which are local to the machine
+allowLocalIPs: true
+
+# Disable pruning of NDF for offline nodes
+# if set to false, network will sleep for five minutes on start
+disableNDFPruning: true
+permissiveIPChecking: true
+
+# How long rounds will be tracked by gateways. Rounds (and messages as an extension)
+# prior to this period are not guaranteed to be delivered to clients.
+# Expects duration in"h". (Defaults to 1 weeks (168 hours)
+messageRetentionLimit: "168h"
+
+# Path to the file containing the round ID
+roundIdPath: "results/roundId.txt"
+
+# Path to the file containing the update ID
+updateIdPath: "results/updateId.txt"
+
+
+# Public address used in NDF to give to client
+registrationAddress: "0.0.0.0:20061"
+
+# Path to whitelisted IPs for client ratelimiting
+whitelistedIpAddressesPath: "whitelist.txt"
+
+# Path to the node topology permissioning info
+ndfOutputPath: "ndf.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the registration server private key file
+keyPath: "../keys/cmix.rip.key"
+# Path to the registration server certificate file
+certPath: "../keys/cmix.rip.crt"
+
+fullNdfOutputPath: "results/permissions-ndfoutput.json"
+signedPartialNDFOutputPath: "results/permissions-ndfoutput-partial.json"
+
+# === REQUIRED FOR ENABLING TLS ===
+# Path to the UDB certificate file
+udbCertPath: "../keys/cmix.rip.crt"
+# "Location of the user discovery contact file.
+udContactPath: "results/udbContact.bin"
+udbAddress: "127.0.0.1:30060"
+
+# Time interval (in minutes) in which the database is
+# checked for banned nodes
+BanTrackerInterval: "3"
+
+groups:
+  cmix:
+    prime: "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF"
+    generator: "2"
+  e2e:
+    prime: "E2EE983D031DC1DB6F1A7A67DF0E9A8E5561DB8E8D49413394C049B7A8ACCEDC298708F121951D9CF920EC5D146727AA4AE535B0922C688B55B3DD2AEDF6C01C94764DAB937935AA83BE36E67760713AB44A6337C20E7861575E745D31F8B9E9AD8412118C62A3E2E29DF46B0864D0C951C394A5CBBDC6ADC718DD2A3E041023DBB5AB23EBB4742DE9C1687B5B34FA48C3521632C4A530E8FFB1BC51DADDF453B0B2717C2BC6669ED76B4BDD5C9FF558E88F26E5785302BEDBCA23EAC5ACE92096EE8A60642FB61E8F3D24990B8CB12EE448EEF78E184C7242DD161C7738F32BF29A841698978825B4111B4BC3E1E198455095958333D776D8B2BEEED3A1A1A221A6E37E664A64B83981C46FFDDC1A45E3D5211AAF8BFBC072768C4F50D7D7803D2D4F278DE8014A47323631D7E064DE81C0C6BFA43EF0E6998860F1390B5D3FEACAF1696015CB79C3F9C2D93D961120CD0E5F12CBB687EAB045241F96789C38E89D796138E6319BE62E35D87B1048CA28BE389B575E994DCA755471584A09EC723742DC35873847AEF49F66E43873"
+    generator: "2"
+
+
+# Path to file with config for scheduling algorithm within the user directory
+schedulingConfigPath: "registration.json"
+
+# Path to JSON file with list of Node registration codes (in order of network
+# placement)
+RegCodesFilePath: "regCodes.json"
+
+# Set address space size for ephemeral IDs
+addressSpace: 32
diff --git a/channels/regCodes.json b/channels/regCodes.json
new file mode 100644
index 0000000..7020c85
--- /dev/null
+++ b/channels/regCodes.json
@@ -0,0 +1 @@
+[{"RegCode": "ihne", "Order": "CR"},{"RegCode": "rlqh", "Order": "CR"},{"RegCode": "nujo", "Order": "CR"},{"RegCode": "owdc", "Order": "CR"},{"RegCode": "rvwz", "Order": "CR"}]
\ No newline at end of file
diff --git a/channels/registration.json b/channels/registration.json
new file mode 100644
index 0000000..f400c7e
--- /dev/null
+++ b/channels/registration.json
@@ -0,0 +1,12 @@
+{
+    "TeamSize": 5,
+    "PrecomputationTimeout": 30000,
+    "RealtimeTimeout": 15000,
+    "DebugTrackRounds": true,
+    "BatchSize": 32,
+    "MinimumDelay": 1000,
+    "RealtimeDelay": 2000,
+    "Threshold":     0.3,
+    "NodeCleanUpInterval": 180000,
+    "ResourceQueueTimeout": 300000
+}
\ No newline at end of file
diff --git a/channels/run.sh b/channels/run.sh
new file mode 100755
index 0000000..72fccdf
--- /dev/null
+++ b/channels/run.sh
@@ -0,0 +1,234 @@
+cp ../network/network.sh temp_network.sh
+
+
+# NOTE: This is verbose on purpose.
+################################################################################
+## Initial Set Up & Clean Up of Past Runs
+################################################################################
+
+set -e
+rm -fr results.bak || true
+mv results results.bak || rm -fr results || true
+rm -fr blob* || true
+rm *-contact.json || true
+rm server-5.qdstrm || true
+rm server-5.qdrep || true
+
+mkdir -p .elixxir
+
+if [ $# -gt 1 ]
+then
+    echo "usage: $0 [gatewayip:port]"
+    exit
+fi
+
+
+NETWORKENTRYPOINT=$1
+
+DEBUGLEVEL=${DEBUGLEVEL-1}
+
+
+SERVERLOGS=results/servers
+GATEWAYLOGS=results/gateways
+CLIENTOUT=results/clients
+UDBOUT=results/udb-console.txt
+CLIENTCLEAN=results/clients-cleaned
+
+mkdir -p $SERVERLOGS
+mkdir -p $GATEWAYLOGS
+mkdir -p $CLIENTOUT
+mkdir -p $CLIENTCLEAN
+
+mkdir -p $SERVERLOGS
+mkdir -p $GATEWAYLOGS
+mkdir -p $CLIENTOUT
+mkdir -p $CLIENTCLEAN
+
+
+################################################################################
+## Network Set Up
+################################################################################
+
+
+if [ "$NETWORKENTRYPOINT" == "betanet" ]
+then
+    NETWORKENTRYPOINT=$(sort -R betanet.txt | head -1)
+elif [ "$NETWORKENTRYPOINT" == "mainnet" ]
+then
+    NETWORKENTRYPOINT=$(sort -R mainnet.txt | head -1)
+elif [ "$NETWORKENTRYPOINT" == "release" ]
+then
+    NETWORKENTRYPOINT=$(sort -R release.txt | head -1)
+elif [ "$NETWORKENTRYPOINT" == "devnet" ]
+then
+    NETWORKENTRYPOINT=$(sort -R devnet.txt | head -1)
+elif [ "$NETWORKENTRYPOINT" == "" ]
+then
+    NETWORKENTRYPOINT=$(head -1 network.config)
+fi
+
+echo "NETWORK: $NETWORKENTRYPOINT"
+
+if [ "$NETWORKENTRYPOINT" == "localhost:1060" ]
+then
+    source temp_network.sh
+
+else
+    echo "Connecting to network defined at $NETWORKENTRYPOINT"
+    echo $NETWORKENTRYPOINT > results/startgwserver.txt
+fi
+
+echo "localhost:1060" > results/startgwserver.txt
+
+echo "DONE LETS DO STUFF"
+
+echo "DOWNLOADING TLS Cert..."
+# -alpn h2 added to mimic grpc headers
+CMD="openssl s_client -alpn h2 -showcerts -connect $(tr -d '[:space:]' < results/startgwserver.txt)"
+echo $CMD
+eval $CMD < /dev/null 2>&1 > "results/startgwcert.bin"
+CMD="cat results/startgwcert.bin | openssl x509 -outform PEM"
+echo $CMD
+eval $CMD > "results/startgwcert.pem"
+head "results/startgwcert.pem"
+
+echo "DOWNLOADING NDF..."
+CLIENTCMD="../bin/client getndf --gwhost $(tr -d '[:space:]' < results/startgwserver.txt) --cert results/startgwcert.pem"
+eval $CLIENTCMD >> results/ndf.json 2>&1 &
+PIDVAL=$!
+echo "$CLIENTCMD -- $PIDVAL"
+wait $PIDVAL
+
+cat results/ndf.json | jq . | head -5
+
+file results/ndf.json
+
+if [ ! -s results/ndf.json ]
+then
+    echo "results/ndf.json is empty, cannot proceed"
+    exit -1
+fi
+
+###############################################################################
+# Test Channels
+###############################################################################
+
+echo "TESTING CHANNELS..."
+
+CLIENTOPTS="--password hello --ndf results/ndf.json --verify-sends --sendDelay 100 --waitTimeout 360 -v $DEBUGLEVEL"
+
+# Initialize creator of channel (will use default channel file path in CLI)
+CLIENTCMD="timeout 300s ../bin/client channels -s blob500 $CLIENTOPTS -l $CLIENTOUT/client500.log --receiveCount 0 --channelPath $CLIENTOUT/channel500.chan  --channelIdentityPath $CLIENTOUT/channel500.id --newChannel"
+eval $CLIENTCMD > $CLIENTOUT/client500.txt 2>&1 &
+PIDVAL=$!
+echo "$CLIENTCMD -- $PIDVAL"
+
+wait $PIDVAL
+
+# Have client which created channel send message to channel
+CLIENTCMD="timeout 300s ../bin/client channels -s blob500 -l $CLIENTOUT/client500.log $CLIENTOPTS --receiveCount 3 --channelPath $CLIENTOUT/channel500.chan --channelIdentityPath $CLIENTOUT/channel500.id --sendToChannel --message \"Hello, channel, this is 500\""
+eval $CLIENTCMD >> $CLIENTOUT/client500.txt 2>&1 &
+PIDVAL1=$!
+echo "$CLIENTCMD -- $PIDVAL1"
+
+# Initialize client which will join channel (will use default channel file path in CLI)
+CLIENTCMD="timeout 300s ../bin/client channels -s blob501 -l $CLIENTOUT/client501.log $CLIENTOPTS --receiveCount 3 --channelPath $CLIENTOUT/channel500.chan --channelIdentityPath $CLIENTOUT/channel501.id --joinChannel --sendToChannel --message \"Hello, channel, this is 501\""
+eval $CLIENTCMD > $CLIENTOUT/client501.txt 2>&1 &
+PIDVAL2=$!
+echo "$CLIENTCMD -- $PIDVAL2"
+
+# Initialize another client which will join channel (will use default channel file path in CLI)
+CLIENTCMD="timeout 420s ../bin/client channels -s blob502 -l $CLIENTOUT/client502.log $CLIENTOPTS --receiveCount 3 --channelPath $CLIENTOUT/channel500.chan --channelIdentityPath $CLIENTOUT/channel502.id --joinChannel --sendToChannel --message \"Hello, channel, this is 502\""
+eval $CLIENTCMD > $CLIENTOUT/client502.txt 2>&1 &
+PIDVAL3=$!
+echo "$CLIENTCMD -- $PIDVAL3"
+
+wait $PIDVAL1
+wait $PIDVAL2
+wait $PIDVAL3
+
+# All clients will leave the channel
+CLIENTCMD="timeout 300s ../bin/client channels -s blob500 -l $CLIENTOUT/client500.log $CLIENTOPTS --receiveCount 0 --channelPath $CLIENTOUT/channel500.chan  --channelIdentityPath $CLIENTOUT/channel500.id --leaveChannel"
+eval $CLIENTCMD >> $CLIENTOUT/client500.txt 2>&1 &
+PIDVAL1=$!
+echo "$CLIENTCMD -- $PIDVAL1"
+
+CLIENTCMD="timeout 300s ../bin/client channels -s blob501 -l $CLIENTOUT/client501.log $CLIENTOPTS --receiveCount 0 --channelPath $CLIENTOUT/channel500.chan  --channelIdentityPath $CLIENTOUT/channel501.id --leaveChannel"
+eval $CLIENTCMD >> $CLIENTOUT/client501.txt 2>&1 &
+PIDVAL2=$!
+echo "$CLIENTCMD -- $PIDVAL2"
+
+# Initialize another client which will join channel (will use default channel file path in CLI)
+CLIENTCMD="timeout 300s ../bin/client channels -s blob502 -l $CLIENTOUT/client502.log $CLIENTOPTS --receiveCount 0 --channelPath $CLIENTOUT/channel500.chan  --channelIdentityPath $CLIENTOUT/channel502.id --leaveChannel"
+eval $CLIENTCMD >> $CLIENTOUT/client502.txt 2>&1 &
+PIDVAL3=$!
+echo "$CLIENTCMD -- $PIDVAL3"
+sleep 20
+wait $PIDVAL3
+wait $PIDVAL2
+wait $PIDVAL1
+
+
+echo "TESTS EXITED SUCCESSFULLY, CHECKING OUTPUT..."
+
+cp $CLIENTOUT/*.txt $CLIENTCLEAN/
+
+sed -i.bak 's/Sending\ to\ .*\:/Sent:/g' $CLIENTCLEAN/client*.txt
+sed -i.bak 's/Message\ from\ .*, .* Received:/Received:/g' $CLIENTCLEAN/client*.txt
+sed -i.bak 's/ERROR.*Signature/Signature/g' $CLIENTCLEAN/client*.txt
+sed -i.bak 's/[Aa]uthenticat.*$//g' $CLIENTCLEAN/client*.txt
+rm $CLIENTCLEAN/client*.txt.bak
+
+for C in $(ls -1 $CLIENTCLEAN | grep -v client11[01]); do
+    sort -o tmp $CLIENTCLEAN/$C  || true
+    cp tmp $CLIENTCLEAN/$C
+    # uniq tmp $CLIENTCLEAN/$C || true
+done
+
+GOLDOUTPUT=clients.goldoutput
+if [ "$NETWORKENTRYPOINT" != "localhost:1060" ]
+then
+    rm -fr clients.net_goldoutput || true
+    GOLDOUTPUT=clients.net_goldoutput
+    cp -r clients.goldoutput clients.net_goldoutput
+    # Delete the localhost only files
+    rm $GOLDOUTPUT/client13* || true
+    rm $GOLDOUTPUT/client18* || true
+    rm $GOLDOUTPUT/client19* || true
+    rm $GOLDOUTPUT/client2[01]* || true
+    rm $GOLDOUTPUT/client31* || true
+    rm $GOLDOUTPUT/client3[56]* || true
+    rm $GOLDOUTPUT/client45* || true
+    rm $GOLDOUTPUT/client56* || true
+    rm $GOLDOUTPUT/client67* || true
+    rm $GOLDOUTPUT/client74* || true
+    rm $GOLDOUTPUT/client9* || true
+fi
+
+
+set +x
+diff -aru $GOLDOUTPUT $CLIENTCLEAN
+
+if [ "$NETWORKENTRYPOINT" == "localhost:1060" ]
+then
+
+    #cat $CLIENTOUT/* | strings | grep -ae "ERROR" -e "FATAL" > results/client-errors || true
+    #diff -ruN results/client-errors.txt noerrors.txt
+    cat $SERVERLOGS/server-*.log | grep -a "ERROR" | grep -a -v "context" | grep -av "metrics" | grep -av "database" | grep -av RequestClientKey > results/server-errors.txt || true
+    cat $SERVERLOGS/server-*.log | grep -a "FATAL" | grep -a -v "context" | grep -av "transport is closing" | grep -av "database" >> results/server-errors.txt || true
+    diff -aruN results/server-errors.txt noerrors.txt
+    IGNOREMSG="GetRoundBufferInfo: Error received: rpc error: code = Unknown desc = round buffer is empty"
+    IGNORESERVE="Failed to serve "
+    IGNORESTART="Failed to start "
+    cat $GATEWAYLOGS/*.log | grep -a "ERROR" | grep -av "context" | grep -av "certificate" | grep -av "Failed to read key" | grep -av "$IGNOREMSG" | grep -av "$IGNORESERVE" | grep -av "$IGNORESTART"  > results/gateway-errors.txt || true
+    cat $GATEWAYLOGS/*.log | grep -a "FATAL" | grep -av "context" | grep -av "transport is closing" >> results/gateway-errors.txt || true
+    diff -aruN results/gateway-errors.txt noerrors.txt
+    echo "Checking backup files for equality..."
+    # diff -aruN $CLIENTOUT/client120A.backup.json $CLIENTOUT/client120B.backup.json > client120BackupDiff.txt
+    #diff -aruN $CLIENTOUT/client121A.backup.json $CLIENTOUT/client121B.backup.json > client121BackupDiff.txt || true
+    # diff -aruN  client120BackupDiff.txt noerrors.txt
+    #echo "NOTE: BACKUP CHECK DISABLED, this should be uncommented when turned back on!"
+    #diff -aruN  client121BackupDiff.txt noerrors.txt
+fi
+
+rm temp_network.sh
\ No newline at end of file
diff --git a/channels/server-1.yaml b/channels/server-1.yaml
new file mode 100644
index 0000000..33d51f4
--- /dev/null
+++ b/channels/server-1.yaml
@@ -0,0 +1,42 @@
+# START YAML ===
+registrationCode: "ihne"
+useGPU: false
+devMode: true
+rawPermAddr: true
+logLevel: 2
+
+cmix:
+  paths:
+    # Path where the ID will be stored after the ID is created on first run
+    # used by the wrapper script
+    idf:  "nodeID-0.json"
+    # Path to the self signed TLS cert that the node uses for identification
+    cert: "../keys/cmix.rip.crt"
+    # Path to the private key for the self signed TLS cert
+    key:  "../keys/cmix.rip.key"
+    # Path to where the log will be stored
+    log:  "results/servers/server-1.log"
+    errOutput: "results/servers/server-1.err"
+    ipListOutput: "results/servers/iplist-1.txt"
+  port: "10060"
+  overridePublicIP: "127.0.0.1"
+database:
+  name: "cmix_server"
+  username: "cmix"
+  password: ""
+  addresses: ""
+gateway:
+  paths:
+    # Path to the self signed TLS cert used by the gateway
+    cert: "../keys/cmix.rip.crt"
+scheduling:
+  paths:
+    # Path to the self signed TLS cert used by the permissioning. Provided by xx network
+    cert: "../keys/cmix.rip.crt"
+  # IP Address of the permissioning server, provided by xx network
+  address: "0.0.0.0:20060"
+metrics:
+  # location of stored metrics data. Modification to set to permissioning
+  # server instead of saving will be made at a later date
+  log:  "metrics-server-1.log"
+# === END YAML
diff --git a/channels/server-2.yaml b/channels/server-2.yaml
new file mode 100644
index 0000000..4dad25c
--- /dev/null
+++ b/channels/server-2.yaml
@@ -0,0 +1,42 @@
+# START YAML ===
+registrationCode: "rlqh"
+useGPU: false
+devMode: true
+rawPermAddr: true
+logLevel: 2
+
+cmix:
+  paths:
+    # Path where the ID will be stored after the ID is created on first run
+    # used by the wrapper script
+    idf:  "nodeID-1.json"
+    # Path to the self signed TLS cert that the node uses for identification
+    cert: "../keys/cmix.rip.crt"
+    # Path to the private key for the self signed TLS cert
+    key:  "../keys/cmix.rip.key"
+    # Path to where the log will be stored
+    log:  "results/servers/server-2.log"
+    errOutput: "results/servers/server-2.err"
+    ipListOutput: "results/servers/iplist-1.txt"
+  port: "10061"
+  overridePublicIP: "127.0.0.1"
+database:
+  name: "cmix_server"
+  username: "cmix"
+  password: ""
+  addresses: ""
+gateway:
+  paths:
+    # Path to the self signed TLS cert used by the gateway
+    cert: "../keys/cmix.rip.crt"
+scheduling:
+  paths:
+    # Path to the self signed TLS cert used by the permissioning. Provided by xx network
+    cert: "../keys/cmix.rip.crt"
+  # IP Address of the permissioning server, provided by xx network
+  address: "0.0.0.0:20060"
+metrics:
+  # location of stored metrics data. Modification to set to permissioning
+  # server instead of saving will be made at a later date
+  log:  "metrics-server-2.log"
+# === END YAML
diff --git a/channels/server-3.yaml b/channels/server-3.yaml
new file mode 100644
index 0000000..bd4a7de
--- /dev/null
+++ b/channels/server-3.yaml
@@ -0,0 +1,42 @@
+# START YAML ===
+registrationCode: "nujo"
+useGPU: false
+devMode: true
+rawPermAddr: true
+logLevel: 2
+
+cmix:
+  paths:
+    # Path where the ID will be stored after the ID is created on first run
+    # used by the wrapper script
+    idf:  "nodeID-2.json"
+    # Path to the self signed TLS cert that the node uses for identification
+    cert: "../keys/cmix.rip.crt"
+    # Path to the private key for the self signed TLS cert
+    key:  "../keys/cmix.rip.key"
+    # Path to where the log will be stored
+    log:  "results/servers/server-3.log"
+    errOutput: "results/servers/server-3.err"
+    ipListOutput: "results/servers/iplist-1.txt"
+  port: "10062"
+  overridePublicIP: "127.0.0.1"
+database:
+  name: "cmix_server"
+  username: "cmix"
+  password: ""
+  addresses: ""
+gateway:
+  paths:
+    # Path to the self signed TLS cert used by the gateway
+    cert: "../keys/cmix.rip.crt"
+scheduling:
+  paths:
+    # Path to the self signed TLS cert used by the permissioning. Provided by xx network
+    cert: "../keys/cmix.rip.crt"
+  # IP Address of the permissioning server, provided by xx network
+  address: "0.0.0.0:20060"
+metrics:
+  # location of stored metrics data. Modification to set to permissioning
+  # server instead of saving will be made at a later date
+  log:  "metrics-server-3.log"
+# === END YAML
diff --git a/channels/server-4.yaml b/channels/server-4.yaml
new file mode 100644
index 0000000..e0404e9
--- /dev/null
+++ b/channels/server-4.yaml
@@ -0,0 +1,42 @@
+# START YAML ===
+registrationCode: "owdc"
+useGPU: false
+devMode: true
+rawPermAddr: true
+logLevel: 2
+
+cmix:
+  paths:
+    # Path where the ID will be stored after the ID is created on first run
+    # used by the wrapper script
+    idf:  "nodeID-3.json"
+    # Path to the self signed TLS cert that the node uses for identification
+    cert: "../keys/cmix.rip.crt"
+    # Path to the private key for the self signed TLS cert
+    key:  "../keys/cmix.rip.key"
+    # Path to where the log will be stored
+    log:  "results/servers/server-4.log"
+    errOutput: "results/servers/server-4.err"
+    ipListOutput: "results/servers/iplist-1.txt"
+  port: "10063"
+  overridePublicIP: "127.0.0.1"
+database:
+  name: "cmix_server"
+  username: "cmix"
+  password: ""
+  addresses: ""
+gateway:
+  paths:
+    # Path to the self signed TLS cert used by the gateway
+    cert: "../keys/cmix.rip.crt"
+scheduling:
+  paths:
+    # Path to the self signed TLS cert used by the permissioning. Provided by xx network
+    cert: "../keys/cmix.rip.crt"
+  # IP Address of the permissioning server, provided by xx network
+  address: "0.0.0.0:20060"
+metrics:
+  # location of stored metrics data. Modification to set to permissioning
+  # server instead of saving will be made at a later date
+  log:  "metrics-server-4.log"
+# === END YAML
diff --git a/channels/server-5.yaml b/channels/server-5.yaml
new file mode 100644
index 0000000..5498198
--- /dev/null
+++ b/channels/server-5.yaml
@@ -0,0 +1,42 @@
+# START YAML ===
+registrationCode: "rvwz"
+useGPU: false
+devMode: true
+rawPermAddr: true
+logLevel: 2
+
+cmix:
+  paths:
+    # Path where the ID will be stored after the ID is created on first run
+    # used by the wrapper script
+    idf:  "nodeID-4.json"
+    # Path to the self signed TLS cert that the node uses for identification
+    cert: "../keys/cmix.rip.crt"
+    # Path to the private key for the self signed TLS cert
+    key:  "../keys/cmix.rip.key"
+    # Path to where the log will be stored
+    log:  "results/servers/server-5.log"
+    errOutput: "results/servers/server-5.err"
+    ipListOutput: "results/servers/iplist-1.txt"
+  port: "10064"
+  overridePublicIP: "127.0.0.1"
+database:
+  name: "cmix_server"
+  username: "cmix"
+  password: ""
+  addresses: ""
+gateway:
+  paths:
+    # Path to the self signed TLS cert used by the gateway
+    cert: "../keys/cmix.rip.crt"
+scheduling:
+  paths:
+    # Path to the self signed TLS cert used by the permissioning. Provided by xx network
+    cert: "../keys/cmix.rip.crt"
+  # IP Address of the permissioning server, provided by xx network
+  address: "0.0.0.0:20060"
+metrics:
+  # location of stored metrics data. Modification to set to permissioning
+  # server instead of saving will be made at a later date
+  log:  "metrics-server-5.log"
+# === END YAML
diff --git a/channels/tmp b/channels/tmp
new file mode 100644
index 0000000..5e19513
--- /dev/null
+++ b/channels/tmp
@@ -0,0 +1,7 @@
+Received 0/0 messages
+Received 3/3 messages
+Received from ChannelName this message: Hello, channel, this is 500
+Received from ChannelName this message: Hello, channel, this is 501
+Received from ChannelName this message: Hello, channel, this is 502
+Successfully joined channel ChannelName
+Successfully left channel ChannelName
diff --git a/channels/udb.yaml b/channels/udb.yaml
new file mode 100644
index 0000000..6e4e019
--- /dev/null
+++ b/channels/udb.yaml
@@ -0,0 +1,10 @@
+# UDB Config for E2E Integration test
+log: "./results/udb.log"
+sessionPath: "./results/udbsession"
+sessionPass: "hello"
+certPath: "../keys/cmix.rip.crt"
+port: "30060"
+keyPath: "../keys/cmix.rip.key"
+permCertPath: "../keys/cmix.rip.crt"
+permAddress: "0.0.0.0:20060"
+devMode: true
\ No newline at end of file
diff --git a/channels/udbContact.bin b/channels/udbContact.bin
new file mode 100644
index 0000000..10b0846
--- /dev/null
+++ b/channels/udbContact.bin
@@ -0,0 +1 @@
+<xxc(2)uu49Kr9myQUG0gG8VKwalxmem65pfPu4D2Lk1u8pi/UDrgZ7Ugdw/BAr6QTgt3dDqBSTfbLpgWOpOQvmR1bACzi52YiM90WbtsF4Iy5RZ64mRVbzN+erifSAaH8JAWSoK23KmMJH9F/HqBBwMjWJmpmkpxR0wo4bHDoBnHulqnBf/WxsHBeLk6HRbWqXWljV3LnO0ugSZDxa3cNu8mjfMNnxgoQr3JWY/bgiAHUGvUSHGxfMgmRvbxuFe3TRO9ZNVGhIC291GsvA+6kKnIjC2NuHu+UZ5Gmk86fw/1kbVK6lxFZsWN7dDgDrodUMc0Bnq2fQ+pmwP26x2Wj5tUHUKK+VHqmY+DGHg/RObjpgnr1qctl3/+gpL83Q3TyWwAjH/73tVww/M6lDnFYxAb62k0NYtVKZVFPDqrocFyAlDXaReg1it9VNJSPYiUM4TCimMmtYL6AgcXdMeD5E7UX1vsvmA5Ll9jZNOmoyPWLYt5W9Gvl79Xqgzqlf0t1DxR4ZmFtG/NwH3S1gCARcIlYgCb66j2gifEMH7aAQWyW8YLm2hEZmwLxISnIPjEL3gIOzNHtmGGXN23jUIwAAAgA790tNCG8KTm8tuEBiH/sjKg==xxc>
\ No newline at end of file
diff --git a/channels/udbProto.json b/channels/udbProto.json
new file mode 100644
index 0000000..940cadf
--- /dev/null
+++ b/channels/udbProto.json
@@ -0,0 +1 @@
+{"TransmissionID":"MhaUvxgJp0REgqp/FNes3ddICg1vKmIIUr+hABI9PXgD","TransmissionSalt":"aUdWmk0Dtu8YZ9N4fUCl80QAmCZ+eY96BDTAN9//9kI=","TransmissionRSA":{"N":744095517605335188486192402593567285818149781037814392671915097997165799160704009076529206117565015316892087089782583938102479243183663906078668582528984516276493241709164519970005583971481012694667579696383360567823504989650655410246207331522294633002054530951336779742521949130565223443549835766371552961634577790108359687869697030104209247319401651289712207512551543251668177804743453344668589351336794674335174328494860289416890175422687829958938924106165398205285038813958087994742173028066268997679203164659373760933342345626244738488110458781897756397149360694648367300111068967014678500898983090333707836644483738687322761365319344259236535454689996343110842585871572930571278463402471136616034421156328875234527272277980275379473515969296415235308154781609704415193243251254222667078013823356321213274280009612841451973719445431427792198300346805888677562529255025870805189890421627704987545754460307965087998094692006804411392783507966480991167024256590215549839475685306270811326657913050667578064503246626321836700579972796860953792588080819942544062977767967992236600692121009380090485897336412623665757415839315721348591326702012914394412545952829437103713850347584948953528257126120160975904938795178616150713777831589,"E":65537,"D":702540524327712978286466077105790056678969955922255232545891489063744574128612569535199928085456619203859372153966109927796010011603759273638246729040785738035622202988204724082335711421080162694477101925219543187134214539033120295707837878642675511638740378895522619590888057835298904908929813505588790799198357720349344223969868061274671644969751681902643121660346855086187525184614960443841773399647021439245580083376969805274103382587388114414289085660271241356003819929067314812253558149711712876228635033944612512096562618373058664318305855593748378360108198295661336701847393296488506669516858822963804260311691759542739227343536282374650987690037136673732778544975139599300829103845745104309687652878356279709829981494578600603924386279381105751731671579921080691074783353253958778076575957155595416051906390745893233111609000272562409467803170191115741547810223834894875859746256757717726366292758015729401293357270389003259918967902654657293283011346796119435418406947470723708887763547764820828540891209479365431423513260945988353481802346962185241475598840911175187647890159503133204568937310632267175230680232531126383217383814916312952923810037599497876585604599444464808553067231902765607317662766023981051800036686273,"Primes":[26431524235468771028852443590104055376636364921067197450041684258482439988835561020261125258562308094700689754910670346007026107201010688328852518422104352082149765577020457481232265846864075786524112374194109435619505107638299597352847727718122930754740563865787954820820245269180427904294490102595163613363903301612449832540143489589841021282833070290450230168473246516211511298499533872232550844877914066189330777819461606196011609435557144318950621971682270122109937087991576359208132704648705570764167630153594184009208403478937807655656357669009470285691425163502536227383519714393737089527860969984842067786101,28151820189273258942344071129053694480161436139819710188331124791415914831471008775403858034120373831438530464789505032183420165894885328994613924494905439083295166072103442061113078040409562754110291758200572034754286027961921301572668934253552291343681689448082037497152344335274886686268374921532985704635156460979764429070570728443686028271768081803840073189209047377853848238258439123998890243019814395279696459993201039305339332983028931741597790390904270131316198444444886804187393230626448411790408221074812330007942755799986304653723364502190308487509016389841021566288050103973334556368552133193493944408689],"Precomputed":{"Dp":275861918871181765777119358768805009042514512504538856765315959424477607341860685381671569904887601458340659358208317693345833000068530918670905329824669680092015802595205653556965833639852721943062588521732316919659756986505285939077892576089782636316013025988357127995499454722056436616528544641577916467658114626896496413590157420685280964301964082558981299651123802082620103577729849834552463156636605601011676641111307179731631610447855207198410446444461491425045347943699562532590182186851925025599137266354249078570861467256564390137921306217899471678791138011134699170397294423689155274685397614624288178673,"Dq":20251853375093108718674238635432892563921007495734318881533472838489627548476924176040866851955981272517828971313395551327029420652154717499734014133036480629583806088703921134828221879139253331786377393413250059516388743370809492102858684015410780592477790114275535038844384485571048533054744709867618963802570860877854857148803386838061270563205181572605460893517398533291080291147479606024866554731101049481309326072897084076010928068387048779916221764340337818499984617266561381665606317822215493877818423040314663633588189342602717841897580646356474723470712524458623415234392941421286158880506566848352312481377,"Qinv":1782249293930479585148549445278205034617546516712012566064256819261113180298258405511667713490475276726336613818509018461173201977639000556416891523605685233456051292911470649097170785609362912595510275601045219404262259673943809118153699614833210258102652927663612925023313592281316017977621743103307097046836057862305643762370317914029974246165942098634086048350280652529323604758408742898452312792547897909618079071765102987807077305433629474092046709583007609210604882495077254479038254736382806594706188378137791260031991135639188023310238199612626314094372849297487936335153146414944425343861682455207985266708,"CRTValues":null}},"ReceptionID":"uu49Kr9myQUG0gG8VKwalxmem65pfPu4D2Lk1u8pi/UD","ReceptionSalt":"M8xD+2gHGbqwKPwHFxs7+IjutQYuyBUkX2H257o5BdU=","ReceptionRSA":{"N":850387188153991188889446100749739241848829271482462061108409439312531431988795734813327514693008344548532502397064837726907012068926804456615485530991075075479632026273101933309061970039508777559060326644210787796911046233949155489473727669005294322689793791335544727360305644959942063168476363583581030898050353126928764965273874658694962134566452334451854924568242626514389265043292391299760010067072010852660228863317130740474026897759770820934809759670185849936472580423333979237659958984231856174610567212253308506984182380860548206401655999782332308043025450559980137052816211530713615583429240205892728859426128000967414395838939110894033790769681039750313146913688429864118346214901692066118374534016813397369786419474818398950057293996832967235881835337432259690040386208608584839830051784956186429114899224875646403109211367267143599678019107255952565689487312514740269900292167402469336239686704437448306260169629496444993371773823439258565787685710030837201534059640894021404396138451751712905956843779570695671045422782022593718074598748351627333401529057059641321731684199811309173775075814578877100319468485440759413419208114295109676086784903373038008038594143762297734223790838124082684159063469085109435783518725031,"E":65537,"D":564922212042972891506779603709986684962272914422874876092540423872769289935398323184885484645154711027502930510414145293747815500326018670791589385580030144211006599750553715770887147559547944650942359905229184557030627277529401445675232029624235148495438489607025204008203409747486116303247866721674280821649117660056115481226310038842219913218786872835656314004723732098768107056926939591645201310559136617365280437344369150983684163873340894930173985790635539446178597340291613196667556255191759193646646393943456253239701974694076434107586512390304739235381525566166520085882164295171867519962140940902875266686494581933486332733070115573951932064475826442525759304559384157338056633545437785084083189928354125207030609304055082642325819334882909664939190272656190536034921638933681026317152328190142016810293928283213410554345222497221023348512487512997673475708771529517243600219742073183452616019438402558324904073954972062329692828835961585134598049832023174978649417520451705037067815379933732830551892585260348438752787466224668527842810502446714266623795601014094978116799695556231619140778349831856996205593248896859777976571100881350185386707051672977669257878795867903988402998091514995549897864288962757393054768438537,"Primes":[29492971595987200184565588575492524180677323915637743461334512913337954089756992535478030745356298455923396638365524831317118482754099964262507886663300281433334915984551779676428190574578201359535331987821184071989738056990202803783701055959370528270478305175226218851763791555786561228871062383690072445559534386478623474224364245986294525688152961853703225064960942669169364540334937714823971415905428637789133243443480147178878208486722743719938775945712937478778805521783173263515825112840086735855547887576584469859603118910509756820711149404941056507505214523564857945496996487150674719706390219045171074335669,28833553966793039902622472693344948085468484145845354555175845509525852913656457209339298633228826325187527465622133573224700820135296269687184379379824668957542611483930310268532473436266625079565533379890421336412596736616538404624204368463036294562591617517553183068875112160214949467183247851787117317409259574446000362822944034217039330133706829603389396809485151845126091352794981119059018300220209826040784745553271153888708759107151118112035826198322288728622562498893857193711017030398086686353945134010647373894524028231986696810322055915091233789726845203397655178875279735934668248673328323303568542440299],"Precomputed":{"Dp":22035237410890233868459863048338975639819722683815281575052938413439628332162765147926847055043275613688284730725665248110879449899362264829236899315936009893392193130347405158251161198776593825925012295095354961090338647794761436856568384348544759704654930999358405268422632307384972924785564942206454328040993656009976019887941091363945732186709946704404815833892496723925079492767447780739975286934240402358132188919389129905454498658046281432577050584888444445861180895892596225766397251174372446422126467723384631073675430939059008540612500276377295754916960329986927526454681065555835446395523094977597412985733,"Dq":16841607730729779627880254737037774275779080108991259477426970506807599516834294855936468737964805708655851677434354230175954764404521738920387232291067463077265226781891943132572792211121754246391635530802528781571848010706640373056663308127699305062117691053480260736325118535987736173516864180026715457076559142313393867416303731172135824915975669274116088772252187506773681691029370847575861277330815144740242001614038173411351927897550159472187183222786780178092858880596561535853910492143960790906343282877269046075993405262988094570992390564561887627916194430414303984731460217763692273970657921724531238912593,"Qinv":13386450555509069245317666985331292478728039484440837065189457918756926085772889573452664818969207436096145088071795396654392004940595219762405312750934346518716740936238520072004578261328949676162223098531690599793600587771458065485838287464893640290027597304483114889945915722313306140200593797334834667938307085618314432134506785949791967130287157125647210497214516165218726084383497011560605024384546734297139331536623591040849235382041138776467271730696249828686335872619825082175542573979118200539219034800857165800266206532665733326893998872307865475986277696080650713536968589910998008126592314634991854532329,"CRTValues":null}},"Precanned":false,"RegistrationTimestamp":1640900456461843040,"RegCode":"","TransmissionRegValidationSig":"Zln6nmiiuvO2vZGe4jMrHyEWyd3j89GYUjnugb88V+1Q/mdn9BFV/qmiBpnoNyqAn5XOpHmkYOw0DkBX2Tc3w5NQWHiLgcrAMHlZUkinFZ2/jWeLNGuWTFmauu2q+z1C4R/reAjlRiyo2OuKBZxFoE3mbw85mWYoiyyMbEfyNCHK2ScCmdapHP5kSzWeUi2WjaNi+LUBqmWMLX9nWZs24YD6VapNnStcj7w14XTWtUJ/oXtgwI/uMDa3ZvLwCO6JwsRR3VGq98Dbky4eJhXwCnFTW/Jy/ZR5n3xPccU3Eb+/0eHyYwZGORe0Tr7qGq0YI9wFNfjv3rpEmqqScq9sHg==","ReceptionRegValidationSig":"ABBNeRb2gEVIi/LU3c4rwTxauQpJ0PV0Dp78JT3QGXyoThMjDIgpCZHZRr8clexXkDSNZ0GZCKLQtv48e2TJbO15oodzKZq9fS6HPNc/D2l17DBbNCFTy+kM7MKIqHU4dN2h/fhjYgQ0k3WaR04NGSFtX4FSyeDqh8LbQAlrvKn13Z1fCId6kt9Sp3GTWtRMm2RD3hRNYLzrFHqAiH/rDcMy/d4Ar9wTwKlIcFyX3+1ENjAxTcsnjno7+aa5tT8XI0HdlcvrMDkx+m2kbHquqGJM9hCg/XxhrLFqsjY0F0bVp7J2UeHoLw6s6OgEl9Eg5I0k51K+SSMa1Mse1zggkg==","CmixDhPrivateKey":{"Value":23134336198863750741748703660400387868824411194091704843877765878704684400020511760943730932032181255742725205976185967794840498055119688330124475657025083380879051516507316264855378759159543513707252259922784173347685874456358247463151784175729466898154272096842618045994973870223785531415217217965394756900460790339174016946558150507580144972427210564566872862707000226886100833409714665643615263325876515987666291734559374206190550344559412403144311029314745799204676946278572048079685978558133653417488694953610922501137922416052437955367323383147526279158425720871674296239641638893436600760625905793653337291326,"Fingerprint":1019130854791890857},"CmixDhPublicKey":{"Value":40661473203398365346021139834751279657661515042218153062933068745659041507124553367048607412838109996778705972152516147090017024944177990861357148498071195775787956973205443551118903422765769934453067811496751124796541305224646917714432655244199681118218184307551604728113020909007420531039281826284338933975869040846161322930224431922676228280139352116332784218225442881629816602619617561152949947075502732590198688997850331029595028876889786739167152345971604837504050490241011792155573239919262293917635508122225378077992880296300468988471302542680432268331360185693269950450132051419581315000110594207999508607050616011689445128093546507459669376840509120845943383094511932011628510767784841945662325523012877900497552502527594150800481434891933803449151469858078545202819003974303280259033864766743161709598642156724209578764288690522108924880552091308234645729967740909969025514152089886697815454891469560150611996697804062619010044123824507982370347027313396405015494843434897303661589566168416699605512854149233601685403032629550047093556970695648101495563847168540708660964238960062140890332386702253196064038177801032833477139196626595095716721717130200091320630907308046939829403546847081437153253274137106108481349472925,"Fingerprint":1019130854791890857},"E2eDhPrivateKey":{"Value":15868054927490624034769207675284372396111367138702747294809526549406434197505594302868553416930040949078939726209524016245099170354423124146109791439676150153811847753697222698706991672115541614080484720172498069738416608757527621565114235134343850506971256805006649306801742780960331446133932778313421336826492419515327757859355790985926801091202339643161980910811435573134233363961673385626782920679443568800015505367010870530111147205683029126252427303195582360585233280495455148410685790997024364716148825012857917467229638326785383545555885827743352446807694303549475074691875396849487056555719913457474008032697,"Fingerprint":16801541511233098363},"E2eDhPublicKey":{"Value":147139791407699234997192910595075527435460061524772944343748681206265869846642332345707990677406040145177534321538182440717890359993428686109525202118205223891431899168261959123977071363023161983520620405235747590084693661804115691677488049367521195795602971625363864492999496527190606383593289607097185210792999982667279095678826515909506042508081456493456997354040504436530126940434391612132572210469911068602346111602950742796752446044197938946885845119733654743975968520762482827365434031479613917149883640347855512864879556669871625702373555191119636414088476652878563700716501799409607427689929171266147047756204689439519092680494886131474665331718064247744119146288064620933248987203778241513546175445638858254194548267620960510274776658377038971793051901595492445943697519511203993381901627766295075444537422179881027670118336783809271801530698319821686375879565780071214330909899155111647279589474822393047955732167728825532445888096165721311471522851,"Fingerprint":16801541511233098363}}
\ No newline at end of file
-- 
GitLab