audit log file decryption fails for older openssl version less than 3.x

Description

While testing audit log filter encryption/decryption, it is noticed that while trying to decrypt the audit log file there is an error "bad magic number"

 

To confirm, execute below MTR testcase

 

 

Environment

None

Activity

Show:

Oleksandr Kachan April 19, 2023 at 9:44 PM

With OpenSSL 1.1.1 'openssl enc -d' expects salt to be found at the beginning of encrypted file. There is no way to pass it via command line parameters. Updated plugin to always add it to the encrypted log.

Done

Details

Assignee

Reporter

Needs QA

Yes

Sprint

Priority

Smart Checklist

Created April 19, 2023 at 12:18 PM
Updated April 2, 2024 at 11:40 AM
Resolved May 5, 2023 at 7:02 AM