Skip to content

Update encryption plugin #285

@milleruntime

Description

@milleruntime

With the changes in apache/accumulo#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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions