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

FINT-4315 does not respect custom checksums config in aide.conf #1606

Open
rm-td opened this issue Feb 14, 2025 · 0 comments
Open

FINT-4315 does not respect custom checksums config in aide.conf #1606

rm-td opened this issue Feb 14, 2025 · 0 comments

Comments

@rm-td
Copy link

rm-td commented Feb 14, 2025

Describe the bug
Overriding default "Checksums = H" with "Checksums = sha256" results in parse failure from lynis script.

Two machines, identical aide.conf configuration, one passes and one fails. Unable to determine reason for failure, aide.db exists on both, aideinit passes successfully on both. Error received as above when overriding:

Default config (lynis passes)

# if you want to sacrifice security for speed, list some checksum
# explicitly here. H specifies that all checksums compiled in are used.
Checksums = H

Custom config (lynis fails)

# if you want to sacrifice security for speed, list some checksum
# explicitly here. H specifies that all checksums compiled in are used.
Checksums = sha256

Believe acceptable values are sha256, sha512 (both lower case) and H.

Version

  • Distribution Debian 12
  • Lynis version 3.1.5

Expected behavior
Lynis should accept the user has specified custom checksums instead of all and not flag an error.

Output
Unable to run with developer profile, currently errors per another report. Output as follows with custom config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant