You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2021/04/30 16:32:26 UTC

[fluo-uno] branch main updated: Updated accumulo-encryption plugin for new class locations (#270)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-uno.git


The following commit(s) were added to refs/heads/main by this push:
     new 233aabd  Updated accumulo-encryption plugin for new class locations (#270)
233aabd is described below

commit 233aabd03d52ca01e5cb534ac5abebda601a2427
Author: Nick <31...@users.noreply.github.com>
AuthorDate: Fri Apr 30 12:32:19 2021 -0400

    Updated accumulo-encryption plugin for new class locations (#270)
---
 plugins/accumulo-encryption.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/accumulo-encryption.sh b/plugins/accumulo-encryption.sh
index f3810c2..b93ea3c 100755
--- a/plugins/accumulo-encryption.sh
+++ b/plugins/accumulo-encryption.sh
@@ -26,4 +26,4 @@ accumulo_conf=$ACCUMULO_HOME/conf/accumulo.properties
 encrypt_key=$ACCUMULO_HOME/conf/data-encryption.key
 openssl rand -out $encrypt_key 32
 echo "instance.crypto.opts.key.uri=file://$encrypt_key" >> "$accumulo_conf"
-echo "instance.crypto.service=org.apache.accumulo.core.cryptoImpl.AESCryptoService" >> "$accumulo_conf"
+echo "instance.crypto.service=$(jar -tvf "$ACCUMULO_HOME"/lib/accumulo-core-2.*.jar | grep -o 'org.apache.accumulo.core.*AESCryptoService' | tr / . | tail -1)" >> "$accumulo_conf"