Developers

Test post-quantum sign-in. Free.

Sign in with a post-quantum card in your browser in two minutes. Then run the card on your own machine, try the PIV cards you already have and connect your own apps. Everything on this page is free for development.

Open the sandbox See every free option

Pick where to start.

Three of these work today in a browser or with a quick email. The rest come with the free developer preview: ask once and we send the tools and test certificates.

01Available now

In your browser

2 minutes · Nothing to install

Open try.safecac.com, make a virtual card and sign in to the demo app with PIN 123456. The card generates its own ML-DSA-87 and ML-KEM-1024 keys, and the sandbox's test CA certifies them.

02Available now

The test PKI and metadata

Download · Any SAML 2.0 tool

Download the sandbox's root certificates and its identity provider metadata, to inspect an ML-DSA-87 chain and plan your broker's settings.

curl -O https://try.safecac.com/pki/root-ca.pem
curl -O https://try.safecac.com/pki/classical-root-ca.pem
curl https://try.safecac.com/idp/saml/metadata
03Free on request

Your app, our sandbox

15 minutes · Keycloak or any SAML 2.0 broker

Import the sandbox metadata into your broker and send us its entity ID and assertion consumer URL. We register test brokers for free, and your users sign in with virtual cards.

04Developer preview

A card on your machine

10 minutes · Rust 1.85 or later

Run the card simulator and the bridge on your machine and sign in to the sandbox. The card's keys never leave it: on the first run it enrolls itself with the test CA.

cargo run --release -p pqpiv-sim -- --listen 127.0.0.1:35964 --state hosted-card.bin
cargo run --release -p pqbridge -- --hosted https://try.safecac.com \
    --card 127.0.0.1:35964 --surname DOE --given-name JANE
05Developer preview

The whole stack on your laptop

20 minutes · Rust, Docker, Python 3

Test PKI, card simulator, identity provider, bridge and Keycloak, all local. Then sign in to Keycloak through the bridge with PIN 123456.

scripts/demo.sh up
docker compose up -d keycloak
python3 scripts/keycloak_e2e.py
06Developer preview

The PIV card you already have

A YubiKey or any PIV card · Any PC/SC reader

Enroll it with the local test PKI and sign in through the bridge. A card without post-quantum keys signs with its classical 9A key, still inside an ML-KEM-1024 TLS 1.3 session, and the identity provider marks the sign-in as classical.

pqbridge --list-readers
pqbridge --reader auto
07Developer preview

PKCS #11 3.2 for your tools

Linux today · pkcs11-tool, ssh, OpenSSL

One module for any maker's PIV card: classical keys on every card, and ML-DSA-87 signing and ML-KEM-1024 decapsulation on SafeCAC cards. Tested with pkcs11-tool and ssh-keygen against the simulator and through pcscd.

pkcs11-tool --module libpqpkcs11.so -L
pkcs11-tool --module libpqpkcs11.so --login -O
08Testers wanted

Windows and macOS drivers

Windows key storage provider · macOS token driver

The card's keys in Windows applications through CNG, with ML-DSA-87, and in macOS apps through CryptoTokenKit. Both are in early development, and we are looking for testers with real machines and cards.

Get the free developer preview See the kits

Hardware on your desk. $99 or $199.

Both kits are priced near cost and run the same code as production, so nothing you build is rewritten later.

Developer kit: two SafeCAC PIV cards and a USB-C smart card reader
Developer kitReserve now

$99

Real PIV cards and a reader, to move from the simulator to hardware.

  • CardsTwo dual-interface PIV cards (NXP JCOP 4) with a PIV application and test certificates, for contact readers and NFC
  • ReaderA USB-C smart card reader for Windows, macOS and Linux
  • SoftwareThe developer preview: the card simulator, the bridge, the PKCS #11 3.2 module and early Windows and macOS drivers
  • SandboxA test registration for your SAML 2.0 broker on try.safecac.com

The cards carry classical keys. Post-quantum keys run in the simulator, or on the chip with the post-quantum kit.

