Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: use
~/.gnupg
when /etc/openvas/gnupg
is not available
Instead of just using GOS defaults `/etc/openvas/gnupg` check if the directory exists and when not use `$HOME/.gnupg` instead. If both are not available print a warning that the env variable GNUPGHOME should be set but stick with the failing `$HOME/.gnupg` to prevent None checking. Fixes #765
- Loading branch information