verify unlock key against hash on disk
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2024-01-09 21:22:16 +11:00
1 parent 1bb983b4b9
commit dc9ffceb3e
3 files changed
+72 -12

No files matched your search

+1 -2
View File
@@ -12,8 +12,7 @@ type UnlockInput struct {
SecretKey string `json:"secretKey"`
}
// receive secret key and store it using the Key model
// Unlock receives secret key and store it in memory
func Unlock(c *gin.Context) {
var input UnlockInput