This is an old version of the document!
Starting with version 2.6.2, Benno MailArchiv offers the option to archive emails in encrypted form: Each individual email is encrypted before being saved to the storage backend.
Der Verschlüsselungsalgorythmus ist AES-256.
Beim Abruf einer E-Mail zur Anzeige in der Benno MailArchiv WebApp wird die jeweilige Mail entschlüsselt und danach in der WebApp angezeigt.
Encryption can only be activated for newly created archives (clients).
ACHTUNG: Bei Verlust des Schlüssels sind die Daten nicht mehr entschlüsselbar und damit nicht mehr lesbar!
Zuerst wird ein keystore mit einem Schlüsselpaar erstellt.
In der Konfigurationsdatei /etc/benno/benno.xml wird die Verschlüsselung eines Mandanten wie folgt konfiguriert:
... <container> <identifier>BennoContainer</identifier> <conditions><all/></conditions> <readonly>false</readonly> <luceneindex version="LUCENE_36"><directory>/srv/benno/archive/index</directory></luceneindex> <boxgenerator rotation="YEARLY"> <boxtemplate> <journal rotation="MONTHLY"/> <storage driver="fs"><subdirs>3</subdirs><dirlength>2</dirlength></storage> <encryption> <privateKeyFile>/etc/benno/bennokeystore.jks</privateKeyFile> <privateKeyFilePassword>KeystorePassword</privateKeyFilePassword> <keyPassword>BennoMailArchivPass</keyPassword> <keyAlias>BennoMailArchiv</keyAlias> <engine>RSA_AES256</engine> <keyStoreType>JKS</keyStoreType> </encryption> </boxtemplate> <directory>/srv/benno/archive/repo</directory> </boxgenerator> </container>
When encryption is enabled, compression should not be activated, as encrypted data can hardly be compressed.