Skip to main content
Public BetaWe're in Public Beta. Things may break. Please report issues via the Support tab.

ACE Passport

AI-native authentication that never expires. Your passport is a device-bound cryptographic identity.

The Problem with JWT Tokens
Why we built something better

Traditional JWT tokens and API keys have fundamental issues when used with AI tools:

Tokens Expire

JWT tokens expire after 30 days, breaking your workflow unexpectedly.

Config Sync Issues

Token in shell vs config file vs MCP get out of sync constantly.

Stale Organization

Wrong organization ID in token means database routing fails.

Subprocess Problems

Environment variables don't inherit properly to child processes.

The Passport Solution
Authentication designed for AI tools

ACE Passport is like a real passport - issued once, never expires, gets stamped by services:

Never Expires

Your passport is permanent until you revoke it. No more token refresh issues.

Device-Bound

Cryptographically tied to your device. Can't be copied or stolen.

One File

Everything in ~/.ace/passport.json. All tools read the same file.

Builds Trust

Trust score grows over time based on your usage patterns.

How It Works
The passport lifecycle
1

Create Passport

When you run ace passport create, ACE generates:

  • Fingerprint - Hash of machine ID + install path + platform + entropy
  • Keypair - Ed25519 public/private key for signing
  • Passport ID - Unique identifier (ace_XXXXXXXXXXXX)
2

Link to Account (Optional)

Run ace passport link to connect your passport to your ACE account. This enables cloud access and syncs your subscription tier.

Note: Passports work locally without linking - great for offline development!

3

Get Stamped

When you connect to a service, it verifies your passport and adds a visa stamp:

localhost:7777
Full Access
ace3-ai.com
Full Access
4

Authenticate Requests

Every API request is signed with your private key:

X-ACE-Passport: ace_7x8k2m9p4n
X-ACE-Fingerprint: a3f2-8k9m-2p4n
X-ACE-Timestamp: 1705567890
X-ACE-Signature: [ed25519 signature]
Quick Start
Get started with passport authentication

1. Create your passport

This creates ~/.ace/passport.json and ~/.ace/.passport.key

2. View your passport

3. Link to your account (optional)

Links your passport to your ACE account for cloud access

4. Check status

Shows trust score, stamps, and server-side info

Passport vs JWT vs API Key
Why passport is better for AI tools
FeatureJWT TokenAPI KeyPassport
Expiration 30 days 1 year Never
Device-bound No No Yes
Cryptographic HMAC Hash only Ed25519
Works offline Until expiry Needs server Always
Trust building No No Yes
Config sync Multiple files Env vars One file
Technical Details
For the security-minded

Fingerprint Generation

The fingerprint is a SHA-256 hash of:

Request Signing

Each request is signed with Ed25519:

File Locations

~/.ace/passport.json # Public passport data
~/.ace/.passport.key # Private key (0600 permissions)
~/.ace/.entropy # Installation entropy
Trust Score
AI-native trust building

Unlike traditional binary auth (yes/no), your passport builds trust over time:

New

0-9

Growing

10-99

Established

100-499

Trusted

500+

Trust score increases with consistent usage patterns, memories created, and API requests. Higher trust can unlock advanced features in the future.

CLI Reference
All passport commands
ace passport create

Create a new passport for this device. Generates fingerprint and keypair.

ace passport show

Display current passport info with visual card format.

ace passport link

Link passport to your ACE account. Requires prior ace login.

ace passport status

Check server-side passport status, trust score, and stamps.

ace passport revoke [--force]

Permanently revoke this passport. Use --force to skip confirmation.

FAQ

Do I need a passport to use ACE?

No, JWT tokens and API keys still work. Passport is an optional upgrade for a better experience.

Can I use one passport on multiple devices?

No, each device gets its own passport. You can link multiple passports to the same account.

What happens if I reinstall ACE?

Your passport files in ~/.ace are preserved. If you delete them, create a new passport.

Is my private key secure?

Yes, it's stored in ~/.ace/.passport.key with 0600 permissions (owner read/write only). The key never leaves your device.