Verify production laddr password-hash format before staging cutover

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript

Research direction

Start with the laddr-import script and obtain the first approximately 20 Password values from a fresh production dump. Compare their algorithm prefixes; done means confirming a single format or recording the required verifier and warning in the account-claim plan and laddr-import report.

Written by the indexing model from the issue text.

Description

The laddr-import script writes legacy password hashes verbatim into LegacyPasswordCredential records, and the eventual account-claim endpoint will verify against them with whatever algorithm those hashes use.

Synthetic fixture data uses bcrypt (`$2y$10$...`) per common Emergence-PHP conventions, but we haven't inspected real production hashes yet. Before staging cutover:

  1. Pull the first ~20 `Password` values from a fresh production dump
  2. Confirm they all share a single algorithm prefix (`$2y$`, `$2a$`, `$6$`, etc.)
  3. If anything other than bcrypt appears, add a verifier in the account-claim plan and surface a warning in the import-laddr report

Filed as Follow-up from PR #24 (laddr-import).

Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
1d 20h
Merged PRs (30d)
25

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeForPhilly/codeforphilly-ng

All issues in CodeForPhilly/codeforphilly-ng

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.