EICAR text is ignored in crt files

Created on 3 November 2023, 8 months ago

Problem/Motivation

When I have a .ctr file that contains only the EICAR text then clamav detects it and is all fine, but if I put the EICAR text between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- then it shows that the file has no problems.

Steps to reproduce

1. Create .crt file that contains only the EICAR text
2. run clamscan on it
3. create .crt file that looks like so:
-----BEGIN CERTIFICATE-----
EICAR text
-----END CERTIFICATE-----
4. run clamscan on it

you will see that it will output OK

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024