Update encryption plugin
Open
- Dominant language
- Shell
- Stars
- 40
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
With the changes in https://github.com/apache/accumulo/pull/2197 the encryption plugin (`plugins/accumulo-encryption.sh`) will need to be updated. The script will need to generate the new properties with something like:
CS=$(jar -tvf "$ACCUMULO_HOME"/lib/accumulo-core-2.*.jar | grep -o 'org.apache.accumulo.core.*AESCryptoService' | tr / . | tail -1)
CSF=$(jar -tvf "$ACCUMULO_HOME"/lib/accumulo-core-2.*.jar | grep -o 'org.apache.accumulo.core.*PerTableCryptoServiceFactory' | tr / . | tail -1)
echo "instance.crypto.opts.factory=$CSF" >> "$accumulo_conf"
echo "general.custom.crypto.recovery.service=$CS" >> "$accumulo_conf"
echo "general.custom.crypto.wal.service=$CS" >> "$accumulo_conf"
echo "general.custom.crypto.key.uri=file://$encrypt_key" >> "$accumulo_conf"
echo "table.crypto.opts.service=$CS" >> "$accumulo_conf"
echo "table.crypto.opts.key.uri=file://$encrypt_key" >> "$accumulo_conf"
echo "general.custom.crypto.enabled=true" >> "$accumulo_conf"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.