MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / errAccessDenied

Function errAccessDenied

IceFireDB-SQLite/pkg/mysql/server/auth.go:68–74  ·  view source on GitHub ↗
(password string)

Source from the content-addressed store, hash-verified

66}
67
68func errAccessDenied(password string) error {
69 if password == "" {
70 return ErrAccessDeniedNoPassword
71 }
72
73 return ErrAccessDenied
74}
75
76func scrambleValidation(cached, nonce, scramble []byte) bool {
77 // SHA256(SHA256(SHA256(STORED_PASSWORD)), NONCE)

Calls

no outgoing calls

Tested by

no test coverage detected