Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KeyStoreKeySource (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

            encryptionAlgorithm.newSession(secretKey)
    
        private
        fun secretKeySource(kind: EncryptionKind): SecretKeySource =
            when (kind) {
                EncryptionKind.KEYSTORE ->
                    KeyStoreKeySource(
                        encryptionAlgorithm = encryptionAlgorithm.algorithm,
                        customKeyStoreDir = startParameter.keystoreDir?.let { File(it) },
                        keyAlias = "gradle-secret",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            def configurationCache = newConfigurationCacheFixture()
            runWithEncryption()
    
            and:
            def keyStoreFile = findRequiredKeystoreFile()
    
            KeyStore ks = KeyStore.getInstance(KeyStoreKeySource.KEYSTORE_TYPE)
            keyStoreFile.withInputStream { ks.load(it, new char[]{'c', 'c'}) }
            ks.deleteEntry("gradle-secret")
            keyStoreFile.withOutputStream { ks.store(it, new char[]{'c', 'c'}) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top