Skip to content

fix(backend): validate identity tier on proof registration #19

Description

@enliven17

Problem

Proof registration accepts tier values without enforcing the protocol enum.

Scope

Implement one focused change in the backend workspace. Preserve current public behavior unless an acceptance criterion changes it.

Acceptance Criteria

  • Accept only silent, source, or seal
  • return a stable 400 error for invalid values
  • keep stored values consistent with embed metadata
  • add missing, valid, and invalid tests

Test Plan

  • Add automated positive and negative tests for the changed behavior.
  • Run all existing checks for the affected workspace.

Out of Scope

  • Unrelated refactors, production deployment, or live credential changes.

Drips Wave

Complexity: trivial

Apply through Drips Wave and wait for assignment before coding. The PR must include Closes # and concrete test evidence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar Wave programarea/backendFlask backend under backend/complexity/trivial100 points - small, bounded changehelp wantedExtra attention is neededtype/bugBug fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions