This is a demo repository, intended for me to learn about how passkeys operate. The second goal of this project is learn more about Rust.
Deployed on Cloudflare Workers, for cost efficiency.
Run these commands to generate, and set the secrets to run the app.
# Generate the keys
sh secrets.sh
# Save the keys to the Cloudflare worker
cat auth_private_key.pem | wrangler secret put JWT__PRIVATE_KEY
cat auth_public_key.pem | wrangler secret put JWT__PUBLIC_KEYObviously the public keys are not secret, but keeping them with the private keys makes it easier to comprehend what goes with what.