Standalone Python library and CLI for Solo 2 devices.
Install the package and CLI from the repo root:
python3 -m pip install .That installs the pysolo2 command defined in pyproject.toml.
For editable local development:
python3 -m pip install -e .You can then verify the CLI is available with:
pysolo2 --helpFor an isolated user install, pipx also works:
pipx install .On Linux, USB and smartcard access may additionally require system packages such as libusb and pcsc-lite/pcsclite.
Top-level commands:
pysolo2 listList discoverable Solo 2 devices.pysolo2 infoShow information about the selected device.pysolo2 adminAdmin app operations such as UUID, diagnostics, reboot, and factory reset.pysolo2 fido2FIDO2 PIN and credential management.pysolo2 secretsSecrets/Vault operations including OTP credentials, PIN handling, and HMAC slots.pysolo2 provisionerProvisioner app operations for keys, certificates, and filesystem tasks.
Global options:
--device <id>Select a specific descriptor id.--jsonPrint machine-readable JSON output.
pysolo2 list
pysolo2 info
pysolo2 admin diagnostics
pysolo2 fido2 pin-status
pysolo2 fido2 list --pin 123456
pysolo2 secrets status
pysolo2 secrets list
pysolo2 secrets hmac-status
pysolo2 provisioner generate-key ed25519Use --help on any command group for the full subcommand list:
pysolo2 admin --help
pysolo2 fido2 --help
pysolo2 secrets --help
pysolo2 provisioner --help