Skip to main content

CLI for managing Cryptnox smart card wallets.

Project description

cryptnox-cli

CLI for managing Cryptnox smart card wallets



PyPI Python versions Documentation status License: GPLv3

cryptnox-cli is a command-line interface for managing Cryptnox Smart cards, enabling secure seed initialization and cryptographic signing for Bitcoin and Ethereum.


Supported hardware

  • Cryptnox Smart cards 💳
  • Standard PC/SC Smart card Readers: either USB NFC reader or a USB smart card reader → Readers are also available in the Cryptnox shop.

Get your card and readers here: shop.cryptnox.com


Installation

💡 This is only a minimal setup. Additional packages may be required depending on your operating system. See Installation and Requirements.

From PyPI

pip install cryptnox-cli

From source

git clone https://github.com/cryptnox/cryptnox-cli.git
cd cryptnox-cli
pip install .

This installs the package and makes the cryptnox command available (if your Python installation is in your system PATH).


Quick usage examples

💡 The examples below are only a subset of available commands. The complete list of commands and detailed usage instructions is described in the official documentation.

1. Dual initialization

  1. Factory reset each card:
    cryptnox reset → enter PUK → verify reset.

  2. Initialize each card:
    cryptnox init → (optional) set name/email → set PIN (4–9 digits) → set or generate PUK → verify init.

  3. Run dual seed procedure:
    cryptnox seed dual — follow prompts: insert Card A (enter PIN), swap to Card B (enter PIN), swap back as requested.

2. Sign and send a Bitcoin transaction

  1. Create or obtain a raw unsigned transaction externally.
  2. Run the signing & send command:
    cryptnox btc send <recipient_address> <amount> [-f <fees>]

3. Change PIN code

  1. Run command: cryptnox change_pin
  2. Enter current PIN → enter new PIN → verify change.
  3. Check with cryptnox info using new PIN (BTC & ETH accounts displayed).

3. Change PIN code

  1. Run command: cryptnox change_pin
  2. Enter current PIN → enter new PIN → verify change.
  3. Check with cryptnox info using new PIN (BTC & ETH accounts displayed).

4. Get extended public key (xpub)

  1. Run command: cryptnox get_xpub
  2. Enter PIN → enter PUK
  3. The card returns the xpub

Documentation

The full User & Developer documentation is available at the Cryptnox CLI Documentation. It covers installation and setup, usage guides and examples, CLI command reference, and developer notes with API details.


License

cryptnox-cli is dual-licensed:

  • LGPL-3.0 for open-source projects and proprietary projects that comply with LGPL requirements
  • Commercial license for projects that require a proprietary license without LGPL obligations (see COMMERCIAL.md for details)

For commercial inquiries, contact: contact@cryptnox.com

========= Changelog

1.0.3 <https://github.com/Cryptnox-Software/cryptnox-cli/compare/v1.0.2...v1.0.3>_

Added ^^^^^

  • Added Cryptnox logo to documentation
  • Added Other/Proprietary License option

Changed ^^^^^^^

  • Updated cryptnox-sdk-py to 1.0.2
  • Updated other dependencies to latest versions
  • Modified documentation UI, colors, and layout
  • Updated documentation license information

1.0.2 <https://github.com/Cryptnox-Software/cryptnox-cli/compare/v1.0.1...v1.0.2>_

Changed ^^^^^^^

  • Updated README file with improved documentation
  • Modified commercial license details

1.0.1 <https://github.com/Cryptnox-Software/cryptnox-cli/compare/v2.9.1...ver1.0.1>_

Added ^^^^^

  • Package renamed from cryptnoxpro to cryptnox_cli
    • Install using: pip install cryptnox-cli
  • BIP39 passphrase support for seed generation and recovery
  • BIP39 passphrase length limitation and validation
  • Sphinx documentation framework for comprehensive CLI documentation
  • GitHub Actions workflows for automated documentation deployment
  • Constants file for centralized configuration management
  • Flake8 code quality checks in CI/CD workflow

Changed ^^^^^^^

  • Updated README with improved documentation and examples
  • Modified documentation configuration and deployment process
  • Reconfigured documentation deployment workflow
  • Updated setup configuration (setup.cfg) for better package management
  • Improved code organization with constants file

Fixed ^^^^^

  • Resolved runtime import errors
  • Fixed flake8 code style errors throughout the codebase
  • Fixed PUK retries persistence issue

Removed ^^^^^^^

  • Removed cleos dependency
  • Removed Ropsten testnet support (deprecated network)

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

cryptnox_cli-1.0.3.tar.gz (127.0 kB view details)

Uploaded Source

Built Distribution

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

cryptnox_cli-1.0.3-py3-none-any.whl (157.8 kB view details)

Uploaded Python 3

File details

Details for the file cryptnox_cli-1.0.3.tar.gz.

File metadata

  • Download URL: cryptnox_cli-1.0.3.tar.gz
  • Upload date:
  • Size: 127.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cryptnox_cli-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ed72587b88a62b449914de161650f4c9c427ec8b643ec61e62b11162a8198b3c
MD5 8e7e86de43b2ab72bbadf0c86d720105
BLAKE2b-256 a78c508497df03bf3cc1795d52ca3567b54109529798eef3f3cf13812fd2b21a

See more details on using hashes here.

File details

Details for the file cryptnox_cli-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: cryptnox_cli-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 157.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cryptnox_cli-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8fbb57cca51fd706841f21ab57c1746de628efc553502fafb976fcb044daf62e
MD5 124fd9ec8cb4a33beb4b294898b672c6
BLAKE2b-256 c3cb68ba7a4775268213b80f60d81468a057ef75b4f14b8ae80f99c8a7309b8c

See more details on using hashes here.

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