Merge pull request #2295 from norpol/patch-1

Fix gpgv2+ key generation
pull/2668/head
Andras Iklody 2017-11-16 11:09:25 +01:00 committed by GitHub
commit 13be48539b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -252,9 +252,8 @@ sudo chown -R www-data:www-data /var/www/MISP/app/Config
sudo chmod -R 750 /var/www/MISP/app/Config
# Generate a GPG encryption key.
sudo -u www-data mkdir /var/www/MISP/.gnupg
sudo chmod 700 /var/www/MISP/.gnupg
sudo -u www-data gpg --homedir /var/www/MISP/.gnupg --gen-key
sudo gpg --homedir /var/www/MISP/.gnupg --gen-key
sudo chown -R www-data:www-data /var/www/MISP/.gnupg
# The email address should match the one set in the config.php / set in the configuration menu in the administration menu configuration file
# And export the public key to the webroot