CodeForPhilly / CodeForPhilly/codeforphilly-ng

Verify production laddr password-hash format before staging cutover

オープン
#25 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1
フォーク
1
平均マージ
5日 3時間
マージ済み PR(30日)
9

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

laddr-import スクリプトから開始し、新しい production dump から最初のおよそ20個の Password 値を取得します。それらのアルゴリズムプレフィックスを比較します。単一の形式を確認するか、必要な verifier と警告を account-claim plan と laddr-import report に記録できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
authentication
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。