Skip to content

WebAuthn challenge unicode-normalization tests #255

@Miracle656

Description

@Miracle656

Background

WebAuthn challenges are bytes, but display names contain unicode that can be normalized differently (NFC vs NFD). Tests catch hash-mismatch bugs.

What to build

Tests that register with the same display name in NFC and NFD form, confirm both produce a deterministic credential ID, and confirm signing works after either form.

Key files

  • sdk/tests/webauthn-normalization.test.ts (new)

Acceptance criteria

  • NFC and NFD inputs converge
  • Test runs in <5s

Drips Wave · Complexity: Intermediate · 150 points

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions