change initial shared key to "minisrv!"
This commit is contained in:
@@ -11,7 +11,7 @@ var irc_nick = session_data.getSessionData("subscriber_irc_nick") || session_dat
|
||||
data = `<html>
|
||||
<head>
|
||||
<title>
|
||||
Chat Home (Testing)
|
||||
Chat Home
|
||||
</title>
|
||||
</head>
|
||||
<body bgcolor="#101C1E" text="#A2ACB5" link="#CFC382" vlink="#E1EOE3" fontsize="medium" vspace=0 hspace=0>
|
||||
@@ -109,12 +109,12 @@ Chat Home (Testing)
|
||||
<table>
|
||||
<tr>
|
||||
<td abswidth="120">Server:</td>
|
||||
<td><input width="240" bgcolor=262626 text=D6D6D6 cursor=cc9933 font=proportional type="text" name="host" value="${request_headers.query.host || "irc.libera.chat"}"></td>
|
||||
<td><input width="240" bgcolor=262626 text=D6D6D6 cursor=cc9933 font=proportional type="text" name="host" value="${request_headers.query.host || (minisrv_config.config.irc.enabled) ? minisrv_config.config.service_ip : "irc.libera.chat"}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Port:</td>
|
||||
<td><input width="240" bgcolor=262626 text=D6D6D6 cursor=cc9933 font=proportional type="text" name="port" value="${request_headers.query.port || 6667}"></td>
|
||||
<td><input width="240" bgcolor=262626 text=D6D6D6 cursor=cc9933 font=proportional type="text" name="port" value="${request_headers.query.port || (minisrv_config.config.irc.enabled) ? minisrv_config.config.irc.port : 6667}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
@@ -14,12 +14,6 @@ var WTVShared = require("./WTVShared.js")['WTVShared'];
|
||||
*/
|
||||
|
||||
class WTVSec {
|
||||
// Initial Shared Key, in Base64 Format
|
||||
// You can change this but it doesn't mean much for security. Just make sure its static. 8 bytes base64 encoded.
|
||||
// If you intend to link multiple minisrv's together, they must all share the same Initial Shared Key.
|
||||
|
||||
initial_shared_key_b64 = "CC5rWmRUE0o=";
|
||||
|
||||
initial_shared_key = null;
|
||||
current_shared_key = null;
|
||||
challenge_key = null;
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
"password": "MySeqRetKey1" // change this in user_config.json
|
||||
},
|
||||
"keys": {
|
||||
"initial_shared_key": "CC5rWmRUE0o=", // Used for the initial RC4 rolling key. Changing this is untested and unsupported.
|
||||
"initial_shared_key": "bWluaXNydiE=", // Used for the initial RC4 rolling key. Changing this is untested and unsupported.
|
||||
"user_data_key": "PNa$WN7gz}!T=t6X7^=|Ii##CEB~p\\EP" // Currently used to cipher user passwords in configs. Changing this while there are registered accounts will make it impossible to decrypt existing account passwords
|
||||
},
|
||||
"passwords": {
|
||||
|
||||
Reference in New Issue
Block a user