auth: publish passkey foundations preview
verify / verify (push) Successful in 3m40s

This commit is contained in:
2026-08-21 17:33:00 -04:00
parent fb6bbd0dad
commit bfe6cfd29e
230 changed files with 44547 additions and 17 deletions
+21
View File
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: MPL-2.0
package authwebauthn
import (
"testing"
"gamertan.com/web/internal/webauthnvendored/protocol"
)
func FuzzPasskeyResponseParsers(f *testing.F) {
f.Add([]byte(`{}`))
f.Add([]byte(`{"id":"credential","rawId":"Y3JlZGVudGlhbA","type":"public-key","response":{}}`))
f.Fuzz(func(t *testing.T, value []byte) {
if len(value) > maxResponseBytes {
t.Skip()
}
_, _ = protocol.ParseCredentialCreationResponseBytes(value)
_, _ = protocol.ParseCredentialRequestResponseBytes(value)
})
}