Sentinel is a whitelist made only in Go that uses the library crypt to secure your keys
Caution
Is recommended using a host to substitute the folder Data to avoid expose the hashs directly inside the file Data/Keys.json
whitelist // root of the project
│ go.mod
│ go.sum
│ LICENSE
│ main.go // Init and repeat
│ README.md
│ whitelist.go // configure the whitelist
│
├───Data
│ config.json // General configuration
│ Keys.json // Database of the keys
│ // Format: {key: hwid}
├───gen
│ Salty.go // Salty generator
│
├───Handlers
│ identifier.go // Handle almost everything
│ json.go // Read and import json files in Data
│
└───phrase
dictionary.go // Wordlist
phrase.go // Word generator
README // Warningthe main whitelist functions are get by the file "whitelist.go" found in the root of the project
VerifyKey checks if the key is in Keys.json and if it matches with the user data provided
Example:
if VerifyKey("User_Key_Here") {
fmt.Println("Sucess")
}