Skip to main content

Dependencies

See what the SDK, the bindings and the CLI are built on, with the versions of Cargo.lock and the other lock files, and their licenses.

Every license is permissive (MIT, Apache-2.0, Unlicense) or weak copyleft (MPL-2.0 for UniFFI, LGPL-3.0 for OpenPGP.js), compatible with the AGPL-3.0 of the project.

List them yourself​

cargo tree -p <CRATE> -e normal --depth 1   # the direct dependencies of a crate
cargo metadata # licenses and repositories of the whole tree

cargo metadata includes the indirect dependencies.

Rust crates​

passbolt-sdk​

Some crates come with a feature or a target only:

  • The OpenPGP.js engine (openpgpjs feature) brings rquickjs and the WebCrypto primitives (aes, aes-gcm, cbc, ctr, hkdf, sha2).
  • The Sequoia engine (sequoia feature) brings sequoia-openpgp 2.4 (LGPL-2.0-or-later) on Nettle, and sha2; it needs Nettle and GMP (nettle-dev) and libclang to build.
  • On Android and iOS, the OpenPGP.js engine builds the rquickjs bindings with bindgen: it needs libclang.
  • The native feature brings reqwest and tokio.
  • WebAssembly brings wasm-bindgen, js-sys and send_wrapper.
CrateVersionLicenseRole
aes0.8.4MIT OR Apache-2.0AES for the OpenPGP.js engine (WebCrypto) / KDBX 3.1
aes-gcm0.10.3Apache-2.0 OR MITAES-GCM for the OpenPGP.js engine (WebCrypto)
base640.22.1MIT OR Apache-2.0Base64
cbc0.1.2MIT OR Apache-2.0CBC mode: OpenPGP.js engine, KDBX 3.1
chrono0.4.44MIT OR Apache-2.0Dates (RFC 3339, expiry)
ctr0.9.2MIT OR Apache-2.0CTR mode for the OpenPGP.js engine
hex0.4.3MIT OR Apache-2.0Hexadecimal (fingerprints, SHA-1)
hkdf0.12.4MIT OR Apache-2.0HKDF for the OpenPGP.js engine
js-sys0.3.91MIT OR Apache-2.0JavaScript objects (WebAssembly)
percent-encoding2.3.2MIT OR Apache-2.0URL encoding of API paths
pgp0.21.0MIT OR Apache-2.0OpenPGP (rPGP): keys, encryption, signatures
rand0.8.8MIT OR Apache-2.0Random numbers (OS generator)
regex-lite0.1.9MIT OR Apache-2.0pattern of the resource type schemas
reqwest0.12.15MIT OR Apache-2.0HTTP client (native, rustls)
rquickjs0.14.0MITQuickJS, for the embedded OpenPGP.js engine
secrecy0.10.3Apache-2.0 OR MITSecrets that do not print
send_wrapper0.6.0MIT OR Apache-2.0OpenPGP.js engine in WebAssembly
serde1.0.228MIT OR Apache-2.0Serialization
serde_json1.0.149MIT OR Apache-2.0JSON
sha10.10.6MIT OR Apache-2.0Have I Been Pwned (k-anonymity)
sha20.10.9MIT OR Apache-2.0SHA-256: OpenPGP.js engine, KDBX
thiserror2.0.18MIT OR Apache-2.0Error types
tokio1.50.0MITAsync runtime
totp-rs5.7.0MITTOTP codes
unicode-segmentation1.12.0MIT OR Apache-2.0Characters as users see them (secret entropy)
url2.5.8MIT OR Apache-2.0URLs
uuid1.26.1Apache-2.0 OR MITUUIDs
wasm-bindgen0.2.114MIT OR Apache-2.0Rust ↔ JavaScript
wasm-bindgen-futures0.4.64MIT OR Apache-2.0Promises ↔ futures
zeroize1.8.2Apache-2.0 OR MITSecrets zeroed in memory

passbolt-ffi​

CrateVersionLicenseRole
chrono0.4.44MIT OR Apache-2.0Dates (RFC 3339, expiry)
secrecy0.10.3Apache-2.0 OR MITSecrets that do not print
serde1.0.228MIT OR Apache-2.0Serialization
serde_json1.0.149MIT OR Apache-2.0JSON
tokio1.50.0MITAsync runtime
uniffi0.29.5MPL-2.0FFI bindings generator (Mozilla)

passbolt-wasm​

CrateVersionLicenseRole
getrandom0.2.17MIT OR Apache-2.0Randomness from the Web Crypto API
js-sys0.3.91MIT OR Apache-2.0JavaScript objects (WebAssembly)
secrecy0.10.3Apache-2.0 OR MITSecrets that do not print
serde1.0.228MIT OR Apache-2.0Serialization
serde-wasm-bindgen0.6.5MITSerde ↔ JavaScript values
serde_json1.0.149MIT OR Apache-2.0JSON
uuid1.26.1Apache-2.0 OR MITUUIDs
wasm-bindgen0.2.114MIT OR Apache-2.0Rust ↔ JavaScript
wasm-bindgen-futures0.4.64MIT OR Apache-2.0Promises ↔ futures
web-sys0.3.91MIT OR Apache-2.0Web APIs (fetch)

passbolt-cli​

ratatui and arboard come with the tui feature, on by default.

