Hi, I found out how to fix this issue. Still using the keys in /etc (the $sysconfdir) and therefore having two keyrings, made it work. But the keyring in /var/lib/openvas/gnupg is unused and only there as a dummy, which does not make much sense to me. This seems like a bug to me.
Greetz Mike Von: Friedrich, Michael Gesendet: Dienstag, 31. Mai 2016 15:11 An: '[email protected]' <[email protected]> Betreff: AW: Signing of own NVTs Hi, i fixed the homedir failed error, by creating the gnupg stuff in /var/lib/openvas Still, the signature is bad or missing. Regards Von: Openvas-plugins [mailto:[email protected]] Im Auftrag von Friedrich, Michael Gesendet: Dienstag, 31. Mai 2016 14:32 An: '[email protected]' <[email protected]<mailto:[email protected]>> Betreff: [Openvas-plugins] Signing of own NVTs Hi, how do i sign own NVTs? I have generated keys with gpg in homedir=/etc/openvas/gnupg and used those to sign a NVT like described here: fossies.org/linux/openvas-libraries/doc/signatures-howto.txt Verifying the signature via gpg -- homedir=/etc/openvas/gnupg --verify script.nasl.asc script.nasl is succesful, but neither openvas-nasl -p script.nasl nor rebuild works anymore. Am I missing something? Openvas-nasl prints following error: "base gpgme-WARNING: **: Setting GnuPG homedir failed: No such file or directory" Therefore signature is bad (or not found). Do I have to adjust a configuration, ist hat why the homedir cannot be set? Regards, Michael
_______________________________________________ Openvas-plugins mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins
