A simple CLI script for decrypting an exported Kaspeak.net backup.
-
Accepts:
- an encrypted backup
- the profile password
-
Decrypts the data using the Kaspeak SDK.
-
Shows formatted JSON that contains:
privHex— private key in hexprivDec— the same key in decimal formsubs— list of subscriptionssecrets— group and channel secrets
- Node.js
- Installed
kaspeak-sdk. - Exported backup from Kaspeak.
- The password you used to protect your profile.
In the Kaspeak.net app:
- Open the profile menu (avatar icon in the top right corner).
- Select
Export backup. - Enter your password.
- The app will copy the backup to the clipboard.
- Paste it into a text file, for example
backup.txt, and save it.
It is assumed that Node.js is already installed (see the "Requirements" section).
git clone https://github.com/kaspeak/kaspeak-vault-decoder.git
cd kaspeak-vault-decoder
npm i- Download the repository as a ZIP (button Code → Download ZIP).
- Extract the archive to any folder.
- Open this folder in a terminal/command prompt.
- Run the command:
npm iIf you saved the backup in a file called backup.txt:
node decode-vault.js backup.txt your_passwordNot very convenient, but possible:
node decode-vault.js "YOUR_BACKUP_STRING" your_password-
Invalid password: incorrect password. -
Invalid Base62orEmpty Base62: corrupted or empty backup. Make sure you copied the entire string.
- Never show the
privHexandprivDecoutput to anyone. - Do not store decrypted data in publicly accessible locations.
- Everything the script outputs gives full access to your wallet and profile.