This document outlines how to securely decrypt the provided export.
Once you have received your data export from Passbase, follow the instructions below to decrypt the files. Instructions are provided for the command-line as well as GUI tools on Windows and Mac. Please follow the instructions relevant to you.
Remember to keep your passphrase safe and never share it with anyone. PGP encryption is a powerful tool for protecting sensitive information, but it's only as secure as the passphrase used to encrypt it.
Using the Command-line
-
A symmetrically encrypted archive will be provided via email (or by another means of file sharing upon request).
- Said archive will be named <PROJECT_NAME>.zip.gpg
-
A link to the passphrase necessary to decrypt the archive will be provided by email to the requestor via Bitwarden Send.
-
In a terminal, run the following command to decrypt the archive:
$ echo "<PASSPHRASE>" | gpg --batch --passphrase-fd 0 --output <PROJECT_NAME>.zip --decrypt <PROJECT_NAME>.zip.gpg
-
Open the now unencrypted archive <PROJECT_NAME>.zip with your favorite archive manager, and extract the data where you need it.
A note about the structure of the archive: when opening, you'll see one folder, that is named after your organization's Project in Passbase, it will contain sub-folders using the users' email addresses and their respective documents for that project. For example, a valid path could look like this: Production/john.doe@passbase.com/selfie-video.
On Windows
Decrypting a PGP-encrypted file using a passphrase on Windows:
- Download and install Gpg4win, a popular PGP encryption software suite for Windows, from the official website: https://gpg4win.org/. Follow the installation wizard and choose the default options.
- Once Gpg4win is installed, open Windows Explorer and navigate to the folder where the PGP-encrypted file is located.
- Right-click on the encrypted file and select "Open with" > "Kleopatra" from the context menu. This will launch the Kleopatra tool, which is used to manage PGP keys and perform encryption and decryption operations.
- In Kleopatra, you should see the encrypted file listed in the main window. Click on it to select it, then click the "Decrypt" button at the bottom of the window.
- You will be prompted to enter the passphrase used to encrypt the file. Type in the passphrase and click "OK".
- If the passphrase is correct, Kleopatra will decrypt the file and save the decrypted version to the same folder as the original encrypted file, with the same filename but without the ".pgp" extension.
- You can now open the decrypted file in any application that supports its file type.
On Mac
-
Download and install GPG Suite from https://gpgtools.org/. Follow the installation wizard.
-
Once installed, open Finder and navigate to the folder where the encrypted archive is located.
-
Right-click on the file > Services > OpenPGP: Decrypt File
-
You will be prompted to enter the passphrase. Type in the passphrase and click “OK”.
-
If the passphrase is correct, a decrypted version of the file will be saved to the same folder as the original encrypted file, with the same filename but without the ".pgp" extension.
-
You can now open the decrypted file in any application that supports its file type.