Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
juhoautio opened this issue Mar 14, 2018 · 1 comment

Comments

@juhoautio
Copy link

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..

@HappyRay
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants