Skip to content

refactor(architecture): consolidate the two passkey-pepper mechanisms into config #163

Description

Summary

auth_handler.go:734 uses h.security.WalletPepper (config) while getPasskeyPepper() (:760-766) reads env MOISTELLO_PASSKEY_PEPPER directly and is otherwise unused; config.SecurityConfig.PasskeyPepper is loaded but unused.

Acceptance Criteria

  • Single source of truth for passkey pepper (config struct)
  • Remove direct env reads in handlers
  • Env/config wiring verified end-to-end
  • Tests

Complexity

Medium-High.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programarchitectureArchitecture and designhigh-complexityHigh-complexity backend task requiring deep architectural worksecuritySecurity vulnerability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions