manticore icon indicating copy to clipboard operation
manticore copied to clipboard

Don't strip the decoded certificate, chomp should be enough

Open rybnico opened this issue 1 year ago • 0 comments

Strip removes all whitespace characters, not just line breaks and spaces (null, horizontal tab, line feed, vertical tab, form feed, carriage return, space). If a certificate ends with such a character, a Java::JavaSecuritySpec::InvalidKeySpecException is thrown. For example, this issue results from this bug.

rybnico avatar Jul 24 '24 09:07 rybnico