https://github.com/cldfire/password-rules-checker
CLI tool to check Apple's password rule quirks file
https://github.com/cldfire/password-rules-checker
Last synced: 12 days ago
JSON representation
CLI tool to check Apple's password rule quirks file
- Host: GitHub
- URL: https://github.com/cldfire/password-rules-checker
- Owner: Cldfire
- Created: 2020-12-23T22:52:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-24T05:55:33.000Z (over 4 years ago)
- Last Synced: 2025-02-16T13:05:33.015Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# password-rules-checker
A small CLI tool that runs every rule in [`quirks/password-rules.json`](https://github.com/apple/password-manager-resources/blob/main/quirks/password-rules.json) through 1Password's [`password-rules-parser` crate](https://github.com/1Password/password-rules-parser).
Rules that fail to parse will be flagged.
```
cargo run path/to/password-rules.json
```This tool can also diff two quirk files of equivalent length, checking to make sure each rule for each site is semantically equivalent in both files:
```
cargo run path/to/password-rules.json --diff-against path/to/other-password-rules.json
```