mirror of
https://github.com/gchq/CyberChef
synced 2025-12-25 20:53:36 +00:00
convert hex string to lower before parsing as ASN.1
This commit is contained in:
@@ -59,7 +59,7 @@ class ParseX509Certificate extends Operation {
|
||||
|
||||
switch (inputFormat) {
|
||||
case "DER Hex":
|
||||
input = input.replace(/\s/g, "");
|
||||
input = input.replace(/\s/g, "").toLowerCase();
|
||||
cert.readCertHex(input);
|
||||
break;
|
||||
case "PEM":
|
||||
|
||||
Reference in New Issue
Block a user