azkaban-plugins icon indicating copy to clipboard operation
azkaban-plugins copied to clipboard

Ant build fails: org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception

Open juhoautio opened this issue 6 years ago • 1 comments

In root of azkaban-plugins:

ant

... script-test: [echo] Testing encrypt.sh [exec] Exception in thread "main" org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine [exec] at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.handleInvalidKeyException(StandardPBEByteEncryptor.java:1073) [exec] at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.encrypt(StandardPBEByteEncryptor.java:924) [exec] at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:642) [exec] at azkaban.crypto.CryptoV1_1.encrypt(CryptoV1_1.java:42) [exec] at azkaban.crypto.Crypto.encrypt(Crypto.java:49) [exec] at azkaban.crypto.EncryptionCLI.main(EncryptionCLI.java:58)

BUILD FAILED

Please advise how to make the build pass.

Also, any hints on how to nicely add this project in IntelliJ IDEA? It's ant, which is not completely supported by IDEA..

juhoautio avatar Mar 14 '18 16:03 juhoautio

Maybe this is because you are outside of U.S.?

I am not familiar with Ant. But I suspect you should be able to exclude the crypto module from the build for now. I remember it is used only for certain plugins.

@jinhyukchang do you know?

HappyRay avatar Mar 15 '18 03:03 HappyRay