implement auth and a simple admin-follows whitelist
Some checks failed
Go / build (push) Has been cancelled

This commit is contained in:
2025-09-07 19:08:29 +01:00
parent f5a8c094e4
commit 5edb7a3b09
27 changed files with 458 additions and 117 deletions

View File

@@ -12,8 +12,8 @@ import (
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"lol.mleku.dev/log"
"utils.orly/units"
"utils.orly/constraints"
"utils.orly/units"
)
// L is the label associated with this type of codec.Envelope.
@@ -55,7 +55,7 @@ func (en *Challenge) Label() string { return L }
func (en *Challenge) Write(w io.Writer) (err error) {
var b []byte
b = en.Marshal(b)
log.T.F("writing out challenge envelope: '%s'", b)
log.D.F("writing out challenge envelope: '%s'", b)
_, err = w.Write(b)
return
}