Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 350 for keyRing (0.68 sec)

  1. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy

            generator
        }
    
        private static class Holder {
            static final KeyRing VALID_KEYRING = new KeyRing("gradle")
            static final KeyRing INVALID_KEYRING = new KeyRing("invalid-key-ring")
        }
    
        private static class KeyRing {
            private final PgpSignatory signatory
            private final PGPPublicKey publicKey
            private final PGPSecretKey secretKey
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. pkg/credentialprovider/plugins.go

    	for _, key := range stringKeys {
    		provider := providers[key]
    		if provider.Enabled() {
    			klog.V(4).Infof("Registering credential provider: %v", key)
    			keyring.Providers = append(keyring.Providers, provider)
    		}
    	}
    
    	return keyring
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 22:01:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyServiceChain.java

            private FirstMatchBuilder(PublicKeyResultBuilder delegate) {
                this.delegate = delegate;
            }
    
            @Override
            public void keyRing(PGPPublicKeyRing keyring) {
                delegate.keyRing(keyring);
                hasResult = true;
            }
    
            @Override
            public void publicKey(PGPPublicKey publicKey) {
                delegate.publicKey(publicKey);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/software/security/src/main/java/org/gradle/security/internal/pgp/BaseInMemoryPgpSignatoryProvider.java

                } else {
                    PgpKeyId expectedKeyId = new PgpKeyId(keyId);
                    for (PGPSecretKeyRing keyring : new JcaPGPSecretKeyRingCollection(in)) {
                        for (PGPSecretKey key : keyring) {
                            if (expectedKeyId.equals(new PgpKeyId(key.getKeyID()))) {
                                return factory.createSignatory(name, key, password);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    [source,bash]
    ----
    $ gpg --no-default-keyring --keyring gradle/verification-keyring.gpg --recv-keys 8756c4f765c9ac3cb6b85d62379ce192d401ab61
    
    gpg: keybox 'gradle/verification-keyring.gpg' created
    gpg: key 379CE192D401AB61: public key "Bintray (by JFrog) <****>" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/BuildTreeDefinedKeys.java

    import javax.annotation.Nullable;
    import java.io.File;
    
    public class BuildTreeDefinedKeys {
        private static final String VERIFICATION_KEYRING_GPG = "verification-keyring.gpg";
        private static final String VERIFICATION_KEYRING_ASCII = "verification-keyring.keys";
    
        private final KeyringFilePublicKeyService keyService;
        private final File keyringsRoot;
    
        private final File effectiveKeyringsFile;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 13:00:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/software/security/src/main/java/org/gradle/security/internal/PGPUtils.java

        }
    
        /**
         * Returns the number of keys in the given keyring.
         * There is no public API to do this, so we use reflection to access the private field.
         * Public keys iterator is not used because it would require O(n) time to count the keys.
         */
        @SuppressWarnings("unchecked")
        public static int getSize(PGPPublicKeyRing keyring) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/software/security/src/main/java/org/gradle/security/internal/KeyringStripper.java

                throw new RuntimeException(e);
            }
        }
    
        public static PGPPublicKeyRing strip(PGPPublicKeyRing keyring, KeyFingerPrintCalculator fingerprintCalculator) {
            List<PGPPublicKey> strippedKeys = StreamSupport
                .stream(keyring.spliterator(), false)
                .map(key -> stripKey(key, fingerprintCalculator))
                .collect(Collectors.toList());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReaderTest.groovy

            "<keyring-format>armored</keyring-format>" | DependencyVerificationConfiguration.KeyringFormat.ARMORED
            "<keyring-format>binary</keyring-format>"  | DependencyVerificationConfiguration.KeyringFormat.BINARY
            ""                                         | null
        }
    
        def "reasonable error message when invalid invalid keyring format given"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. platforms/software/security/src/main/java/org/gradle/security/internal/PublicKeyResultBuilder.java

     */
    package org.gradle.security.internal;
    
    import org.bouncycastle.openpgp.PGPPublicKey;
    import org.bouncycastle.openpgp.PGPPublicKeyRing;
    
    public interface PublicKeyResultBuilder {
        void keyRing(PGPPublicKeyRing keyring);
        void publicKey(PGPPublicKey publicKey);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 884 bytes
    - Viewed (0)
Back to top