Offline Decrypt Tool Download
Please download the package for your OS first, then disconnect from the internet before running decryption locally. This reduces private key exposure risk.
Security Tips (Strongly Recommended)
- 1. Disconnect from internet (turn off Wi-Fi / unplug cable) before running.
- 2. Enter private key only on a trusted local machine; avoid remote screen sharing.
- 3. Clear clipboard and terminal history after testing.
What is `encrypted_key`?
`encrypted_key` is not plaintext key and not an on-chain field. It is a key capsule generated specifically for the beneficiary. Only the matching beneficiary private key can decrypt it. The tool first decrypts `encrypted_key` to recover content key, then decrypts on-chain `ciphertext`.
Source: beneficiary will detail page (visible after status becomes `SignalEmitted`).
Decrypt Input Field Guide
private_key
Beneficiary wallet private key (input locally only)
Source:Export from your own wallet (do not upload anywhere)
encrypted_key
Beneficiary key capsule (content key encrypted by beneficiary public key)
Source:Copy directly from beneficiary will detail page (after signal)
ciphertext
Encrypted private body (metadata.encryptedContent.ciphertext on-chain)
Source:Read metadata from contract getWill(willId)
iv
AES-GCM nonce (metadata.encryptedContent.iv on-chain)
Source:Read metadata from contract getWill(willId)
How to get private_key
Please export from your own wallet client. Entry points differ by wallet. Common paths:
- 1. MetaMask: account menu -> account details -> show/export private key (wallet password required).
- 2. Rabby: account management -> select address -> Export Private Key.
- 3. OKX Web3 Wallet: wallet settings/management -> backup or export private key.
- 4. Hardware wallets (Ledger/Trezor): usually do not support direct private key export by design.
Private Key Security Reminder
Private key must only be used in local offline environment. Do not send it to anyone, and do not paste it into chat apps, cloud drives, or online docs. Clear clipboard and shell history after testing.
Offline Execution Flow
- 1. Confirm status is `SignalEmitted` on beneficiary page, and record `will_id` and contract address.
- 2. Copy 3 fields from beneficiary will detail page: `encrypted_key`, `ciphertext`, `iv`.
- 3. Download and unzip the package for your OS.
- 4. Disconnect from internet and run launcher (Windows: `.bat` / macOS: `.command`).
- 5. Enter 4 fields: `private_key`, `encrypted_key`, `ciphertext`, `iv`.
- 6. Tool outputs plaintext locally, with no dependency on platform network.