Skip to main content

Audit Passbolt CE passwords for weak, reused, and compromised credentials

Project description

passbolt-audit

Audit Passbolt CE passwords for weak, reused, and compromised credentials.

Python Ruff

Install

pip install passbolt-audit

Requirements

  • Python 3.11+
  • go-passbolt-cli installed
  • zxcvbn package (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 = true to ~/.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passbolt_audit-0.1.0.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

passbolt_audit-0.1.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for passbolt_audit-0.1.0.2.tar.gz
Algorithm Hash digest
SHA256 17f357cf237b35f18cf9f4136e5d4fc52e42b80632f68222d59dd95078814005
MD5 11d536d1a94a85de1308800762aa066a
BLAKE2b-256 342dfa01b02b3ed05f56ed381c4c2477f74e27115c03aed00ef3db2a0d0c68a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for passbolt_audit-0.1.0.2.tar.gz:

Publisher: pypi-publish.yml on Fefuzz118/passbolt-Audit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file passbolt_audit-0.1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for passbolt_audit-0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1db61901d4b118faf9de7a371437134e1b76780260c9966d8f73768a6941f797
MD5 37de0b1595423b1c66f8b0ae83c2ca0a
BLAKE2b-256 b6028d9ad32940028c19c1878b058965bc9c9572a1440196f1493c2b203bc292

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page