From fdd2d68e1d284309239d951bdffb1f65e29352c8 Mon Sep 17 00:00:00 2001 From: Eugen Stan Date: Tue, 31 Oct 2023 01:03:13 +0200 Subject: [PATCH] Include javax.crypto.spec.IvParameterSpec so I can implement ansible vault decryption (#1638) Please consider adding this class to bb. I'm looking to implement ansible-vault decryption in babashka and I need the above class. Decryption works in Clojure but fails with missing class for babashka. After this I need to fix crypto padding and all is good :). https://docs.ansible.com/ansible/latest/vault_guide/vault_using_encrypted_content.html#format-of-files-encrypted-with-ansible-vault --- src/babashka/impl/classes.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/babashka/impl/classes.clj b/src/babashka/impl/classes.clj index 3bd4147e..67923cf8 100644 --- a/src/babashka/impl/classes.clj +++ b/src/babashka/impl/classes.clj @@ -227,6 +227,7 @@ javax.crypto.SecretKey javax.crypto.SecretKeyFactory javax.crypto.spec.GCMParameterSpec + javax.crypto.spec.IvParameterSpec javax.crypto.spec.PBEKeySpec javax.crypto.spec.SecretKeySpec javax.net.ssl.HostnameVerifier ;; clj-http-lite