CrateVersionLicenseRole
aes0.8.4MIT OR Apache-2.0AES for the OpenPGP.js engine (WebCrypto) / KDBX 3.1
anyhow1.0.102MIT OR Apache-2.0Errors of the CLI
arboard3.7.0MIT OR Apache-2.0System clipboard (tui)
argon20.5.3MIT OR Apache-2.0Argon2 KDF (KDBX 4 import)
base640.22.1MIT OR Apache-2.0Base64
cbc0.1.2MIT OR Apache-2.0CBC mode: OpenPGP.js engine, KDBX 3.1
cel0.15.0MITCEL --filter expressions
chacha200.9.1Apache-2.0 OR MITChaCha20 (KDBX 4)
chrono0.4.44MIT OR Apache-2.0Dates (RFC 3339, expiry)
clap4.5.60MIT OR Apache-2.0Command line
clap_complete4.5.66MIT OR Apache-2.0Shell completions
clap_mangen0.2.31MIT OR Apache-2.0Man pages (gendoc)
config0.14.1MIT OR Apache-2.0Config files (TOML, YAML, JSON)
directories5.0.1MIT OR Apache-2.0Config directory of each OS
flate21.1.9MIT OR Apache-2.0Gzip (KDBX)
hmac0.12.1MIT OR Apache-2.0HMAC (KDBX 4)
indicatif0.17.11MITProgress bars
keepass0.6.19MITKDBX read and KDBX 4 write
rand0.8.8MIT OR Apache-2.0Random numbers (OS generator)
ratatui0.29.0MITTerminal UI (tui), with crossterm
rpassword7.4.0Apache-2.0Hidden password prompt
salsa200.10.2MIT OR Apache-2.0Salsa20 (KDBX 3.1 protected fields)
secrecy0.10.3Apache-2.0 OR MITSecrets that do not print
secstr0.5.1UnlicenseSecret strings of the keepass crate
serde1.0.228MIT OR Apache-2.0Serialization
serde_json1.0.149MIT OR Apache-2.0JSON
sha20.10.9MIT OR Apache-2.0SHA-256: OpenPGP.js engine, KDBX
tokio1.50.0MITAsync runtime
toml0.8.23MIT OR Apache-2.0TOML
unicode-width0.2.0MIT OR Apache-2.0Column widths of tables
xml-rs0.8.28MITKDBX XML
zeroize1.8.2Apache-2.0 OR MITSecrets zeroed in memory

Tests only​

CrateUsed by
assert_cmdpassbolt-cli
futures-executorpassbolt-sdk, passbolt-ffi, passbolt-wasm
predicatespassbolt-cli
proptestpassbolt-sdk
rstestpassbolt-sdk, passbolt-ffi, passbolt-wasm, passbolt-cli
tempfilepassbolt-cli
tokio-testpassbolt-cli
totp-rspassbolt-cli
urlpassbolt-ffi
uuidpassbolt-ffi
wasm-bindgen-testpassbolt-wasm
wiremockpassbolt-sdk, passbolt-ffi

Shipped with the SDK​

ComponentVersionLicenseWhere
OpenPGP.js6.1.1LGPL-3.0-or-latercrates/passbolt-sdk/vendor/openpgpjs, the openpgpjs engine (default without gopenpgp, and in JavaScript); tests/interop checks what the SDK writes with it
EFF large wordlist2016CC BY 3.0 UScrates/passbolt-sdk/src/generator/words.txt, the passphrases, as in the browser extension
GopenPGP3.5.2MITcrates/passbolt-sdk/gopenpgp, the gopenpgp engine, default of the released binaries (needs Go)
JNA5.14.0Apache-2.0 OR LGPL-2.1Java and Android bindings: calls the native library
kotlinx.coroutines1.9.0Apache-2.0Android: the suspend functions of AsyncPassboltClient
ffi (gem)~> 1.15BSD-3-ClauseRuby bindings: calls the native library

Build and packaging​

ToolVersionBuilds
Rust1.88 or latereverything (rust-version of the crates)
UniFFI uniffi-bindgen0.29.5Python, Kotlin, Swift and Ruby bindings
uniffi-bindgen-go0.5.0+v0.29.5Go bindings
uniffi-bindgen-cs0.10.0+v0.29.4C# bindings
uniffi-bindgen-java0.2.1Java bindings
wasm-bindgen-clias Cargo.lock (0.2.114)the npm package
TypeScript5.8.3checks the declarations of the npm package
maturin1.8 or laterPython wheels
cargo-ndk4.1.2Android libraries
Gradle8.11.1Android AAR, with the Android Gradle plugin 8.7.3 and Kotlin 2.1.0
Swifttools 5.9Swift package and XCFramework
.NET8NuGet package
GostableGo module (cgo), the gopenpgp engine
Docusaurus3.9.2this documentation (website/), with React 18.3.1
gitleaks8.24.0the secret scan of the CI

GitHub Actions​

ci.yml, sdk.yml and docs.yml use actions/checkout, actions/cache, actions/upload-artifact and download-artifact, actions/setup-node, setup-python, setup-java, setup-go, setup-dotnet, actions/upload-pages-artifact and deploy-pages, dtolnay/rust-toolchain, Swatinem/rust-cache, PyO3/maturin-action, ruby/setup-ruby, gradle/actions, NuGet/login, pypa/gh-action-pypi-publish and rubygems/configure-rubygems-credentials.

Add a dependency​

A new dependency needs:

  • a reason the standard library or a crate already there cannot give;
  • a license from the list above;
  • a maintained repository.

Prefer pure Rust, for the musl and WebAssembly builds. Leave optional what only one feature uses, as tui does.