aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--collect.stdout146
-rw-r--r--internal/x509/x509.go9
2 files changed, 153 insertions, 2 deletions
diff --git a/collect.stdout b/collect.stdout
new file mode 100644
index 0000000..5a1abe0
--- /dev/null
+++ b/collect.stdout
@@ -0,0 +1,146 @@
+2023/03/18 14:06:49 cmd_collect.go:152: INFO: collect is up-and-running, ctrl+C to exit
+2023/03/18 14:06:59 cmd_collect.go:132: NOTICE: Google 'Xenon2024' log: leaf at index 11652: parse: found SAN that contains new line: 7436740a
+2023/03/18 14:06:59 cmd_collect.go:132: NOTICE: Google 'Xenon2024' log: leaf at index 11654: parse: found SAN that contains new line: 7436740a
+2023/03/18 14:06:59 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 4538: parse: found SAN that contains new line: 3081e23134303206035504090c2b4772616e20566961206465206c657320436f72747320436174616c616e65732e203939362e2030383031383112301006035504070c0942617263656c6f6e6131273025060355040a0c1e414e46204175746f72696461642064652043657274696669636163696f6e311230100603550405130947363332383735313031593057060355040b0c50496e73637269746120656e20656c204d696e6973746572696f2064656c20496e746572696f722064652045737061c3b16120636f6e20656c206e756d65726f206e6163696f6e616c203137312e343433
+2023/03/18 14:07:02 cmd_collect.go:298: DEBUG: Google 'Xenon2024' log: persisted [0, 16480]
+2023/03/18 14:07:02 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [0, 16448]
+2023/03/18 14:07:06 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 11157: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:06 cmd_collect.go:132: NOTICE: Google 'Xenon2023' log: leaf at index 22834: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:07 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 11300: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:07 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 11581: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:07 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 11929: parse: found SAN that contains new line: 306e310b3009060355040613024a5031183016060355040a0c0fe697a5e69cace59bbde694bfe5ba9c311b3019060355040b0c12e694bfe5ba9ce8aa8de8a8bce59fbae79ba43128302606035504030c1fe382a2e38397e383aae382b1e383bce382b7e383a7e383b343413220537562
+2023/03/18 14:07:07 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 12228: parse: found SAN that contains new line: 3081e23134303206035504090c2b4772616e20566961206465206c657320436f72747320436174616c616e65732e203939362e2030383031383112301006035504070c0942617263656c6f6e6131273025060355040a0c1e414e46204175746f72696461642064652043657274696669636163696f6e311230100603550405130947363332383735313031593057060355040b0c50496e73637269746120656e20656c204d696e6973746572696f2064656c20496e746572696f722064652045737061c3b16120636f6e20656c206e756d65726f206e6163696f6e616c203137312e343433
+2023/03/18 14:07:08 cmd_collect.go:132: NOTICE: Google 'Xenon2023' log: leaf at index 26167: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:09 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [0, 16384]
+2023/03/18 14:07:12 cmd_collect.go:132: NOTICE: Google 'Xenon2023' log: leaf at index 32790: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:12 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [16448, 32864]
+2023/03/18 14:07:13 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [0, 16384]
+2023/03/18 14:07:14 cmd_collect.go:298: DEBUG: Google 'Xenon2024' log: persisted [16480, 32896]
+2023/03/18 14:07:16 cmd_collect.go:132: NOTICE: Google 'Xenon2023' log: leaf at index 40995: parse: found SAN that contains new line: 306e310b3009060355040613024a5031183016060355040a0c0fe697a5e69cace59bbde694bfe5ba9c311b3019060355040b0c12e694bfe5ba9ce8aa8de8a8bce59fbae79ba43128302606035504030c1fe382a2e38397e383aae382b1e383bce382b7e383a7e383b343413220537562
+2023/03/18 14:07:19 cmd_collect.go:132: NOTICE: Google 'Xenon2023' log: leaf at index 48153: parse: found SAN that contains new line: 3081e23134303206035504090c2b4772616e20566961206465206c657320436f72747320436174616c616e65732e203939362e2030383031383112301006035504070c0942617263656c6f6e6131273025060355040a0c1e414e46204175746f72696461642064652043657274696669636163696f6e311230100603550405130947363332383735313031593057060355040b0c50496e73637269746120656e20656c204d696e6973746572696f2064656c20496e746572696f722064652045737061c3b16120636f6e20656c206e756d65726f206e6163696f6e616c203137312e343433
+2023/03/18 14:07:20 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [32864, 49248]
+2023/03/18 14:07:24 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 28588: parse: found SAN that contains new line: 060a2b060104018237140203a01d0c1b646f75672e6265617474696540676c6f62616c7369676e2e636f6d
+2023/03/18 14:07:26 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 8181: parse: found SAN that contains new line: 060a2b060104018237140203a01d0c1b646f75672e6265617474696540676c6f62616c7369676e2e636f6d
+2023/03/18 14:07:27 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 8237: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:27 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [49248, 65632]
+2023/03/18 14:07:28 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [16384, 33280]
+2023/03/18 14:07:28 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 8380: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:30 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [16384, 32768]
+2023/03/18 14:07:30 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 8544: parse: found SAN that contains new line: 060a2b060104018237140203a01d0c1b646f75672e6265617474696540676c6f62616c7369676e2e636f6d
+2023/03/18 14:07:30 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 9027: parse: found SAN that contains new line: 306e310b3009060355040613024a5031183016060355040a0c0fe697a5e69cace59bbde694bfe5ba9c311b3019060355040b0c12e694bfe5ba9ce8aa8de8a8bce59fbae79ba43128302606035504030c1fe382a2e38397e383aae382b1e383bce382b7e383a7e383b343413220537562
+2023/03/18 14:07:31 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 8669: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:33 cmd_collect.go:132: NOTICE: Google 'Argon2023' log: leaf at index 9328: parse: found SAN that contains new line: 3081e23134303206035504090c2b4772616e20566961206465206c657320436f72747320436174616c616e65732e203939362e2030383031383112301006035504070c0942617263656c6f6e6131273025060355040a0c1e414e46204175746f72696461642064652043657274696669636163696f6e311230100603550405130947363332383735313031593057060355040b0c50496e73637269746120656e20656c204d696e6973746572696f2064656c20496e746572696f722064652045737061c3b16120636f6e20656c206e756d65726f206e6163696f6e616c203137312e343433
+2023/03/18 14:07:33 cmd_collect.go:298: DEBUG: DigiCert Nessie2025 Log: persisted [0, 693]
+2023/03/18 14:07:35 cmd_collect.go:298: DEBUG: DigiCert Yeti2025 Log: persisted [0, 686]
+2023/03/18 14:07:36 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1600: parse: found SAN that contains new line: 060a2b060104018237140203a0150c136761796e6f725f614064732e656f702e676f76
+2023/03/18 14:07:36 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1618: parse: found SAN that contains new line: 060a2b060104018237140203a0100c0e31353232333437383939406d696c
+2023/03/18 14:07:36 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1766: parse: found SAN that contains new line: 060a2b060104018237140203a03c0c3a322e31362e3532382e312e313030332e312e332e352e392e312e3564353662326663346366303939613432386136626230303038373863363337
+2023/03/18 14:07:36 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1028: NonFatalErrors: x509: failed to parse dnsName constraint "unicredit. eu";
+2023/03/18 14:07:39 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1847: parse: found SAN that contains new line: 0a1341e2
+2023/03/18 14:07:39 cmd_collect.go:132: NOTICE: DigiCert Nessie2023 Log: leaf at index 2334: parse: found SAN that contains new line: 306e310b3009060355040613024a5031183016060355040a0c0fe697a5e69cace59bbde694bfe5ba9c311b3019060355040b0c12e694bfe5ba9ce8aa8de8a8bce59fbae79ba43128302606035504030c1fe382a2e38397e383aae382b1e383bce382b7e383a7e383b343413220537562
+2023/03/18 14:07:39 cmd_collect.go:132: NOTICE: DigiCert Nessie2023 Log: leaf at index 2389: parse: found SAN that contains new line: 3081e23134303206035504090c2b4772616e20566961206465206c657320436f72747320436174616c616e65732e203939362e2030383031383112301006035504070c0942617263656c6f6e6131273025060355040a0c1e414e46204175746f72696461642064652043657274696669636163696f6e311230100603550405130947363332383735313031593057060355040b0c50496e73637269746120656e20656c204d696e6973746572696f2064656c20496e746572696f722064652045737061c3b16120636f6e20656c206e756d65726f206e6163696f6e616c203137312e343433
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1334: parse: found SAN that contains new line: 060a2b060104018237140203a0460c44312e322e332e342c322e31362e3532382e312e313030332e312e332e352e382d31616130656465612d353736302d346332392d623561302d383963346562663331656162
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1366: parse: found SAN that contains new line: 060a2b060104018237140203a0100c0e31323330313530393730406d696c
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1368: parse: found SAN that contains new line: 060a2b060104018237140203a0100c0e31323239303639313136406d696c
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1370: parse: found SAN that contains new line: 060a2b060104018237140203a01b0c1962656e6a616d696e2e77616c6b657240696e74656c2e636f6d
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1371: parse: found SAN that contains new line: 06092b06010401dc190201a00c130a31393431323137393832
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1377: parse: found SAN that contains new line: 060a2b060104018237140203a0160c1431353232333437383939313937303032406d696c
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1378: parse: found SAN that contains new line: 060a2b060104018237140203a0180c166d6174746865772e776561766572324076612e676f76
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1420: parse: found SAN that contains new line: 060a2b060104018237140203a0300c2e322e31362e3532382e312e313030332e312e332e352e322e312d3030303030303034303033323134333435303031
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1421: parse: found SAN that contains new line: 060a2b060104018237140203a0300c2e322e31362e3532382e312e313030332e312e332e352e322e312d3030303030303033323733363532343630303030
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1422: parse: found SAN that contains new line: 060a2b060104018237140203a0260c24322e31362e3532382e312e313030332e312e332e352e392e322d4a533030303030383232
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1423: parse: found SAN that contains new line: 060a2b060104018237140203a0260c24322e31362e3532382e312e313030332e312e332e352e342e322d4a533030303030323532
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1424: parse: found SAN that contains new line: 060a2b060104018237140203a0460c44312e322e332e342c322e31362e3532382e312e313030332e312e332e352e382d37363862383339312d656664382d343436352d383539662d346238306336626431383564
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1425: parse: found SAN that contains new line: 060a2b060104018237140203a0250c23322e31362e3532382e312e313030332e312e332e352e332e312d313031393935393931
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1426: parse: found SAN that contains new line: 060a2b060104018237140203a03c0c3a322e31362e3532382e312e313030332e312e332e322e322e352e6264396261653265323866653766653832336565396438663038623537663264
+2023/03/18 14:07:40 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 1489: parse: found SAN that contains new line: 060a2b060104018237140203a0180c1630363334333632363137404342502e4448532e474f56
+2023/03/18 14:07:42 cmd_collect.go:298: DEBUG: Google 'Argon2024' log: persisted [0, 16704]
+2023/03/18 14:07:43 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 2111: parse: found SAN that contains new line: 0a134218
+2023/03/18 14:07:44 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [33280, 49664]
+2023/03/18 14:07:45 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2023' log: persisted [0, 16384]
+2023/03/18 14:07:45 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [32768, 49152]
+2023/03/18 14:07:45 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2024H2' log: persisted [0, 13193]
+2023/03/18 14:07:46 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 50752: parse: found SAN that contains new line: 060a2b060104018237140203a01c0c1a72756675732e6275736368617274407369656d656e732e636f6d
+2023/03/18 14:07:46 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 50912: parse: found SAN that contains new line: 060a2b060104018237140203a01c0c1a72756675732e6275736368617274407369656d656e732e636f6d
+2023/03/18 14:07:46 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 50323: parse: found SAN that contains new line: c325580a
+2023/03/18 14:07:49 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 2307: parse: found SAN that contains new line: 0a1341c4
+2023/03/18 14:07:49 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 2324: parse: found SAN that contains new line: 0a134213
+2023/03/18 14:07:49 cmd_collect.go:298: DEBUG: Google 'Xenon2024' log: persisted [32896, 49312]
+2023/03/18 14:07:51 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 2846: parse: found SAN that contains new line: 0a020808
+2023/03/18 14:07:51 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 2898: parse: found SAN that contains new line: 0a020908
+2023/03/18 14:07:54 cmd_collect.go:132: NOTICE: DigiCert Nessie2023 Log: leaf at index 6626: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:07:55 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 3652: parse: found SAN that contains new line: 0a000a69
+2023/03/18 14:07:55 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 3762: parse: found SAN that contains new line: 0a4cedcf
+2023/03/18 14:07:58 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 3434: parse: found SAN that contains new line: 0a4cedd1
+2023/03/18 14:07:58 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 3477: parse: found SAN that contains new line: 0aa0d1ae
+2023/03/18 14:07:58 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [49664, 66048]
+2023/03/18 14:07:59 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [49152, 65536]
+2023/03/18 14:08:02 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2024' Log: leaf at index 69079: parse: found SAN that contains new line: 8d030a3c
+2023/03/18 14:08:02 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2024' Log: leaf at index 69099: parse: found SAN that contains new line: 8d030ac9
+2023/03/18 14:08:02 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [65632, 82048]
+2023/03/18 14:08:03 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4307: parse: found SAN that contains new line: 0a007293
+2023/03/18 14:08:03 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4318: parse: found SAN that contains new line: 0a007253
+2023/03/18 14:08:05 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2023' log: persisted [16384, 32768]
+2023/03/18 14:08:05 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4779: parse: found SAN that contains new line: 0a1ffab8
+2023/03/18 14:08:05 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4817: parse: found SAN that contains new line: 0a0a7626
+2023/03/18 14:08:07 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4528: parse: found SAN that contains new line: 0a007283
+2023/03/18 14:08:07 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4534: parse: found SAN that contains new line: 98d80a13
+2023/03/18 14:08:09 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4873: parse: found SAN that contains new line: 0a1ffaac
+2023/03/18 14:08:09 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4970: parse: found SAN that contains new line: d743020a
+2023/03/18 14:08:09 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 4993: parse: found SAN that contains new line: 840bda0a
+2023/03/18 14:08:09 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5038: parse: found SAN that contains new line: 0a006bda
+2023/03/18 14:08:10 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5124: parse: found SAN that contains new line: 0a64f591
+2023/03/18 14:08:10 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5131: parse: found SAN that contains new line: 98d80a18
+2023/03/18 14:08:10 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5228: parse: found SAN that contains new line: 0a4ce082
+2023/03/18 14:08:10 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5230: parse: found SAN that contains new line: c70a1047
+2023/03/18 14:08:10 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5356: parse: found SAN that contains new line: ac10010a
+2023/03/18 14:08:10 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5374: parse: found SAN that contains new line: 0aece3e2
+2023/03/18 14:08:12 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5869: parse: found SAN that contains new line: 0a331234
+2023/03/18 14:08:13 cmd_collect.go:298: DEBUG: Google 'Argon2023' log: persisted [0, 16384]
+2023/03/18 14:08:14 cmd_collect.go:132: NOTICE: Google 'Argon2024' log: leaf at index 22584: parse: found SAN that contains new line: 7436740a
+2023/03/18 14:08:14 cmd_collect.go:132: NOTICE: Google 'Argon2024' log: leaf at index 22586: parse: found SAN that contains new line: 7436740a
+2023/03/18 14:08:14 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [66048, 82432]
+2023/03/18 14:08:15 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [65536, 81920]
+2023/03/18 14:08:15 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5550: parse: found SAN that contains new line: 98d80a12
+2023/03/18 14:08:15 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5595: parse: found SAN that contains new line: 0a007252
+2023/03/18 14:08:15 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5603: parse: found SAN that contains new line: 0a04a41e
+2023/03/18 14:08:17 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 5943: parse: found SAN that contains new line: 98d80a17
+2023/03/18 14:08:17 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 6022: parse: found SAN that contains new line: c631bb0a
+2023/03/18 14:08:17 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 6074: parse: found SAN that contains new line: 0a322407
+2023/03/18 14:08:17 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 6098: parse: found SAN that contains new line: 0a0a3d4e
+2023/03/18 14:08:18 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2024' Log: leaf at index 86558: parse: found SAN that contains new line: c325160a
+2023/03/18 14:08:20 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2023' log: persisted [32768, 49152]
+2023/03/18 14:08:24 cmd_collect.go:298: DEBUG: Google 'Xenon2024' log: persisted [49312, 65696]
+2023/03/18 14:08:24 cmd_collect.go:132: NOTICE: Sectigo 'Sabre' CT log: leaf at index 7995: parse: found SAN that contains new line: 060a2b060104018237140203a0130c114839384742524e40434d532e4c4f43414c
+2023/03/18 14:08:28 cmd_collect.go:298: DEBUG: DigiCert Nessie2023 Log: persisted [0, 16640]
+2023/03/18 14:08:29 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [82432, 98816]
+2023/03/18 14:08:29 cmd_collect.go:132: NOTICE: DigiCert Nessie2023 Log: leaf at index 16801: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:08:29 cmd_collect.go:298: DEBUG: DigiCert Nessie2024 Log: persisted [0, 16384]
+2023/03/18 14:08:30 cmd_collect.go:132: NOTICE: Google 'Xenon2023' log: leaf at index 95352: parse: found SAN that contains new line: 060a2b060104018237140203a01d0c1b646f75672e6265617474696540676c6f62616c7369676e2e636f6d
+2023/03/18 14:08:31 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2023' log: persisted [49152, 65536]
+2023/03/18 14:08:31 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [81920, 98304]
+2023/03/18 14:08:32 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 100440: parse: found SAN that contains new line: 060a2b060104018237140203a0140c126f666669636540636572747369676e2e726f
+2023/03/18 14:08:33 cmd_collect.go:298: DEBUG: DigiCert Yeti2024 Log: persisted [0, 16640]
+2023/03/18 14:08:37 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [82048, 98432]
+2023/03/18 14:08:38 cmd_collect.go:132: NOTICE: DigiCert Nessie2023 Log: leaf at index 19891: parse: found SAN that contains new line: 060a2b060104018237140203a01d0c1b646f75672e6265617474696540676c6f62616c7369676e2e636f6d
+2023/03/18 14:08:46 cmd_collect.go:298: DEBUG: Sectigo 'Sabre' CT log: persisted [0, 16384]
+2023/03/18 14:08:48 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [98304, 114688]
+2023/03/18 14:08:48 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [98816, 115200]
+2023/03/18 14:08:49 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2023' log: persisted [65536, 82176]
+2023/03/18 14:08:55 cmd_collect.go:132: NOTICE: DigiCert Nessie2023 Log: leaf at index 22838: NonFatalErrors: asn1: syntax error: Value: PrintableString contains invalid character;
+2023/03/18 14:08:57 cmd_collect.go:132: NOTICE: Cloudflare 'Nimbus2023' Log: leaf at index 127983: parse: found SAN that contains new line: c325160a
+2023/03/18 14:08:58 cmd_collect.go:298: DEBUG: Google 'Xenon2024' log: persisted [65696, 82080]
+2023/03/18 14:08:59 cmd_collect.go:49: INFO: about to exit, please wait 5s...
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Google 'Xenon2024' log: persisted [82080, 82304]
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Google 'Xenon2023' log: persisted [98432, 108928]
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2023' log: persisted [82176, 94464]
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Google 'Argon2024' log: persisted [16704, 30464]
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Google 'Argon2023' log: persisted [16384, 24768]
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2023' Log: persisted [114688, 130560]
+2023/03/18 14:09:00 cmd_collect.go:298: DEBUG: Sectigo 'Sabre' CT log: persisted [16384, 21760]
+2023/03/18 14:09:01 cmd_collect.go:298: DEBUG: DigiCert Nessie2024 Log: persisted [16384, 30720]
+2023/03/18 14:09:01 cmd_collect.go:298: DEBUG: Cloudflare 'Nimbus2024' Log: persisted [115200, 126976]
+2023/03/18 14:09:01 cmd_collect.go:298: DEBUG: Let's Encrypt 'Oak2024H1' log: persisted [0, 3072]
+2023/03/18 14:09:01 cmd_collect.go:298: DEBUG: DigiCert Nessie2023 Log: persisted [16640, 23808]
+2023/03/18 14:09:02 cmd_collect.go:298: DEBUG: DigiCert Yeti2024 Log: persisted [16640, 24832]
+2023/03/18 14:09:02 cmd_collect.go:298: DEBUG: Trust Asia Log2024-2: persisted [0, 5888]
diff --git a/internal/x509/x509.go b/internal/x509/x509.go
index 949199d..ce4be0c 100644
--- a/internal/x509/x509.go
+++ b/internal/x509/x509.go
@@ -401,6 +401,7 @@ package x509
import (
"fmt"
+ "strings"
ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/asn1"
@@ -479,8 +480,12 @@ func extract(extSAN pkix.Extension) ([]string, error) {
if err != nil {
return nil, fmt.Errorf("failed to parse subjectAltName extension item: %v", err)
}
-
- sans = append(sans, string(val.Bytes))
+ san := string(val.Bytes)
+ if strings.Contains(san, "\n") {
+ // new-line would be bad for our data set because it is line-terminated
+ return nil, fmt.Errorf("found SAN that contains new line: %x", val.Bytes)
+ }
+ sans = append(sans, san)
}
return sans, nil
}