Skip to content
PlatformMarkdown

What's next for keys

The key features on the way, from Ed25519 signing to managing keys in the dashboard, and what to use until each one arrives.

PlannedRFC 9864

These key features are planned. None of them is available yet; each says what it will do, how you’ll use it, and what to use today.

What it will do. A fourth signing algorithm, whose keys and signatures are smaller and quicker to check than RSA’s. Every realm will get an Ed25519 key, published in its key set beside the others and rotated and revoked the same way.

How you’ll use it. Add Ed25519 to keySettings.algorithm.oauth2.idToken, and set a client’s idTokenSignedResponseAlg or userinfoSignedResponseAlg to it; its ID tokens and signed answers are then signed with Ed25519. Rotate it with PUT https://foobar.cvyuh.com/api/v0/am/keys/v1/signing, naming the algorithm, as you do the others.

Today: a realm signs with ES256, RS256 and PS256, one key for each. Access tokens are always ES256, which already gives small, fast signatures.

What it will do. List, rotate, revoke and import the realm’s keys from a dashboard screen, with each version’s state and when it starts signing.

How you’ll use it. Open the realm’s keys in the dashboard, choose an algorithm, and pick when the new key starts signing; the screen holds you to the publish lead as the API does.

Today: do each through the admin API; see Signing keys and Bring your own key.

What it will do. A realm administrator will be able to read back a signing key the realm brought with Bring your own key, kept apart from the keys the realm made itself. Keys the realm made will still never be returned.

How you’ll use it. Read the imported version by its algorithm and version number, with the same rights you import it with (MODIFY on keySettings).

Today: no API returns an imported key. Keep the copy you imported from under your own key ceremony, and import it again as a new version if you need to move it.