Pierre Warnier
3e6dab9b18
docs: update all URLs from shadow-utils-rs to uutils org
...
Repo transferred to uutils/shadow-rs. Update all references:
- README.md: CI badge, license badge, clone URL
- Cargo.toml: repository, homepage
- CONTRIBUTING.md: clone URL
- SECURITY.md: advisory URL
- shadow-rs.spec: source URL
- CLAUDE.md: PR review API URLs, kanban board
2026-04-22 15:31:42 +02:00
Pierre Warnier
0a33f2186d
review: address 5 Copilot review comments
...
- Fix function name: sanitize_env() → sanitized_env() / harden_process()
- Fix SIGINT handler: was removed, not implemented
- Fix user enumeration: early permission check, not constant-time PAM
- Fix Rust module paths: shadow-core → shadow_core (crate vs module)
2026-04-03 15:27:58 +02:00
Pierre Warnier
4259dc7cd0
docs: fix stale claims, add missing -p flag to usermod man page
...
- README: fix passwd flag count (17→16), add Landlock mention, add
Hardened goal, update usermod description with -p, fix past tense
- CONTRIBUTING: fix unsafe description to match actual workspace policy
- CHANGELOG: add [Unreleased] section for post-v0.1.0 changes
- OPENBSD-REFERENCE: move all implemented items to correct section
- SECURITY-HARDENING: mark all 21 items as implemented
- man/usermod: add -p/--password flag documentation
2026-04-03 15:16:41 +02:00
Pierre Warnier
3ed6188aea
tests: add proptest, edge cases, fuzz targets, integration tests, docs
...
Fixes #11 — tests/by-util/test_passwd.rs: 15 integration tests
following uutils convention (status format, exit codes, lock/unlock
cycle, aging, lifecycle, quiet mode, error cases).
Fixes #12 — fuzz targets for all parsers:
fuzz_passwd_parse, fuzz_shadow_parse, fuzz_login_defs_parse,
fuzz_validate_username. All must not panic on any input.
Fixes #15 — proptest round-trip tests for PasswdEntry, ShadowEntry:
generate random valid entries, serialize, parse back, compare.
Fixes #16 — parser edge case tests:
wrong field counts, empty files, roundtrip via file I/O, negative
values, boundary values, unicode rejection, null bytes, mixed
whitespace, duplicate keys, key-only lines.
Also: CONTRIBUTING.md, SECURITY.md created. README.md and CLAUDE.md
updated to reflect uucore integration and current project state.
142 tests passing on Debian/Alpine/Fedora, zero clippy warnings.
2026-03-23 14:11:19 +01:00