Add passkeys project: WebAuthn ceremonies, a software authenticator and the one-time-token fallback
Fourth Maven project in the repository. Registration and authentication run end to end with no browser and no hardware key: VirtualAuthenticator emits real CBOR attestation objects and real ES256 assertion signatures, and tools/PasskeyCeremony.java drives the live HTTP endpoints with them. Profiles cover userVerification REQUIRED, DIRECT attestation, a disallowed origin and JDBC persistence. Eleven doc chapters and twelve captured transcripts under docs/passkeys and docs/output/pk-*.txt, all regenerated by passkeys/scripts/run-all.sh.
This commit is contained in:
14
passkeys/scripts/user-verification.sh
Executable file
14
passkeys/scripts/user-verification.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# The same authenticator, with the UV flag clear, against both settings.
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
|
||||
{
|
||||
header "userVerification PREFERRED - the default"
|
||||
start_app "" > /dev/null
|
||||
ceremony no-uv
|
||||
stop_app
|
||||
|
||||
header "userVerification REQUIRED - the uvrequired profile"
|
||||
start_app uvrequired > /dev/null
|
||||
ceremony no-uv
|
||||
stop_app
|
||||
} 2>&1 | tee "$OUTPUT_DIR/pk-user-verification.txt"
|
||||
Reference in New Issue
Block a user