cyberchef 9.50.0 → 9.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberchef",
3
- "version": "9.50.0",
3
+ "version": "9.50.1",
4
4
  "description": "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.",
5
5
  "author": "n1474335 <n1474335@gmail.com>",
6
6
  "homepage": "https://gchq.github.io/CyberChef",
@@ -136,7 +136,7 @@ const getFeature = function() {
136
136
 
137
137
  fs.writeFileSync(path.join(process.cwd(), "CHANGELOG.md"), changelogData);
138
138
 
139
- console.log("Written CHANGELOG.md");
139
+ console.log("Written CHANGELOG.md\nCommit changes and then run `npm version minor`.");
140
140
  }
141
141
  });
142
142
  };
@@ -45,7 +45,7 @@ class ParseASN1HexString extends Operation {
45
45
  */
46
46
  run(input, args) {
47
47
  const [index, truncateLen] = args;
48
- return r.ASN1HEX.dump(input.replace(/\s/g, ""), {
48
+ return r.ASN1HEX.dump(input.replace(/\s/g, "").toLowerCase(), {
49
49
  "ommitLongOctet": truncateLen
50
50
  }, index);
51
51
  }
@@ -59,7 +59,7 @@ class ParseX509Certificate extends Operation {
59
59
 
60
60
  switch (inputFormat) {
61
61
  case "DER Hex":
62
- input = input.replace(/\s/g, "");
62
+ input = input.replace(/\s/g, "").toLowerCase();
63
63
  cert.readCertHex(input);
64
64
  break;
65
65
  case "PEM":