{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography"}],"enrichment":{"capability":"Loads, creates, and decrypts Ethereum keyfiles\u2014encrypted JSON files that store private keys using PBKDF2 or Scrypt key derivation with AES-128-CTR encryption.","skillfed_tags":["ethereum","key-management","cryptography"],"use_cases":["Load an encrypted Ethereum keyfile from disk and decrypt it with a password to retrieve the private key for signing transactions","Generate a new encrypted keyfile from a raw private key and password, then save it for later use in wallet software","Validate and parse keyfile JSON structures to ensure they conform to the Ethereum keyfile standard before processing","Migrate keys between wallet implementations by reading v3 keyfiles and re-encrypting them as v4 with updated metadata"],"what_it_does":"eth-keyfile is a library for reading, writing, and decrypting Ethereum keyfiles\u2014the encrypted JSON format used to store Ethereum private keys. It implements the Ethereum keyfile standard (versions 3 and 4), handling the encryption/decryption logic so you don't have to manage AES-128-CTR ciphers, PBKDF2/Scrypt key derivation, or MAC verification yourself. The library wraps eth-keys, eth-utils, py_ecc, and pycryptodome to provide four main functions: load keyfiles from disk, create new encrypted keyfiles from a raw private key and password, decrypt keyfile JSON to recover the private key, and extract keys directly from a file path.\n\nIt's primarily used in Ethereum wallet software, key management tools, and applications that need to persist private keys securely. The library supports both the older v3 standard (using secp256k1 curve limits) and the newer v4 standard (using bls12-381 curve limits), though it is still marked Pre-Alpha, suggesting v4 may not be fully stable.","worth_installing":"Yes, if you are building Ethereum wallet or key management tooling and need standard-compliant keyfile handling. The library is well-established (in use since 2017), has no known vulnerabilities, and is maintained by the Ethereum Foundation. However, the aging maintenance status (550 days since last release) and Pre-Alpha classifier for v4 suggest you should verify v4 stability for your use case before relying on it in production."},"id":"eth-keyfile","links":{"html":"https://skillfed.io/packages/eth-keyfile","md":"https://skillfed.io/packages/eth-keyfile.md","pypi":"https://pypi.org/project/eth-keyfile/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-10","license_spdx":null,"license_treatment":"permissive","name":"eth-keyfile","python_support":"supports_current","summary":"eth-keyfile: A library for handling the encrypted keyfiles used to store ethereum private keys"},"popularity":{"monthly_downloads":5937356,"position":2007,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9.1"}
