Package com.valhalla.misc

Examples of com.valhalla.misc.GnuPG.listKeys()


            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"));
View Full Code Here


     * Checks if GPG is enabled.
     */
    public static void checkGPG() {
        // check to make sure GnuPG is executable
        GnuPG gnupg = new GnuPG();
        gnupgEnabled = gnupg.listKeys("");
    }
   
    /**
     * Gets the discoveryCache attribute of the JBotherLoader class
     *
 
View Full Code Here

        }
        JBother.profileDir = JBother.settingsDir + File.separatorChar
                + "profiles" + File.separatorChar + profile;

        GnuPG gnupg = new GnuPG();
        JBotherLoader.setGPGEnabled(gnupg.listKeys(""));

        String fontString = Settings.getInstance().getProperty(
                "applicationFont");
        if (fontString == null) {
            fontString = "Default-PLAIN-12";
View Full Code Here

        GnuPG gnupg = new GnuPG();
        boolean res = false;
        if (type.equals("sec")) {
            res = gnupg.listSecretKeys("");
        } else {
            res = gnupg.listKeys("");
        }

        if (!res) {
            Standard.warningMessage(null, "Error running GnuPG",
                    "Error running GnuPG: " + gnupg.getErrorString());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.