Cryptnox Docs

Introduction to User Commands

User commands are designed for secure, read-only access or cryptographic operations that do not alter the device’s core configuration or security posture. These allow users to retrieve public data, perform cryptographic functions, and interact with the device within the boundaries of established security policies. User commands include:

User commandDescription
SELECTSelects a specific applet or file on the device, allowing subsequent operations to target the selected context.
Get Card Public KeyRetrieves the device’s public key used for signature or encryption verification.
Get Manufacturer CertificateRetrieves the device manufacturer’s certificate for authenticity validation.
Get Card CertificateObtains the card or device certificate for identity verification.
Get Card Info / Read DataAccesses basic information or metadata about the card/device, such as firmware version, ID, or capabilities.
Get Public Key (Pubkey)Retrieves a specific public key associated with a known key index or derivation path.
Generate TRNG RandomReturns random data generated by the device’s True Random Number Generator, typically for nonce or key generation use.
DecryptPerforms decryption of ciphertext using a user-authorized key, assuming permission or authentication is satisfied.

Libraries for Communication Commands


We offer communication libraries in Python and Rust to facilitate integration and management within your applications.

1. Python Library: A Python library for card communication, enabling high-level functions to interact with Cryptnox devices.

2. Rust Library: A Rust library providing high-level functions to send instructions and manage the lifecycle of Cryptnox smartcard applets.