manticore
manticore copied to clipboard
Don't strip the decoded certificate, chomp should be enough
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.