{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"}],"enrichment":{"capability":"Generates, manages, and verifies Ed25519-based cryptographic key pairs for NATS ecosystem authentication and authorization, with human-readable key encoding.","skillfed_tags":["nats-ecosystem","ed25519","key-management"],"use_cases":["Generate and manage Ed25519 key pairs for NATS server, cluster, account, and user authentication.","Sign data with a private key and verify signatures in NATS-based distributed systems.","Load cryptographic seeds from files and derive public/private key pairs for identity verification.","Securely wipe key material from memory after use to prevent accidental exposure of secrets.","Implement custom authentication flows in NATS clients that require Ed25519 signatures."],"what_it_does":"nkeys is a Python library that implements Ed25519-based public-key cryptography tailored for the NATS messaging ecosystem. It handles the generation, storage, and use of cryptographic key pairs for identity, authentication, and authorization of NATS entities like accounts, users, servers, and clusters. The library encodes raw 32- and 64-byte keys in a human-readable Base32 format with version prefixes (e.g., 'SU' for a user seed, 'U' for a user public key), making key material easier to work with than raw bytes.\n\nThe package wraps Ed25519 operations from pynacl and adds seed-based key derivation, signature generation and verification, and secure memory wiping. It is designed for scenarios where only the seed needs to be stored securely, since both public and private keys can be regenerated from it. The NATS system itself never stores private keys, instead using challenge-response authentication with the public key infrastructure that nkeys provides.","worth_installing":"Yes, if you are building or integrating with NATS systems that require Ed25519-based authentication. The package is actively maintained, has no known vulnerabilities, and supports modern Python versions. The main trade-off is high install friction due to pynacl's compilation requirement; verify that pre-built wheels are available for your platform before committing."},"id":"nkeys","links":{"html":"https://skillfed.io/packages/nkeys","md":"https://skillfed.io/packages/nkeys.md","pypi":"https://pypi.org/project/nkeys/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-09-11","license_spdx":null,"license_treatment":"permissive","name":"nkeys","python_support":"supports_current","summary":"A public-key signature system based on Ed25519 for the NATS ecosystem."},"popularity":{"monthly_downloads":513505,"position":6246,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
