CodeForPhilly / CodeForPhilly/codeforphilly-ng

Verify production laddr password-hash format before staging cutover

Offen
#25 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
1
Forks
1
Ø Merge
5 T. 3 Std.
Gemergte PRs (30 T.)
9

Beschreibung

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).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.