Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .changeset/brave-wolves-shout.md

This file was deleted.

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @seamless-auth/types

## 0.15.0

### Minor Changes

- 0857223: Let a deployment refuse synced passkeys and restrict authenticator models.

`AuthenticatorPolicySchema` gains three fields:

- `syncedPasskeys`, `allow` or `block`, **defaulting to `block`**
- `aaguidAllowList`, empty by default
- `aaguidDenyList`, empty by default

**`syncedPasskeys` defaults to `block`, which is a behaviour change.** A
multi-device credential is synced by a platform password manager, so its private
key exists somewhere outside the authenticator that created it. That is what a
consumer wants and what an organisation issuing its own authenticators does not,
and this package now takes the stricter position by default. A deployment that
wants platform passkeys sets `syncedPasskeys: 'allow'`.

The judgement is made on backup eligibility rather than current backup state: a
credential that _can_ leave the device is the exposure, whether or not it
already has.

The AAGUID lists restrict which authenticator models may register. They need
`attestation: 'direct'` to mean anything, because an authenticator that was never
asked to identify itself reports no usable AAGUID.

The whole-object default for `authenticator_policy` is now derived from the field
defaults rather than restated alongside them, so the two cannot drift.

## 0.14.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seamless-auth/types",
"version": "0.14.0",
"version": "0.15.0",
"description": "Shared TypeScript types and Zod schemas for SeamlessAuth.",
"author": "Fells Code, LLC",
"license": "AGPL-3.0-only",
Expand Down