remove logging of secure data
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-28 12:03:48 +11:00
parent 484acd1822
commit ca39234f12
4 changed files with 696 additions and 34 deletions

View File

@@ -22,7 +22,7 @@ func Unlock(c *gin.Context) {
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
return
}
log.Printf("Unlock received JSON input '%v'\n", input)
log.Println("Unlock received JSON input")
// check that the key is 32 bytes long
if len(input.SecretKey) != 32 {