Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Decrypt (0.12 sec)

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

    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK;
    
    /**
     * The "decrypt" goal.
     */
    @Singleton
    @Named("decrypt")
    public class Decrypt extends ConfiguredGoalSupport {
        @Inject
        public Decrypt(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
    - 2.1K bytes
    - Viewed (0)
  2. docs/debugging/inspect/decrypt-v1.go

    Klaus Post <******@****.***> 1712870567 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/debugging/inspect/decrypt-v2.go

    Klaus Post <******@****.***> 1712870567 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

        /**
         * Gets the servers whose passwords should be decrypted.
         *
         * @return The servers to decrypt, never {@code null}.
         */
        List<Server> getServers();
    
        /**
         * Sets the servers whose passwords should be decrypted.
         *
         * @param servers The servers to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                                    null));
                        }
                        server.setPassword(securityDispatcher.decrypt(password));
                    } catch (SecDispatcherException | IOException e) {
                        problems.add(new DefaultSettingsProblem(
                                "Failed to decrypt password for server " + server.getId() + ": " + e.getMessage(),
                                Severity.ERROR,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. internal/config/crypto_test.go

    	}
    
    	for i, test := range encryptDecryptTests {
    		ciphertext, err := Encrypt(KMS, bytes.NewReader(test.Data), test.Context)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encrypt stream: %v", i, err)
    		}
    		data, err := io.ReadAll(ciphertext)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encrypt stream: %v", i, err)
    		}
    
    		plaintext, err := Decrypt(KMS, bytes.NewReader(data), test.Context)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. internal/config/crypto.go

    	buffer.Write(metadata)
    
    	return io.MultiReader(
    		&buffer,
    		stream.EncryptReader(plaintext, nonce, nil),
    	), nil
    }
    
    // Decrypt decrypts the ciphertext using a key managed by the KMS.
    // The same context that have been used during encryption must be
    // provided.
    func Decrypt(k *kms.KMS, ciphertext io.Reader, associatedData kms.Context) (io.Reader, error) {
    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. internal/crypto/doc.go

    //     - enc_object_data := DAREv2_Enc(ObjectKey, object_data)
    //     -        metadata <- IV
    //     -        metadata <- SealedKey
    //     Output: enc_object_data, metadata
    //
    //  2. Decrypt:
    //     Input: ClientKey, bucket, object, metadata, enc_object_data
    //     -          IV <- metadata
    //     -   SealedKey <- metadata
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 26 19:52:29 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. 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)
  10. internal/kms/secret-key_test.go

    	if err != nil {
    		t.Fatalf("Failed to generate key: %v", err)
    	}
    	plaintext, err := KMS.Decrypt(context.TODO(), &DecryptRequest{
    		Name:       key.KeyID,
    		Ciphertext: key.Ciphertext,
    	})
    	if err != nil {
    		t.Fatalf("Failed to decrypt key: %v", err)
    	}
    	if !bytes.Equal(key.Plaintext, plaintext) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top