This project is fork from https://github.com/purejava/keepassxc-cryptomator , add GnuPG support
Plug-in for Cryptomator to store vault passwords with GnuPG encryption.
Requirement:
- JDK 17 or later
- Maven 3.8.4 or later
mvn packageCopy packaged plugin from target/gnupg-cryptomator-$VERSION.jar to Cryptomator plugins directory.
Usage reference Wiki
Configure file location:
/etc/cryptomator/config.json~/.config/cryptomator/config.json
{
"gnuPgCommand": "/usr/local/bin/gpg",
"keyId": "FFFFFFFFFFFFFFFFFFFF"
}
gnuPgCommandGnuPG command path, find it bywhich gpg
keyIdis GnuPG key ID, you can find it bygpg -K
encryptKeyBasePathis key store path, default value is$USER_HOME/.config/cryptomator/keys/
For documentation please take a look at the Wiki.
Plugin location:
| OS | Default Dir |
|---|---|
| Mac | ~/Library/Application Support/Cryptomator/Plugins |
| Linux | ~/.local/share/Cryptomator/plugins |
| Windows | %homepath%\AppData\Roaming\Cryptomator\Plugins |
This plugin use GnuPG encrypt and decrypt passwords.
Run gpg, expect exit code is 0
gpg --versionRun gpg -e to encrypt texts, gpg read plaintext from std in, and write ciphertext to std out.
echo -n PLAINTEXT | gpg -e -aRun gpg -d to decrypt texts, gpg read ciphertext from std in, and write plaintext to std out.
echo -n CIPHERTEXT | gpg -dCopyright (C) 2021-2024 Ralph Plawetzki
Copyright (C) 2024-2024 Hatter Jiang
The Cryptomator logo is Copyright (C) of https://cryptomator.org/
The KeePassXC logo is Copyright (C) of https://keepassxc.org/