Audit Passbolt CE passwords for weak, reused, and compromised credentials
Project description
passbolt-audit
Audit Passbolt CE passwords for weak, reused, and compromised credentials.
Install
pip install passbolt-audit
Requirements
- Python 3.11+
- go-passbolt-cli installed
zxcvbnpackage (installed automatically)
Setup
Before running the audit, you must configure go-passbolt-cli manually:
# Configure with your Passbolt server, password, and GPG key file
passbolt --serverAddress https://your-passbolt-server.com \
--userPassword "your-password" \
--userPrivateKeyFile /path/to/your/private-key.asc \
configure
Note:
- The GPG key must not have a passphrase (go-passbolt-cli doesn't support passphrase-protected keys)
- You can check your key with:
gpg --list-packets your-key.asc - If you see "S2K" or "protection", the key is protected
- If you get TLS certificate errors, add
tlsskipverify = trueto~/.config/go-passbolt-cli/go-passbolt-cli.toml
Usage
passbolt-audit --server https://your-passbolt-server.com --output report.csv
Options
--server, -s: Passbolt server URL (required)--configure, -c: Show configuration instructions--output, -o: CSV output file (default:passbolt_audit_YYYYMMDD_HHMMSS.csv)--weak-only: Include only weak passwords in CSV--reused-only: Include only reused passwords in CSV--skip-hibp: Skip Have I Been Pwned check--limite, -n: Limit to N resources for testing (0 = all)--key, -k: Custom GPG private key file path
Features
- Password strength analysis using zxcvbn
- Reused password detection using SHA-256 comparison
- HIBP breach check using k-anonymity (only sends first 5 chars of SHA-1)
- CSV export with filtering options
- Terminal summary with color output
Development
git clone https://github.com/<user>/passbolt-audit.git
cd passbolt-audit
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file passbolt_audit-0.1.0.2.tar.gz.
File metadata
- Download URL: passbolt_audit-0.1.0.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17f357cf237b35f18cf9f4136e5d4fc52e42b80632f68222d59dd95078814005
|
|
| MD5 |
11d536d1a94a85de1308800762aa066a
|
|
| BLAKE2b-256 |
342dfa01b02b3ed05f56ed381c4c2477f74e27115c03aed00ef3db2a0d0c68a6
|
Provenance
The following attestation bundles were made for passbolt_audit-0.1.0.2.tar.gz:
Publisher:
pypi-publish.yml on Fefuzz118/passbolt-Audit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
passbolt_audit-0.1.0.2.tar.gz -
Subject digest:
17f357cf237b35f18cf9f4136e5d4fc52e42b80632f68222d59dd95078814005 - Sigstore transparency entry: 1189214839
- Sigstore integration time:
-
Permalink:
Fefuzz118/passbolt-Audit@9e95d2c07607f2e20475696e1ba5e3451e49173f -
Branch / Tag:
refs/tags/v0.1.0.2 - Owner: https://github.com/Fefuzz118
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9e95d2c07607f2e20475696e1ba5e3451e49173f -
Trigger Event:
release
-
Statement type:
File details
Details for the file passbolt_audit-0.1.0.2-py3-none-any.whl.
File metadata
- Download URL: passbolt_audit-0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1db61901d4b118faf9de7a371437134e1b76780260c9966d8f73768a6941f797
|
|
| MD5 |
37de0b1595423b1c66f8b0ae83c2ca0a
|
|
| BLAKE2b-256 |
b6028d9ad32940028c19c1878b058965bc9c9572a1440196f1493c2b203bc292
|
Provenance
The following attestation bundles were made for passbolt_audit-0.1.0.2-py3-none-any.whl:
Publisher:
pypi-publish.yml on Fefuzz118/passbolt-Audit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
passbolt_audit-0.1.0.2-py3-none-any.whl -
Subject digest:
1db61901d4b118faf9de7a371437134e1b76780260c9966d8f73768a6941f797 - Sigstore transparency entry: 1189214842
- Sigstore integration time:
-
Permalink:
Fefuzz118/passbolt-Audit@9e95d2c07607f2e20475696e1ba5e3451e49173f -
Branch / Tag:
refs/tags/v0.1.0.2 - Owner: https://github.com/Fefuzz118
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9e95d2c07607f2e20475696e1ba5e3451e49173f -
Trigger Event:
release
-
Statement type: