mirror of https://github.com/CISOfy/lynis.git
Fix displayed result for signing keys check (#466)
The result of the signing keys check is saved under KEYS_USED variable, but SSL_USED was used to present the result to the end user.
This commit is contained in:
parent
d2dfb6d43a
commit
6a74a8727f
|
@ -179,7 +179,7 @@ InsertSection "Basics"
|
|||
HASHING_USED=$(egrep "(sha1sum|sha256sum|sha512sum)" ${AUDIT_FILE})
|
||||
Display --indent 2 --text "Hashing" --result "${HASHING_USED}"
|
||||
KEYS_USED=$(egrep "(apt-key adv)" ${AUDIT_FILE})
|
||||
Display --indent 2 --text "Signing keys used" --result ${SSL_USED}
|
||||
Display --indent 2 --text "Signing keys used" --result ${KEYS_USED}
|
||||
Display --indent 2 --text "All downloads properly checked" --result "?"
|
||||
else
|
||||
Display --indent 2 --text "No files seems to be downloaded in this Dockerfile"
|
||||
|
|
Loading…
Reference in New Issue