String command = tempSettings.getProperty("gpgApplication");
if (command.equals("!!EMPTY!!"))
command = "gpg";
// check to make sure GnuPG is executable
GnuPG gnupg = new GnuPG(command);
boolean enabled = gnupg.listKeys("");
if (!enabled) {
Standard.warningMessage(prefs, "GnuPG Error",
"Invalid GPG path, GPG settings not applied.");
tempSettings.setProperty("gpgApplication", Settings
.getInstance().getProperty("gpgApplication"));