logging update, comments, and mod tidying

This commit is contained in:
2025-04-16 16:29:51 -04:00
parent 852ca3ab1a
commit 2a6090bd67
4 changed files with 3 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ func initConfig() {
viper.Set("port", port)
viper.Set("nonce", "")
//generate a uuid to be used as encryption key
//generate psuedo-random key
uu := make([]byte, 32)
_, err := rand.Read(uu)
cobra.CheckErr(err)

View File

@@ -70,6 +70,8 @@ var loginCmd = &cobra.Command{
fmt.Printf("\n%s\n", res)
}
}
fmt.Printf("Disconnected from %s\n", server)
},
}