{"eip":2335,"title":"BLS12-381 Keystore","description":"Keystore for storing BLS12-381 keys","authors":["Carl Beekhuizen (@CarlBeek) \u003ccarl@ethereum.org\u003e"],"status":"Review","type":"Standards Track","category":"ERC","created":"2019-09-30","requires":[2333,2334],"discussionsTo":"https://ethereum-magicians.org/t/bls-keys-related-erc-discussion-erc-2333-2334-2335/19774","repo":"ERCs","label":"ERC-2335","officialUrl":"https://eips.ethereum.org/EIPS/eip-2335","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-2335.md","url":"https://eips.huatuo.xyz/eip-2335/","tldr":{"en":"A password-encrypted JSON keystore format for BLS12-381 keys, used by Ethereum validators, built from swappable KDF, checksum and cipher modules and free of Keccak.","ja":"Ethereum のバリデーターが使う、BLS12-381 鍵用のパスワード暗号化 JSON キーストア形式。差し替え可能な KDF・チェックサム・暗号のモジュールで構成され、Keccak を使わない。","ko":"이더리움 검증자가 사용하는, BLS12-381 키용 비밀번호 암호화 JSON 키스토어 형식. 교체 가능한 KDF, 체크섬, 암호 모듈로 구성되며 Keccak을 쓰지 않는다.","zh":"以太坊验证者使用的、用密码加密的 BLS12-381 密钥 JSON 密钥库格式，由可替换的 KDF、校验和与密码模块构成，不使用 Keccak。"},"tags":["bls","keystore","validator","encryption","json"],"explainers":{"en":{"lang":"en","tldr":"A password-encrypted JSON keystore format for BLS12-381 keys, used by Ethereum validators, built from swappable KDF, checksum and cipher modules and free of Keccak.","tags":["bls","keystore","validator","encryption","json"],"related":[2333,2334,2537],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-2335/","markdown":"## What problem does it solve?\n\nPeople who hold their own keys need a safe way to store them on disk and move them between devices. Ethereum already had the \"Web3 Secret Storage\" keystore (version 3) for secp256k1 account keys, but it has two drawbacks for BLS keys:\n\n- It uses **Keccak-256** for its checksum. BLS keys and signatures are meant to be a cross-chain standard, and Keccak is Ethereum-specific.\n- It grew feature by feature and lacks a clean abstraction for its building blocks.\n\nERC-2335 defines a new keystore (`\"version\": 4`) for BLS12-381 secrets. It is the format validator tooling uses for `keystore-*.json` files, alongside [ERC-2333](/eip-2333/) (key derivation) and [ERC-2334](/eip-2334/) (key paths).\n\n## How it works\n\nThe `crypto` section is made of three **modules**, each with a `function`, its `params` and a `message`:\n\n| Module | Allowed functions | Role |\n| --- | --- | --- |\n| `kdf` | `scrypt`, `pbkdf2` (HMAC-SHA256) | Turns the password into a 32-byte decryption key |\n| `checksum` | `sha256` | Verifies the password is correct |\n| `cipher` | `aes-128-ctr` | Holds the encrypted secret in `message` |\n\nDecrypting takes three steps:\n\n1. **Normalize the password**: convert to NFKD, strip C0 (`0x00–0x1F`), C1 (`0x80–0x9F`) and `0x7F` control codes, then UTF-8 encode. Spaces are kept.\n2. **Derive and check**: run the KDF to get `decryption_key`. Compute `SHA256(decryption_key[16:32] | cipher.message)` and compare it to `checksum.message`. A mismatch means a wrong password.\n3. **Decrypt**: use `decryption_key[0:16]` as the AES-128-CTR key with `cipher.params.iv` to recover the secret.\n\nOther top-level fields:\n\n- `pubkey`: the public key, so tools can show it without asking for the password. Required when the secret is a private key.\n- `path`: the [ERC-2334](/eip-2334/) derivation path, or `\"\"` if unknown.\n- `uuid`: a random RFC 4122 UUID.\n- `description`: an optional human label (not guaranteed unique).\n- `version`: always `4`, chosen so it cannot be confused with the older v3 keystore.\n\n## Sample code\n\nShape of a keystore (values shortened; see the spec's test vectors for full ones):\n\n```json\n{\n  \"crypto\": {\n    \"kdf\": {\n      \"function\": \"scrypt\",\n      \"params\": { \"dklen\": 32, \"n\": 262144, \"p\": 1, \"r\": 8, \"salt\": \"d4e5…8fa3\" },\n      \"message\": \"\"\n    },\n    \"checksum\": { \"function\": \"sha256\", \"params\": {}, \"message\": \"d221…a484\" },\n    \"cipher\": {\n      \"function\": \"aes-128-ctr\",\n      \"params\": { \"iv\": \"264d…4fe6\" },\n      \"message\": \"06ae…e20f\"\n    }\n  },\n  \"description\": \"validator key\",\n  \"pubkey\": \"9612…0d07\",\n  \"path\": \"m/12381/3600/0/0/0\",\n  \"uuid\": \"1d85ae20-35c5-4611-98e8-aa14a633906f\",\n  \"version\": 4\n}\n```\n\nPassword check and decryption (Node.js, scrypt case):\n\n```ts\nimport { scryptSync, createHash, createDecipheriv } from \"node:crypto\";\n\nfunction decrypt(ks: any, password: string): Buffer {\n  const pw = Buffer.from(\n    password.normalize(\"NFKD\").replace(/[\\u0000-\\u001f\\u007f-\\u009f]/g, \"\"),\n    \"utf8\",\n  );\n  const { n, r, p, dklen, salt } = ks.crypto.kdf.params;\n  const dk = scryptSync(pw, Buffer.from(salt, \"hex\"), dklen, { N: n, r, p, maxmem: 512 * 1024 * 1024 });\n\n  const cipherMsg = Buffer.from(ks.crypto.cipher.message, \"hex\");\n  const checksum = createHash(\"sha256\").update(Buffer.concat([dk.subarray(16, 32), cipherMsg])).digest(\"hex\");\n  if (checksum !== ks.crypto.checksum.message) throw new Error(\"wrong password\");\n\n  const iv = Buffer.from(ks.crypto.cipher.params.iv, \"hex\");\n  const d = createDecipheriv(\"aes-128-ctr\", dk.subarray(0, 16), iv);\n  return Buffer.concat([d.update(cipherMsg), d.final()]); // 32-byte BLS secret key\n}\n```\n\n## Things to know\n\n- Status is **Review**: the format is widely used in practice by validator tooling, but the ERC itself is not yet Final.\n- It is deliberately **not compatible** with the v3 Web3 Secret Storage format; a v3 parser will not read these files.\n- The keystore only protects the key as well as the password and KDF parameters allow. Use a strong password and do not lower scrypt/PBKDF2 work factors to save time.\n- Because `pubkey` is stored in clear, anyone holding the file can see which validator it belongs to, even without the password.\n"},"ja":{"lang":"ja","tldr":"Ethereum のバリデーターが使う、BLS12-381 鍵用のパスワード暗号化 JSON キーストア形式。差し替え可能な KDF・チェックサム・暗号のモジュールで構成され、Keccak を使わない。","tags":["bls","keystore","validator","encryption","json"],"related":[2333,2334,2537],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-2335/","markdown":"## 何を解決するのか\n\n自分で鍵を管理する人には、鍵をディスクに安全に保存し、デバイス間で移動する方法が必要です。Ethereum にはすでに secp256k1 のアカウント鍵向けの「Web3 Secret Storage」キーストア（バージョン 3）がありましたが、BLS 鍵には 2 つの欠点があります。\n\n- チェックサムに **Keccak-256** を使っています。BLS の鍵と署名はチェーン横断の標準を目指していますが、Keccak は Ethereum 固有です。\n- 機能を 1 つずつ継ぎ足して成長してきたため、構成要素をきれいに抽象化できていません。\n\nERC-2335 は、BLS12-381 の秘密情報向けに新しいキーストア（`\"version\": 4`）を定義します。バリデーター用ツールが `keystore-*.json` ファイルに使っている形式で、[ERC-2333](/eip-2333/)（鍵導出）と [ERC-2334](/eip-2334/)（鍵パス）と組み合わせて使われます。\n\n## 仕組み\n\n`crypto` セクションは 3 つの**モジュール**からなり、それぞれが `function`、`params`、`message` を持ちます。\n\n| モジュール | 使用可能な関数 | 役割 |\n| --- | --- | --- |\n| `kdf` | `scrypt`、`pbkdf2`（HMAC-SHA256） | パスワードを 32 バイトの復号鍵に変換する |\n| `checksum` | `sha256` | パスワードが正しいことを検証する |\n| `cipher` | `aes-128-ctr` | 暗号化された秘密情報を `message` に保持する |\n\n復号は 3 つのステップで行います。\n\n1. **パスワードの正規化**: NFKD に変換し、C0（`0x00–0x1F`）、C1（`0x80–0x9F`）、`0x7F` の制御コードを取り除いてから、UTF-8 にエンコードします。スペースは残します。\n2. **導出と検証**: KDF を実行して `decryption_key` を得ます。`SHA256(decryption_key[16:32] | cipher.message)` を計算し、`checksum.message` と比較します。一致しなければパスワードが間違っています。\n3. **復号**: `decryption_key[0:16]` を AES-128-CTR の鍵、`cipher.params.iv` を IV として使い、秘密情報を復元します。\n\nそのほかのトップレベルのフィールド:\n\n- `pubkey`: 公開鍵。ツールがパスワードを尋ねずに表示できるようにするためのものです。秘密情報が秘密鍵の場合は必須です。\n- `path`: [ERC-2334](/eip-2334/) の導出パス。不明な場合は `\"\"`。\n- `uuid`: ランダムな RFC 4122 UUID。\n- `description`: 任意の人間向けラベル（一意であることは保証されません）。\n- `version`: 常に `4`。古い v3 キーストアと取り違えられないように選ばれています。\n\n## サンプルコード\n\nキーストアの形（値は省略しています。完全な値は仕様のテストベクターを参照してください）:\n\n```json\n{\n  \"crypto\": {\n    \"kdf\": {\n      \"function\": \"scrypt\",\n      \"params\": { \"dklen\": 32, \"n\": 262144, \"p\": 1, \"r\": 8, \"salt\": \"d4e5…8fa3\" },\n      \"message\": \"\"\n    },\n    \"checksum\": { \"function\": \"sha256\", \"params\": {}, \"message\": \"d221…a484\" },\n    \"cipher\": {\n      \"function\": \"aes-128-ctr\",\n      \"params\": { \"iv\": \"264d…4fe6\" },\n      \"message\": \"06ae…e20f\"\n    }\n  },\n  \"description\": \"validator key\",\n  \"pubkey\": \"9612…0d07\",\n  \"path\": \"m/12381/3600/0/0/0\",\n  \"uuid\": \"1d85ae20-35c5-4611-98e8-aa14a633906f\",\n  \"version\": 4\n}\n```\n\nパスワードの検証と復号（Node.js、scrypt の場合）:\n\n```ts\nimport { scryptSync, createHash, createDecipheriv } from \"node:crypto\";\n\nfunction decrypt(ks: any, password: string): Buffer {\n  const pw = Buffer.from(\n    password.normalize(\"NFKD\").replace(/[\\u0000-\\u001f\\u007f-\\u009f]/g, \"\"),\n    \"utf8\",\n  );\n  const { n, r, p, dklen, salt } = ks.crypto.kdf.params;\n  const dk = scryptSync(pw, Buffer.from(salt, \"hex\"), dklen, { N: n, r, p, maxmem: 512 * 1024 * 1024 });\n\n  const cipherMsg = Buffer.from(ks.crypto.cipher.message, \"hex\");\n  const checksum = createHash(\"sha256\").update(Buffer.concat([dk.subarray(16, 32), cipherMsg])).digest(\"hex\");\n  if (checksum !== ks.crypto.checksum.message) throw new Error(\"wrong password\");\n\n  const iv = Buffer.from(ks.crypto.cipher.params.iv, \"hex\");\n  const d = createDecipheriv(\"aes-128-ctr\", dk.subarray(0, 16), iv);\n  return Buffer.concat([d.update(cipherMsg), d.final()]); // 32-byte BLS secret key\n}\n```\n\n## 知っておくべきこと\n\n- ステータスは **Review** です。この形式はバリデーター用ツールで実際に広く使われていますが、ERC 自体はまだ Final ではありません。\n- 旧来の v3 Web3 Secret Storage 形式とは意図的に**互換性がありません**。v3 のパーサーではこれらのファイルを読めません。\n- キーストアが鍵を守れる強さは、パスワードと KDF パラメーターの強さまでです。強いパスワードを使い、時間を節約するために scrypt/PBKDF2 の作業係数を下げないでください。\n- `pubkey` が平文で保存されているため、ファイルを持っている人は、パスワードがなくても、それがどのバリデーターのものかを知ることができます。\n"},"ko":{"lang":"ko","tldr":"이더리움 검증자가 사용하는, BLS12-381 키용 비밀번호 암호화 JSON 키스토어 형식. 교체 가능한 KDF, 체크섬, 암호 모듈로 구성되며 Keccak을 쓰지 않는다.","tags":["bls","keystore","validator","encryption","json"],"related":[2333,2334,2537],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-2335/","markdown":"## 어떤 문제를 해결하나요?\n\n자신의 키를 직접 보관하는 사람에게는 키를 디스크에 안전하게 저장하고 기기 간에 옮길 방법이 필요합니다. 이더리움에는 이미 secp256k1 계정 키를 위한 \"Web3 Secret Storage\" 키스토어(버전 3)가 있었지만, BLS 키에는 두 가지 단점이 있습니다.\n\n- 체크섬에 **Keccak-256**을 씁니다. BLS 키와 서명은 체인 간 표준을 지향하는데, Keccak은 이더리움에 특화되어 있습니다.\n- 기능이 하나씩 덧붙으며 커져서 구성 요소에 대한 깔끔한 추상화가 부족합니다.\n\nERC-2335는 BLS12-381 비밀 값을 위한 새 키스토어(`\"version\": 4`)를 정의합니다. 검증자 도구가 `keystore-*.json` 파일에 사용하는 형식이며, [ERC-2333](/eip-2333/)(키 파생), [ERC-2334](/eip-2334/)(키 경로)과 함께 쓰입니다.\n\n## 어떻게 동작하나요?\n\n`crypto` 섹션은 세 개의 **모듈**로 구성되며, 각 모듈은 `function`, `params`, `message`를 가집니다.\n\n| 모듈 | 허용되는 함수 | 역할 |\n| --- | --- | --- |\n| `kdf` | `scrypt`, `pbkdf2` (HMAC-SHA256) | 비밀번호를 32바이트 복호화 키로 변환 |\n| `checksum` | `sha256` | 비밀번호가 맞는지 검증 |\n| `cipher` | `aes-128-ctr` | 암호화된 비밀 값을 `message`에 보관 |\n\n복호화는 세 단계로 이루어집니다.\n\n1. **비밀번호 정규화**: NFKD로 변환하고, C0(`0x00–0x1F`), C1(`0x80–0x9F`), `0x7F` 제어 코드를 제거한 뒤 UTF-8로 인코딩합니다. 공백은 유지합니다.\n2. **파생 및 확인**: KDF를 실행해 `decryption_key`를 얻습니다. `SHA256(decryption_key[16:32] | cipher.message)`를 계산해 `checksum.message`와 비교합니다. 일치하지 않으면 비밀번호가 틀린 것입니다.\n3. **복호화**: `decryption_key[0:16]`을 AES-128-CTR 키로, `cipher.params.iv`를 IV로 사용해 비밀 값을 복원합니다.\n\n그 외 최상위 필드:\n\n- `pubkey`: 공개 키. 도구가 비밀번호를 묻지 않고도 표시할 수 있게 합니다. 비밀 값이 개인키일 때는 필수입니다.\n- `path`: [ERC-2334](/eip-2334/) 파생 경로. 알 수 없으면 `\"\"`.\n- `uuid`: 무작위 RFC 4122 UUID.\n- `description`: 선택적인 사람용 라벨(고유함이 보장되지 않음).\n- `version`: 항상 `4`. 이전 v3 키스토어와 혼동되지 않도록 선택되었습니다.\n\n## 샘플 코드\n\n키스토어의 형태(값은 줄였습니다. 전체 값은 명세의 테스트 벡터를 참고하세요):\n\n```json\n{\n  \"crypto\": {\n    \"kdf\": {\n      \"function\": \"scrypt\",\n      \"params\": { \"dklen\": 32, \"n\": 262144, \"p\": 1, \"r\": 8, \"salt\": \"d4e5…8fa3\" },\n      \"message\": \"\"\n    },\n    \"checksum\": { \"function\": \"sha256\", \"params\": {}, \"message\": \"d221…a484\" },\n    \"cipher\": {\n      \"function\": \"aes-128-ctr\",\n      \"params\": { \"iv\": \"264d…4fe6\" },\n      \"message\": \"06ae…e20f\"\n    }\n  },\n  \"description\": \"validator key\",\n  \"pubkey\": \"9612…0d07\",\n  \"path\": \"m/12381/3600/0/0/0\",\n  \"uuid\": \"1d85ae20-35c5-4611-98e8-aa14a633906f\",\n  \"version\": 4\n}\n```\n\n비밀번호 확인과 복호화(Node.js, scrypt 경우):\n\n```ts\nimport { scryptSync, createHash, createDecipheriv } from \"node:crypto\";\n\nfunction decrypt(ks: any, password: string): Buffer {\n  const pw = Buffer.from(\n    password.normalize(\"NFKD\").replace(/[\\u0000-\\u001f\\u007f-\\u009f]/g, \"\"),\n    \"utf8\",\n  );\n  const { n, r, p, dklen, salt } = ks.crypto.kdf.params;\n  const dk = scryptSync(pw, Buffer.from(salt, \"hex\"), dklen, { N: n, r, p, maxmem: 512 * 1024 * 1024 });\n\n  const cipherMsg = Buffer.from(ks.crypto.cipher.message, \"hex\");\n  const checksum = createHash(\"sha256\").update(Buffer.concat([dk.subarray(16, 32), cipherMsg])).digest(\"hex\");\n  if (checksum !== ks.crypto.checksum.message) throw new Error(\"wrong password\");\n\n  const iv = Buffer.from(ks.crypto.cipher.params.iv, \"hex\");\n  const d = createDecipheriv(\"aes-128-ctr\", dk.subarray(0, 16), iv);\n  return Buffer.concat([d.update(cipherMsg), d.final()]); // 32-byte BLS secret key\n}\n```\n\n## 알아둘 점\n\n- 상태는 **Review**입니다. 이 형식은 검증자 도구에서 실제로 널리 쓰이지만, ERC 자체는 아직 Final이 아닙니다.\n- 이전 v3 Web3 Secret Storage 형식과는 의도적으로 **호환되지 않습니다**. v3 파서는 이 파일을 읽지 못합니다.\n- 키스토어는 비밀번호와 KDF 파라미터가 허용하는 만큼만 키를 보호합니다. 강한 비밀번호를 쓰고, 시간을 아끼려고 scrypt/PBKDF2의 작업 계수를 낮추지 마세요.\n- `pubkey`가 평문으로 저장되므로, 파일을 가진 사람은 비밀번호 없이도 그 파일이 어떤 검증자의 것인지 알 수 있습니다.\n"},"zh":{"lang":"zh","tldr":"以太坊验证者使用的、用密码加密的 BLS12-381 密钥 JSON 密钥库格式，由可替换的 KDF、校验和与密码模块构成，不使用 Keccak。","tags":["bls","keystore","validator","encryption","json"],"related":[2333,2334,2537],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-2335/","markdown":"## 它解决什么问题？\n\n自己持有密钥的人需要一种安全的方式把密钥存放在磁盘上，并在设备之间转移。以太坊已经有用于 secp256k1 账户密钥的\"Web3 Secret Storage\"密钥库（版本 3），但它对 BLS 密钥有两个缺点：\n\n- 它的校验和使用 **Keccak-256**。BLS 密钥和签名本应是跨链标准，而 Keccak 是以太坊特有的。\n- 它是逐个功能叠加演变而来的，缺乏对其构成部分的清晰抽象。\n\nERC-2335 为 BLS12-381 秘密定义了一种新的密钥库（`\"version\": 4`）。验证者工具用它来生成 `keystore-*.json` 文件，与 [ERC-2333](/eip-2333/)（密钥派生）和 [ERC-2334](/eip-2334/)（密钥路径）配合使用。\n\n## 它如何运作\n\n`crypto` 部分由三个**模块**组成，每个模块都有 `function`、`params` 和 `message`：\n\n| 模块 | 允许的函数 | 作用 |\n| --- | --- | --- |\n| `kdf` | `scrypt`、`pbkdf2`（HMAC-SHA256） | 把密码转换为 32 字节的解密密钥 |\n| `checksum` | `sha256` | 验证密码是否正确 |\n| `cipher` | `aes-128-ctr` | 在 `message` 中保存加密后的秘密 |\n\n解密分三步：\n\n1. **规范化密码**：转换为 NFKD，去除 C0（`0x00–0x1F`）、C1（`0x80–0x9F`）和 `0x7F` 控制码，然后进行 UTF-8 编码。空格保留。\n2. **派生并校验**：运行 KDF 得到 `decryption_key`。计算 `SHA256(decryption_key[16:32] | cipher.message)` 并与 `checksum.message` 比较。不一致说明密码错误。\n3. **解密**：用 `decryption_key[0:16]` 作为 AES-128-CTR 密钥，配合 `cipher.params.iv` 恢复秘密。\n\n其他顶层字段：\n\n- `pubkey`：公钥，使工具无需询问密码即可显示。当秘密是私钥时为必填。\n- `path`：[ERC-2334](/eip-2334/) 派生路径，未知时为 `\"\"`。\n- `uuid`：随机的 RFC 4122 UUID。\n- `description`：可选的人类可读标签（不保证唯一）。\n- `version`：始终为 `4`，这样选择是为了避免与旧的 v3 密钥库混淆。\n\n## 示例代码\n\n密钥库的结构（数值已缩短；完整数值见规范的测试向量）：\n\n```json\n{\n  \"crypto\": {\n    \"kdf\": {\n      \"function\": \"scrypt\",\n      \"params\": { \"dklen\": 32, \"n\": 262144, \"p\": 1, \"r\": 8, \"salt\": \"d4e5…8fa3\" },\n      \"message\": \"\"\n    },\n    \"checksum\": { \"function\": \"sha256\", \"params\": {}, \"message\": \"d221…a484\" },\n    \"cipher\": {\n      \"function\": \"aes-128-ctr\",\n      \"params\": { \"iv\": \"264d…4fe6\" },\n      \"message\": \"06ae…e20f\"\n    }\n  },\n  \"description\": \"validator key\",\n  \"pubkey\": \"9612…0d07\",\n  \"path\": \"m/12381/3600/0/0/0\",\n  \"uuid\": \"1d85ae20-35c5-4611-98e8-aa14a633906f\",\n  \"version\": 4\n}\n```\n\n密码校验与解密（Node.js，scrypt 情形）：\n\n```ts\nimport { scryptSync, createHash, createDecipheriv } from \"node:crypto\";\n\nfunction decrypt(ks: any, password: string): Buffer {\n  const pw = Buffer.from(\n    password.normalize(\"NFKD\").replace(/[\\u0000-\\u001f\\u007f-\\u009f]/g, \"\"),\n    \"utf8\",\n  );\n  const { n, r, p, dklen, salt } = ks.crypto.kdf.params;\n  const dk = scryptSync(pw, Buffer.from(salt, \"hex\"), dklen, { N: n, r, p, maxmem: 512 * 1024 * 1024 });\n\n  const cipherMsg = Buffer.from(ks.crypto.cipher.message, \"hex\");\n  const checksum = createHash(\"sha256\").update(Buffer.concat([dk.subarray(16, 32), cipherMsg])).digest(\"hex\");\n  if (checksum !== ks.crypto.checksum.message) throw new Error(\"wrong password\");\n\n  const iv = Buffer.from(ks.crypto.cipher.params.iv, \"hex\");\n  const d = createDecipheriv(\"aes-128-ctr\", dk.subarray(0, 16), iv);\n  return Buffer.concat([d.update(cipherMsg), d.final()]); // 32-byte BLS secret key\n}\n```\n\n## 需要注意\n\n- 状态为 **Review**：验证者工具在实践中广泛使用该格式，但该 ERC 本身尚未达到 Final。\n- 它有意与 v3 Web3 Secret Storage 格式**不兼容**；v3 解析器无法读取这些文件。\n- 密钥库对密钥的保护强度，取决于密码和 KDF 参数。请使用强密码，不要为了节省时间而降低 scrypt/PBKDF2 的工作因子。\n- 由于 `pubkey` 以明文存储，任何拿到该文件的人即使没有密码，也能看出它属于哪个验证者。\n"}},"requiredBy":[2386,8310]}
