Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: gpg verification failure handling of notus advisories sha256sums #767

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion ospd_openvas/notus.py
Expand Up @@ -47,7 +47,11 @@ def hashsum_verificator(
def on_hash_sum_verification_failure(
_: Optional[Dict[str, str]]
) -> Dict[str, str]:
raise Exception("GPG verification of notus sha256sums failed")
logger.warning(
"GPG verification of notus sha256sums failed."
" Notus advisories are not loaded."
)
return {}

sha_sum_file_path = advisories_directory_path / "sha256sums"
sha_sum_reload_config = ReloadConfiguration(
Expand Down