trivy icon indicating copy to clipboard operation
trivy copied to clipboard

bug(secret): long secrets with short line prefix/suffix contain characters from other lines

Open DmitriyLewen opened this issue 1 year ago • 0 comments

Description

long secrets with short line prefix/suffix (characters before and after secret) contain characters from other strings. We limit long lines, but we need to include characters only from detected line.

See example:

   1   asd
   2   aaaa
   3 [ asd
aaaa
jwt: ***********************************************************************************************************************************************************

asda
   4  

DmitriyLewen avatar Aug 28 '24 02:08 DmitriyLewen