*** Helmut Koers wrote:

> Has anyone tried to exchange the key for password encryption? I was trying 
> to, but was not able to. Deletion of the existing one did work without any 
> issues, but creating the new one did not work at all. The keys that have 
> been delivered with the VM have disappeared after the mentioned commands 
> to delete them, but no new keys appeared after issuing the command 
> "openvasmd --create-credentials-encryption-key". Don't I need to re-create 
> a key using "gpg?

works for me. I've installed haveged to speed up the generation of the
key.

root@openvas:~# apt-get install haveged
root@openvas:~# rm -rf /usr/local/var/lib/openvas/gnupg/
root@openvas:~# mkdir /usr/local/var/lib/openvas/gnupg/
root@openvas:~# chmod 600 /usr/local/var/lib/openvas/gnupg/
root@openvas:~# openvasmd --create-credentials-encryption-key
root@openvas:~# ls -l /usr/local/var/lib/openvas/gnupg/
total 16
-rw------- 1 root staff  622 May 19 11:09 pubring.gpg
-rw------- 1 root staff    0 May 19 11:09 pubring.gpg~
-rw------- 1 root staff  600 May 19 11:09 random_seed
-rw------- 1 root staff 1273 May 19 11:09 secring.gpg
-rw------- 1 root staff 1240 May 19 11:09 trustdb.gpg

Micha

-- 
Michael Meyer                  OpenPGP Key: 0xAF069E9152A6EFA6 
http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG
Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to