diff --git a/backend/application/admin/src/main/kotlin/io/raemian/admin/config/JasyptConfig.kt b/backend/application/admin/src/main/kotlin/io/raemian/admin/config/JasyptConfig.kt index d3364222..37d461d9 100644 --- a/backend/application/admin/src/main/kotlin/io/raemian/admin/config/JasyptConfig.kt +++ b/backend/application/admin/src/main/kotlin/io/raemian/admin/config/JasyptConfig.kt @@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration @Configuration @EnableEncryptableProperties class JasyptConfig( - @Value("\${JASYPT_ENCRYPTION_PASSWORD}") val password: String, + @Value("\${JASYPT_ENCRYPTION_PASSWORD: ''}") val password: String, ) { @Bean diff --git a/backend/application/api/src/main/kotlin/io/raemian/api/config/JasyptConfig.kt b/backend/application/api/src/main/kotlin/io/raemian/api/config/JasyptConfig.kt index 2d3822b9..6d64c5f9 100644 --- a/backend/application/api/src/main/kotlin/io/raemian/api/config/JasyptConfig.kt +++ b/backend/application/api/src/main/kotlin/io/raemian/api/config/JasyptConfig.kt @@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration @Configuration @EnableEncryptableProperties class JasyptConfig( - @Value("\${JASYPT_ENCRYPTION_PASSWORD}") val password: String, + @Value("\${JASYPT_ENCRYPTION_PASSWORD: ''}") val password: String, ) { @Bean diff --git a/backend/application/api/src/main/resources/application-security-test.yml b/backend/application/api/src/main/resources/application-security-test.yml index 1413bac7..27fb7591 100644 --- a/backend/application/api/src/main/resources/application-security-test.yml +++ b/backend/application/api/src/main/resources/application-security-test.yml @@ -24,8 +24,8 @@ spring: registration: naver: redirect-uri: http://localhost:8080/dev/api/login/oauth2/code/naver - client-id: ENC(qFYukOWHaCGpavvnBwIIe5MfIbMaETjo8ABJPEvKL1o=) - client-secret: ENC(sJK/TYU3PJj1+d6mB1OXjZTrmUFdALuC) + client-id: a + client-secret: a authorization-grant-type: authorization_code scope: - email @@ -33,7 +33,7 @@ spring: client-name: naver kakao: redirect-uri: http://localhost:8080/dev/api/login/oauth2/code/kakao - client-id: ENC(LzuIWpuN7JG7pwbU87S4DvColRj57LtcnRb0qfDdyGpnNUpI2+FHgCyJs0p2Wn7/) + client-id: a authorization-grant-type: authorization_code scope: - profile_nickname @@ -41,8 +41,8 @@ spring: client-name: kakao google: redirect-uri: http://localhost:8080/dev/api/login/oauth2/code/google - client-id: ENC(v6CCXncJwOS8W6YizTBkDskIbDrBV/DM+1WpJvERtF6YUahSyevhaoxPQxkdy3DXK++9NZMP7OeqRi7qhgRizQNjXD+u2hNIxIcWu6B71fATnGojMqiDEg==) - client-secret: ENC(Sv6L3GpxMxJA7s93BGorm6DclzLwJYSg8rezWXhkAi0PY85zzA/d7ulKspstKMY/) + client-id: a + client-secret: a scope: - email - profile \ No newline at end of file diff --git a/backend/application/api/src/test/kotlin/io/raemian/api/support/JasyptTest.kt b/backend/application/api/src/test/kotlin/io/raemian/api/support/JasyptTest.kt index 45011123..1bd6cb42 100644 --- a/backend/application/api/src/test/kotlin/io/raemian/api/support/JasyptTest.kt +++ b/backend/application/api/src/test/kotlin/io/raemian/api/support/JasyptTest.kt @@ -4,7 +4,7 @@ import org.jasypt.encryption.pbe.StandardPBEStringEncryptor import org.junit.jupiter.api.Test class JasyptTest { - @Test + // @Test fun jasypt() { val input = "" val encrypted = jasyptEncrypt(input)