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:
9
passkeys/scripts/bootstrap.sh
Executable file
9
passkeys/scripts/bootstrap.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# The chicken-and-egg problem: a passkey cannot be a user's first credential.
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
|
||||
start_app "" > /dev/null
|
||||
{
|
||||
header "Bootstrapping - registering a passkey requires an existing authenticated session"
|
||||
ceremony bootstrap
|
||||
} 2>&1 | tee "$OUTPUT_DIR/pk-bootstrap.txt"
|
||||
stop_app
|
||||
Reference in New Issue
Block a user