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.
10 lines
339 B
Bash
Executable File
10 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Three assertions with an increasing signature counter, then a replay of a stale one.
|
|
source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
|
|
start_app "" > /dev/null
|
|
{
|
|
header "Signature counter: stored on every assertion, compared against on none"
|
|
ceremony clone-counter
|
|
} 2>&1 | tee "$OUTPUT_DIR/pk-counter.txt"
|
|
stop_app
|