pmpkpe

Note

This code was repackaged into a command line utility for easier use. Since the original code doesn't have a license or instructions on modification I wanted to give credit here.

The original author that I forked from is kantium and the original code can be found here

Feature

Generate your Protonmail Private Key passphrase based on the KeySalt and MailBoxPassword

How to get your passphrase

note : if you have a unique password on Protonmail, switch to a double password authentification (ProtonMail > Settings > Account)

Install node.js (https://nodejs.org/en/download/package-manager/) Recover your KeySalt and PrivateKey (https://github.com/scastiel/protonmail-export) Install pmpkpe

npm install pmpkpe -g

cd into the newly cloned directory

cd pmpkpe

Execute this program against your saved salt, mailbox password, and private key

pmpkpe -s ./salt.txt -m ./mailboxpassword.txt

enjoy