[ https://issues.apache.org/jira/browse/CAMEL-15649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209426#comment-17209426 ]
Alex Park commented on CAMEL-15649: ----------------------------------- Test case successful with "Windows-PRNG" Algorithm in Windows. So, code change made and sent PR. > camel-jasypt-starter : NativePRNG SecureRandom not available > ------------------------------------------------------------ > > Key: CAMEL-15649 > URL: https://issues.apache.org/jira/browse/CAMEL-15649 > Project: Camel > Issue Type: Test > Components: camel-spring-boot-starters > Affects Versions: 3.5.0 > Reporter: Alex Park > Priority: Minor > > Build failed in Window machine and OpenJDK 1.8 > {code:java} > Caused by: org.jasypt.exceptions.EncryptionInitializationException: > java.security.NoSuchAlgorithmException: NativePRNG SecureRandom not > availableCaused by: org.jasypt.exceptions.EncryptionInitializationException: > java.security.NoSuchAlgorithmException: NativePRNG SecureRandom not available > at org.jasypt.iv.RandomIvGenerator.<init>(RandomIvGenerator.java:74) at > org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration.environmentVariablesConfiguration(EncryptedPropertiesCustomConfigurationBeansTest.java:70) > at > org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration$$EnhancerBySpringCGLIB$$20dd0596.CGLIB$environmentVariablesConfiguration$0(<generated>) > at > org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration$$EnhancerBySpringCGLIB$$20dd0596$$FastClassBySpringCGLIB$$4c453f93.invoke(<generated>) > at > org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) > at > org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) > at > org.apache.camel.component.jasypt.springboot.EncryptedPropertiesCustomConfigurationBeansTest$TestConfiguration$$EnhancerBySpringCGLIB$$20dd0596.environmentVariablesConfiguration(<generated>) > at jdk.internal.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:564) at > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) > ... 67 moreCaused by: java.security.NoSuchAlgorithmException: NativePRNG > SecureRandom not available at > java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at > java.base/java.security.SecureRandom.getInstance(SecureRandom.java:381) at > org.jasypt.iv.RandomIvGenerator.<init>(RandomIvGenerator.java:72) ... 77 more > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)