Skip to main content

pybolt

Simple modern python library for accessing secrets stored in passbolt

Rationale

I needed a simple way to access credentials stored in passbolt; I've found only obsolete packages and decided to write a quick one.

Usage

You need:

  • a working passbolt server (let's say at https://mypassbolt.domain.example)
  • a set of credentials for that server:
    • an ascii-armored private key (e.g. in file myprivatekey.asc)
    • the passphrase for that key (e.g. mysecretpassphrase)
  • the uuid of a secret you want to know

Then you can just import pybolt and use it like this:

import pybolt

url="https://mypassbolt.domain.example"
passphrase="mysecretpassphrase"
private_key="myprivatekey.asc"
secret_uuid='31d79219-86e8-4cbf-b5ac-0b49f7aefa7b'

b = pybolt.Bolt(url, private_key, passphrase)
b.verify()
b.login()
secret = b.get_secret(secret_uuid)
print(f"PASSWORD: '{secret['password']}'")

Installation

Easy:

pip install pypassbolt

(no, I couldn't use pybolt as pypi package name as it is already used).

Metadata

Release files for simple-passbolt-client 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for simple-passbolt-client 0.0.2
File Interpreter ABI Platform
simple_passbolt_client-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / simple_passbolt_client-0.0.2-py3-none-any.whl

Download URL simple_passbolt_client-0.0.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f91efb891b91375ec950237f1d7d2aae0a3c84624e4f649616122ff45075f154
BLAKE2b-256 checksum
How to use checksums
9f9f691a2d7703d59cd6ea5eb484a52615d93cd5abfea71dddc68c2ba610846a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Security for simple-passbolt-client 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page