java.lang.IllegalStateException: Cannot decrypt: key=onboard.apps[0].awsSecretKey

GitHub | marcellodesales | 4 months ago
  1. 0

    Using key in encrypted cipher does not work

    GitHub | 12 months ago | elizabetht
    java.lang.IllegalStateException: Cannot decrypt: key=foo.bar
  2. 0

    Error when trying to encode/decode String to Base64

    Stack Overflow | 4 years ago | user1651914
    org.springframework.security.crypto.codec.InvalidBase64CharacterException: Bad Base64 input character decimal 91 in array position 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    {10} Active Tickets All fields – OpenXdata

    openxdata.org | 1 year ago
    org.springframework.security.crypto.codec.InvalidBase64CharacterException: Bad Base64 input character decimal 46 in array position 13

    1 unregistered visitors

    Root Cause Analysis

    1. org.springframework.security.crypto.codec.InvalidBase64CharacterException

      Bad Base64 input character decimal 37 in array position 76

      at org.springframework.security.crypto.codec.Base64.decode()
    2. spring-security-core
      Base64.decode
      1. org.springframework.security.crypto.codec.Base64.decode(Base64.java:629)[spring-security-crypto-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      2. org.springframework.security.crypto.codec.Base64.decode(Base64.java:253)[spring-security-crypto-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      2 frames
    3. org.springframework.security
      RsaSecretEncryptor.decrypt
      1. org.springframework.security.rsa.crypto.RsaSecretEncryptor.decrypt(RsaSecretEncryptor.java:165)[spring-security-rsa-1.0.1.RELEASE.jar:na]
      1 frame
    4. org.springframework.cloud
      EnvironmentDecryptApplicationInitializer.initialize
      1. org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.decrypt(EnvironmentDecryptApplicationInitializer.java:187)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE]
      2. org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.decrypt(EnvironmentDecryptApplicationInitializer.java:164)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE]
      3. org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.initialize(EnvironmentDecryptApplicationInitializer.java:94)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE]
      3 frames
    5. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:633)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1]
      2. org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:347)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1]
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:311)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1]
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1]
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1]
      5 frames
    6. com.company.platform
      PublisherApplication.main
      1. com.company.platform.config.publisher.PublisherApplication.main(PublisherApplication.java:13)[main/:na]
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_74]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_74]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74]
      4 frames
    8. org.springframework.boot
      RestartLauncher.run
      1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)[spring-boot-devtools-1.4.0.RC1.jar:1.4.0.RC1]
      1 frame