diff --git a/web/run.sh b/web/run.sh index ea9bcd4..caf7086 100755 --- a/web/run.sh +++ b/web/run.sh @@ -107,28 +107,6 @@ if [ -r /.firstboot.tmp ]; then #Redis should not run as a daemon sed -i "s/daemonize yes/daemonize no/g" /etc/redis/redis.conf - - # Generate the admin user PGP key - echo "Creating admin GnuPG key" - if [ -z "$MISP_ADMIN_EMAIL" -o -z "$MISP_ADMIN_PASSPHRASE" ]; then - echo "No admin details provided, don't forget to generate the PGP key manually!" - else - echo "Generating admin PGP key ... (please be patient, we need some entropy)" - cat >/tmp/gpg.tmp <>/tmp/install.log - rm -f /tmp/gpg.tmp - sudo -u www-data gpg --homedir /var/www/MISP/.gnupg --export --armor $MISP_ADMIN_EMAIL > /var/www/MISP/app/webroot/gpg.asc - fi # Display tips cat <<__WELCOME__