Post-quantum kit: the SafeCAC reader adapter in its case, inserted in the smart card reader
Post-quantum kitIn development

$199

The whole post-quantum flow on hardware: the SafeCAC chip on an FPGA board, in a card reader, signing you in with ML-DSA-87.

  • Everything in the developer kitCards, reader, developer preview and sandbox registration
  • Reader adapterA card-shaped board that carries the card contacts from the FPGA board's Pmod port into the reader's slot
  • FirmwareThe SafeCAC chip for the FPGA board and its card firmware, with ML-DSA-87 and ML-KEM-1024 on the chip
  • The full flowReader, chip, bridge, identity provider and your app, with a step-by-step test guide

You also need a Digilent Nexys Video board (part 410-316), bought separately from Digilent or a distributor. We ship the kit when the reader firmware is ready; reservations go first.

alpha@safecac.com

Free to build. Paid when it goes live.

What you build in the sandbox carries over to the developer kit, the pilot and production. Only the cards and the trust anchors change.

01

Try
Free

The sandbox in any browser, the test PKI, a test registration for your broker, and the developer preview for your own machine.

02

Build
Kits, $99 and $199

The $99 developer kit adds real PIV cards and a reader. The $199 post-quantum kit adds the reader adapter and firmware that run the SafeCAC chip on an FPGA board. The PKCS #11 module and the drivers stay free for development.

03

Pilot
Fixed price, 90 days

Cards for your team, a hosted identity provider on your own trust anchors, and our help connecting your identity broker, VPN and signing tools.

04

Production
Per seat, per year

Seat licenses for the middleware and identity provider, cards or tokens, and support for your rollout.

Request pilot access See the kits

Three steps to your own sign-in.

Your applications keep speaking SAML 2.0. The PIN, the card's ML-DSA-87 signature and the ML-KEM-1024 session stay between the user's device and the SafeCAC identity provider, so adding post-quantum sign-in is a configuration change, not a rewrite.

01

Import the metadata

Add https://try.safecac.com/idp/saml/metadata to Keycloak or any SAML 2.0 broker as an identity provider. The settings it needs are below.

02

Register your broker

Send us your entity ID and assertion consumer URL and we add your broker to the sandbox for free. In a pilot it gets its own identity provider.

03

Map the attributes

Use the EDIPI as the user's identifier and map names and email as you need them. The full list is below.

Register a test broker

Where SafeCAC sits.

Your application and its broker only see standard SAML 2.0. The post-quantum link, in orange, runs between the user's device and the SafeCAC identity provider.

USER'S DEVICESAFECACYOUR INFRASTRUCTUREBrowserTHE USER'S USUAL BROWSERYour applicationOR ITS IDENTITY BROKERSafeCAC cardPIV, CLASSICAL AND PQ KEYSBridge or middlewareON THE USER'S MACHINESafeCAC identity providerHOSTED OR ON YOUR NETWORKSAML 2.0, REDIRECT AND POSTSIGN-IN PAGE AND PINPIN, SIGNATURETLS 1.3 · ML-KEM-1024 · ML-DSA-87SIGNED ASSERTIONTRUSTED BY METADATA

One sign-in, step by step.

BrowserYour applicationBridgeCardSafeCAC IdP01 Opens your application02 AuthnRequest, redirect03 AuthnRequest04 Asks for the PIN05 PIN06 Verify PIN, sign the handshake07 ML-DSA-87 signature08 TLS 1.3, ML-KEM-1024, card certificate09 Validates the chain, reads the EDIPI10 Signed SAML response11 Posts it to your application12 POST to your ACS URL

Connection settings.

