Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GRADLE_ENCRYPTION_KEY (0.58 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            then:
            // since the key is not fully validated until needed, we only get an error when encrypting
            failure.assertHasDescription("Error loading encryption key from GRADLE_ENCRYPTION_KEY environment variable")
            failure.assertHasCause("Illegal base64 character ${Integer.toHexString((int) invalidBase64Char)}")
        }
    
        def "build fails if key is provided via env var but not long enough"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

        override val sourceDescription: String
            get() = "$GRADLE_ENCRYPTION_KEY_ENV_KEY environment variable"
    
        companion object {
            const val GRADLE_ENCRYPTION_KEY_ENV_KEY = "GRADLE_ENCRYPTION_KEY"
        }
    }
    
    
    private
    class NoEncryptionKeySource : SecretKeySource {
        override fun getKey(): SecretKey? {
            logger.warn("Encryption of the configuration cache is disabled.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    ====
    
    [[config_cache:secrets:generating_encryption_key]]
    === Generating an encryption key that is compatible with GRADLE_ENCRYPTION_KEY
    
    For Gradle to encrypt the configuration cache using a user-specified encryption key,
    you must run Gradle while having the GRADLE_ENCRYPTION_KEY environment variable set with a valid AES key, encoded as a Base64 string.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top