Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for encrypt (0.1 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK;
    
    /**
     * The "encrypt" goal.
     */
    @Singleton
    @Named("encrypt")
    public class Encrypt extends ConfiguredGoalSupport {
        @Inject
        public Encrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    import org.jline.utils.Colors;
    import org.jline.utils.OSUtils;
    
    /**
     * Encrypt invoker implementation, when Encrypt CLI is being run. System uses ClassWorld launcher, and class world
     * instance is passed in via "enhanced" main method. Hence, this class expects fully setup ClassWorld via constructor.
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            options.addOption(Option.builder(ENCRYPT_MASTER_PASSWORD)
                    .longOpt("encrypt-master-password")
                    .hasArg()
                    .optionalArg(true)
                    .desc("Encrypt master security password")
                    .build());
            options.addOption(Option.builder(ENCRYPT_PASSWORD)
                    .longOpt("encrypt-password")
                    .hasArg()
                    .optionalArg(true)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvokerRequest.java

                    in,
                    out,
                    err,
                    coreExtensions);
            this.options = (EncryptOptions) requireNonNull(options);
        }
    
        /**
         * The mandatory Encrypt options.
         */
        @Nonnull
        public EncryptOptions options() {
            return options;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

    import org.apache.maven.cling.invoker.mvnenc.DefaultEncryptParser;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    /**
     * Maven encrypt CLI "new-gen".
     */
    public class MavenEncCling extends ClingSupport<EncryptOptions, EncryptInvokerRequest> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

            String encrypted = context.reader.readLine("Enter the password to decrypt: ");
            if (secDispatcher.isAnyEncryptedString(encrypted)) {
                context.terminal.writer().println(secDispatcher.decrypt(encrypted));
                return OK;
            } else {
                context.terminal.writer().println(messageBuilderFactory.builder().error("Malformed encrypted string"));
                return BAD_OPERATION;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        // Sun/Oracle advises to empty the char array
                        java.util.Arrays.fill(password, ' ');
                    }
                }
                System.out.println(dispatcher.encrypt(passwd, null));
                throw new ExitException(0);
            }
        }
    
        private int execute(CliRequest cliRequest) throws MavenExecutionRequestPopulationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                                    "Legacy/insecurely encrypted password detected for server " + server.getId(),
                                    Severity.WARNING,
                                    "server: " + server.getId(),
                                    -1,
                                    -1,
                                    null));
                        }
                        server.setPassword(securityDispatcher.decrypt(password));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    It supports many secure hashing algorithms and utilities to work with them.
    
    The recommended algorithm is "Bcrypt".
    
    Make sure you create a [virtual environment](../../virtual-environments.md){.internal-link target=_blank}, activate it, and then install PassLib with Bcrypt:
    
    <div class="termy">
    
    ```console
    $ pip install "passlib[bcrypt]"
    
    ---> 100%
    ```
    
    </div>
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java

        }
    
        /**
         * Creates a new request to decrypt the specified settings.
         *
         * @param settings The settings to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Settings settings) {
            setServers(settings.getServers());
            setProxies(settings.getProxies());
        }
    
        /**
         * Creates a new request to decrypt the specified server.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top