You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,14 +31,12 @@ public class NetworkingConfiguration
27
31
/// List of MessageTypes that can be passed through by Server. MessageTypes in this list should thus not be trusted to as great of an extent as normal messages.
/// The data to send during connection which can be used to decide on if a client should get accepted
88
86
/// </summary>
89
87
publicbyte[]ConnectionData=newbyte[0];
@@ -106,10 +104,12 @@ public class NetworkingConfiguration
106
104
/// <summary>
107
105
/// Private RSA XML key to use for signing key exchange
108
106
/// </summary>
107
+
[TextArea]
109
108
publicstringRSAPrivateKey="<RSAKeyValue><Modulus>vBEvOQki/EftWOgwh4G8/nFRvcDJLylc8P7Dhz5m/hpkkNtAMzizNKYUrGbs7sYWlEuMYBOWrzkIDGOMoOsYc9uCi+8EcmNoHDlIhK5yNfZUexYBF551VbvZ625LSBR7kmBxkyo4IPuA09fYCHeUFm3prt4h6aTD0Hjc7ZsJHUU=</Modulus><Exponent>EQ==</Exponent><P>ydgcrq5qLJOdDQibD3m9+o3/dkKoFeCC110dnMgdpEteCruyBdL0zjGKKvjjgy3XTSSp43EN591NiXaBp0JtDw==</P><Q>7obHrUnUCsSHUsIJ7+JOrupcGrQ0XaYcQ+Uwb2v7d2YUzwZ46U4gI9snfD2J0tc3DGEh3v3G0Q8q7bxEe3H4aw==</Q><DP>L34k3c6vkgSdbHp+1nb/hj+HZx6+I0PijQbZyolwYuSOmR0a1DGjA1bzVWe9D86NAxevgM9OkOjG8yrxVIgZqQ==</DP><DQ>OB+2gyBuIKa2bdNNodrlVlVC2RtXnZB/HwjAGjeGdnJfP8VJoE6eJo3rLEq3BG7fxq1xYaUfuLhGVg4uOyngGQ==</DQ><InverseQ>o97PimYu58qH5eFmySRCIsyhBr/tK2GM17Zd9QQPJZRSorrhIJn1m6gwQ/G5aJLIM/3Yl04CoyqmQGsPXMzW2w==</InverseQ><D>CxAR1i22w4vCquB7U0Pd8Nl9R2Wxez6rHTwpnoszPB+rkAzlqKj7e5FMgpykhoQfciKPyWqQZKkAeTMIRbN56JinvpAt5POId/28HDd5xjGymHE81k3RzoHqzQXFIOF1TSYKUWzjPPF/TU4nn7auD4i6lOODATsMqtLr5DRBN/0=</D></RSAKeyValue>";//CHANGE THESE FOR PRODUCTION!
110
109
/// <summary>
111
110
/// Public RSA XML key to use for signing key exchange
112
111
/// </summary>
112
+
[TextArea]
113
113
publicstringRSAPublicKey="<RSAKeyValue><Modulus>vBEvOQki/EftWOgwh4G8/nFRvcDJLylc8P7Dhz5m/hpkkNtAMzizNKYUrGbs7sYWlEuMYBOWrzkIDGOMoOsYc9uCi+8EcmNoHDlIhK5yNfZUexYBF551VbvZ625LSBR7kmBxkyo4IPuA09fYCHeUFm3prt4h6aTD0Hjc7ZsJHUU=</Modulus><Exponent>EQ==</Exponent></RSAKeyValue>";//CHANGE THESE FOR PRODUCTION!
114
114
/// <summary>
115
115
/// Wheter or not to allow any type of passthrough messages
@@ -119,10 +119,12 @@ public class NetworkingConfiguration
119
119
/// Wheter or not to enable scene switching
120
120
/// </summary>
121
121
publicboolEnableSceneSwitching=false;
122
+
/// <summary>
123
+
/// The RSA Keysize to use
124
+
/// </summary>
125
+
publicintRSAKeySize=2048;
122
126
123
-
//Cached config hash
124
127
privatebyte[]ConfigHash=null;
125
-
126
128
/// <summary>
127
129
/// Gets a SHA256 hash of parts of the NetworkingConfiguration instance
128
130
/// </summary>
@@ -133,41 +135,48 @@ public byte[] GetConfig(bool cache = true)
0 commit comments