Metadata
https://try.safecac.com/idp/saml/metadataThe sandbox. Pilots get their own.
Single sign-on
HTTP-Redirect or HTTP-POSTFor the AuthnRequest. The response always comes back by HTTP-POST.
Signing
RSA-SHA256Response and assertion are both signed. ML-DSA-87 follows once brokers can verify it.
NameID
persistentThe EDIPI. emailAddress and unspecified (the UPN) on request.
Authentication context
urn:oasis:names:tc:SAML:2.0:ac:classes:SmartcardPKI
Assertion lifetime
5 minutesWith 60 seconds of allowed clock skew.
Single logout
HTTP-Redirect
edipi
The 10-digit DoD ID number. Always sent.
givenName, surname, middleName, cn
Names from the card's certificate, when names are turned on.
email
From the card's certificate, when email is turned on.
certificateSerial, issuerDN, subjectDN, upn
The card's authentication certificate, for audit trails.
pqSession
How the card authenticated: the ML-DSA-87 key and the TLS 1.3 session it signed.

try.safecac.com.

A public test service with a test PKI. Never use a real card or a real identity with it.

Virtual card
https://try.safecac.comSign in from any browser. PIN 123456, valid for 30 minutes.
Your own simulator
https://try.safecac.com/byoRun the card simulator and the bridge on your machine.
Metadata
https://try.safecac.com/idp/saml/metadata
Test roots
https://try.safecac.com/pki/root-ca.pemAnd classical-root-ca.pem for the classical chain.
Health
https://try.safecac.com/healthz
Limits
20 cards and 10 enrollments an hourPer visitor; 400 and 200 for the whole service.

What runs where.

Card authentication
ML-DSA-87FIPS 204.
Key establishment
ML-KEM-1024FIPS 203, over TLS 1.3 only.
Cipher suite
TLS_AES_256_GCM_SHA384
Classical credentials
ECDSA P-384, P-256; RSA 2048, 3072Beside the post-quantum keys, so existing PIV relying parties keep working.
Assertion signature
RSA-SHA256What brokers verify today.

When a sign-in stops.

Error pages show a reason code under Details. These are the ones an integration meets.

pin_blocked
Too many wrong PINs. On the sandbox, make a new virtual card.
expired
The sign-in waited too long. Start again from your application.
unknown_sp
The service provider is not registered with this identity provider.
sp_disabled
The service provider is registered but turned off.
no_request
The request carries no SAMLRequest.
relay_state_too_long
RelayState is longer than the identity provider accepts.
too_many_pending
Too many sign-ins are waiting on the bridge. Finish or close the others.
upstream_failed
The post-quantum connection to the identity provider failed.
rate_limited
The sandbox's hourly limit was reached. Try again later.
cross_origin
A form was sent from another site and was refused.

Middleware and licensing.

PKCS #11 3.2 module
Developer preview nowGeneral release targeted for Q2 2027. For VPN clients, SSH, code and document signing, and identity providers that do their own cryptography, with any maker's PIV card.
Windows and macOS
Early developmentA CNG key storage provider for Windows and a CryptoTokenKit driver for macOS, with testers wanted.
Cards
Any maker'sNo lock-in to one supplier: the classical slots of any compliant PIV card, and post-quantum slots as each maker's cards add support.
Card application
OEM licenseFor card and token makers, once the final post-quantum PIV specification is published.

Before you start.

Is it really free?
Yes, for development and evaluation. The sandbox, a test registration for your broker, the developer preview and the test certificates cost nothing. You pay for a pilot and for production.
Do I need hardware?
No. The browser sandbox and the simulator are complete PIV cards in software. Add a kit or a card you already own when you want real hardware: the $99 kit for PIV cards and a reader, the $199 kit for the SafeCAC chip on an FPGA board.
Can I use my YubiKey?
Yes, with the developer preview and the local stack. Its classical keys sign in inside a post-quantum session. Post-quantum keys need a card that has them, such as SafeCAC's.
Is the sandbox private?
No. It is a public test service with a test PKI. Never use a real card or a real identity with it.
What about production?
A pilot moves your work onto your own trust anchors and cards, and nothing you built is rewritten. Production adds seat licenses and support.

Start free today.

Open the sandbox now, or tell us what you are integrating and we will send the developer preview and help you connect it.

Open the sandbox Get the free developer preview alpha@safecac.com