CodeForPhilly / CodeForPhilly/codeforphilly-ng

Verify production laddr password-hash format before staging cutover

Đang mở
#25 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1
Fork
1
Merge trung bình
5 ngày 3 giờ
Pull request đã merge (30 ngày)
9

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
authentication
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.