Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# Tasks: enterprise-password-formats
## 1. Scaffold
- [x] 1.1 Create `universal/auth/password-formats/`; 100/100/100/100.
- [x] 1.2 Guard tests; CLAUDE/README/FOLDERS updates.
## 2. Errors + schemas
- [x] 2.1 `src/errors/password-formats-error.ts` — codes.
- [x] 2.2 Zod schemas: `PasswordEntrySchema`, per-format raw-row schemas.
## 3. Core
- [x] 3.1 `src/core/detector/format-detector.ts` — `detect`.
- [x] 3.2 Dispatcher `src/core/parse/parse.ts` — `parse`.
- [x] 3.3 `src/core/validator/validate.ts` — `validate`.
## 4. Parsers
- [x] 4.1 `src/parsers/apple-passwords/*`.
- [x] 4.2 `src/parsers/bitwarden/*` (handle encrypted detection).
- [x] 4.3 `src/parsers/chrome/*`.
- [x] 4.4 `src/parsers/keepass/*` (unencrypted `kdbx` XML export only).
- [x] 4.5 `src/parsers/lastpass/*`.
- [x] 4.6 `src/parsers/onepassword/*` (CSV + `.1pux` zip via `fflate`).
- [x] 4.7 Co-located `.md` + unit tests with real fixture files per format.
## 5. Exporter
- [x] 5.1 `src/exporters/csv-exporter.ts` — `exportToCsv`.
- [x] 5.2 Round-trip property test.
## 6. Index / README / exports
- [x] 6.1 Barrel, subpath exports per parser.
- [x] 6.2 Root README.
## 7. Benchmarks
- [x] 7.1 `parse.bench.ts` for 1 k / 10 k / 100 k entries.
## 8. Ship gate
- [x] 8.1 Verification sequence; fold spec + archive.