Update version
This commit is contained in:
@@ -33,6 +33,9 @@ int main(int argc, char** argv) {
|
|||||||
PanicHandler::init();
|
PanicHandler::init();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
log("ColumnLynx Client, Version " + getVersion());
|
||||||
|
log("This software is licensed under the GPLv3. See LICENSE for details.");
|
||||||
|
|
||||||
LibSodiumWrapper sodiumWrapper = LibSodiumWrapper();
|
LibSodiumWrapper sodiumWrapper = LibSodiumWrapper();
|
||||||
|
|
||||||
std::array<uint8_t, 32> aesKey = {0}; // Defualt zeroed state until modified by handshake
|
std::array<uint8_t, 32> aesKey = {0}; // Defualt zeroed state until modified by handshake
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ int main(int argc, char** argv) {
|
|||||||
try {
|
try {
|
||||||
// TODO: Catch SIGINT and SIGTERM for graceful shutdown
|
// TODO: Catch SIGINT and SIGTERM for graceful shutdown
|
||||||
|
|
||||||
|
log("ColumnLynx Server, Version " + getVersion());
|
||||||
|
log("This software is licensed under the GPLv3. See LICENSE for details.");
|
||||||
|
|
||||||
// Generate a temporary keypair, replace with actual CA signed keys later (Note, these are stored in memory)
|
// Generate a temporary keypair, replace with actual CA signed keys later (Note, these are stored in memory)
|
||||||
LibSodiumWrapper sodiumWrapper = LibSodiumWrapper();
|
LibSodiumWrapper sodiumWrapper = LibSodiumWrapper();
|
||||||
log("Server public key: " + bytesToHexString(sodiumWrapper.getPublicKey(), crypto_sign_PUBLICKEYBYTES));
|
log("Server public key: " + bytesToHexString(sodiumWrapper.getPublicKey(), crypto_sign_PUBLICKEYBYTES));
|
||||||
|
|||||||
Reference in New Issue
Block a user