mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
Existing passkeys were stored with double-encoded credential IDs due to a bug where SimpleWebAuthn's credentialInfo.id (UTF-8 bytes of base64url string) was stored directly instead of being decoded to raw bytes first. This migration script converts existing passkeys from the old format (ASCII bytes of base64url string) to the correct format (raw credential ID bytes). Run with: npx ts-node prisma/migrations/migrate-passkey-credentials.ts |
||
|---|---|---|
| .. | ||
| migrations | ||
| schema.prisma | ||