add pgp public key encryption for backup

Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org>
This commit is contained in:
Maurice Preuß (envoyr)
2023-05-21 20:51:18 +02:00
parent 34cf6698bc
commit 5731f5ffff
14 changed files with 78 additions and 19 deletions

View File

@@ -996,6 +996,8 @@ return [
'invalidcronjobintervalvalue' => 'Cronjob interval must be one of: %s',
'phpgdextensionnotavailable' => 'The PHP GD extension is not available. Unable to validate image-data',
'2fa_wrongcode' => 'The code entered is not valid',
'gnupgextensionnotavailable' => 'The PHP GnuPG extension is not available. Unable to validate PGP Public Key',
'invalidpgppublickey' => 'The PGP Public Key is not valid',
],
'extras' => [
'description' => 'Here you can add some extras, for example directory protection.<br />The system will need some time to apply the new settings after every change.',
@@ -1310,6 +1312,11 @@ Yours sincerely, your administrator',
'title' => 'Destination path for the backup',
'description' => 'This is the path where the backups will be stored. If backup of web-data is selected, all files from the homedir are stored excluding the backup-folder specified here.',
],
'backup_pgp_public_key' => [
'title' => 'Public PGP key for encryption',
'description' => 'This is the public PGP key which will be used to encrypt the backup. If you leave this field empty, the backup will not be encrypted.',
],
'pgp_public_key' => 'Public PGP key',
'none_value' => 'None',
'viewlogs' => 'View logfiles',
'not_configured' => 'System not configured yet. Click here to go to configurations.',