Repository navigation
New features:
- BYOK export: a private key or wallet seed leaves Vault only wrapped for a
receiving HSM or KMS key exchange key (KEK), in the Azure.byokformat
(RSA-OAEP-SHA1 + AES-256-KWP)POST blockchain/byok/export/account/:name— single-key account private
key as PKCS#8 secp256k1POST blockchain/byok/export/wallet/:wallet_id— the 64-byte BIP-39 seed
(key_type: bip39-seed), for receivers that support BIP-32POST blockchain/byok/export/wallet/:wallet_id/accounts/:index— one
derived account's key, for cloud KMSs that have no BIP-32- KEK: RSA 2048, 3072, or 4096 (
PUBLIC KEYorRSA PUBLIC KEYPEM);
responses includekek_public_key_sha256for out-of-band verification
configs/blockchain_byok.hcl— operator-only policy, one rule per export
kind; the user and master policies do not reachbyok/- HSM integration guides for Thales Luna HSM 7 and SoftHSM2 in
docs/integrations/
Bug fixes:
utils.ZeroKeynow overwrites the private scalar's memory;SetInt64(0)
alone left it in thebig.Intbacking array- Concurrent creates of the same single-key account name could both succeed,
the later one overwriting the first; now one gets 409 - A KEK with an unusable public exponent returns 400
invalid_kek_public_key
instead of 500
Upgrade notes:
- The plugin now reports
RunningVersionv2.2.0. Rebuild fromv2.2.0
(make build-local), register the catalog entry withversion="v2.2.0"
(v2.1.1 usedv0.1.0) and the new SHA-256, then run
vault plugin reload -plugin=blockchain-plugin