Altered Dehasher to CrowsNest

! WARNING !

This will break older versions of CrowsNest. The database file will no longer be compatible
This commit is contained in:
Evan Hosinski
2025-05-21 09:12:20 -04:00
parent 63f302604f
commit fbe1eda8e9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Makefile for Dehasher # Makefile for CrowsNest
# Go command # Go command
GO=go GO=go
+1 -1
View File
@@ -77,7 +77,7 @@ var (
// Validate credentials // Validate credentials
if key == "" { if key == "" {
fmt.Println("API key is required. Set the key with the \"set-key\" command. [dehasher set-key <api_key>]") fmt.Println("API key is required. Set the key with the \"set-key\" command. [crowsnest set-key <api_key>]")
return return
} }
+1 -1
View File
@@ -59,7 +59,7 @@ var (
// Validate credentials // Validate credentials
if key == "" { if key == "" {
fmt.Println("API key is required. Set the key with the \"set-key\" command. [dehasher set-key <api_key>]") fmt.Println("API key is required. Set the key with the \"set-key\" command. [crowsnest set-key <api_key>]")
return return
} }
+1 -1
View File
@@ -45,7 +45,7 @@ func GetHardwareEntropy() []byte {
username, username,
osInfo, osInfo,
// You could add a static salt here for additional security // You could add a static salt here for additional security
"Dehasher-static-salt-value", "CrowsNest-static-salt-value",
}, ":") }, ":")
// Hash the fingerprint to get a 32-byte key // Hash the fingerprint to get a 32-byte key