Ranger functions for encrypting and decrypting files and directories using gpg keys.
The default recipient must be set in the DEFAULT_RECIPIENT
environment variable. I suggest the variable be set in one of you shell config files (eg. zshenv
or bashenv
).
export DEFAULT_RECIPIENT="email@email.com"
Encryption
Call :encrypt
to encrypt with the default-key
Decryption
Call :decrypt
to decrypt with the available secret key. If the secret key is not available the command will fail
git clone https://gitlab.com/Ragnyll/ranger-gpg.git
cd ranger-gpg
pip install python-gnupg
make install
make uninstall