Commit graph

77 commits

Author SHA1 Message Date
564df0100e
Merge pull request #9 from Rafiot/master
chg: Make it a poetry project
2021-04-16 23:47:13 +02:00
Raphaël Vinot
84d4586503 fix: install CLI in package 2021-04-16 00:34:25 +02:00
Raphaël Vinot
ebd7cb0399 chg: Make it a poetry project 2021-04-15 23:52:03 +02:00
a4f62e2a43
Merge pull request #8 from mlodic/adding_timeout
adding timeout option to pypssl GET
2021-04-14 22:51:50 +02:00
Matteo Lodi
3a0ee47df2 adding timeout option to pypssl GET 2021-04-14 16:28:55 +02:00
7cc17a4ced
chg: [api] skip extraction of extension for empty fields
Sample certificate: c46fed822dadac3f31f9bb4d1a78a1d9eae4567b
2021-04-02 10:09:14 +02:00
5ca337aeb0 Merge branch 'master' of https://github.com/adulau/crl-monitor
Conflicts:
	bin/x509/ip-ssl-subject-api.py
2020-06-09 13:21:13 +00:00
d24e10053f fix: [netaddr] fix the IP lookup 2020-06-09 13:19:45 +00:00
8fffa5188a Merge pull request #6 from Rafiot/refactoring
Refactoring
2017-02-27 11:35:30 +01:00
Raphaël Vinot
1078d2f159 Add multiprocessing on queries 2016-10-02 22:25:52 +02:00
Raphaël Vinot
a4dfadfe04 Move ip-ssl-subject-api.py 2016-10-02 22:24:55 +02:00
60ea4a966c Basic documentation of the API 2016-05-03 23:32:28 +02:00
64a77a9677 Verbose mode option added 2015-12-06 18:13:26 +00:00
ab10d41c19 ICSI data added in the JSON output 2015-10-02 20:17:12 +00:00
d2a4c8c6f4 Importing ICSI results into Redis 2015-10-02 19:57:55 +00:00
c7a6d5dfd8 Merge branch 'master' of https://github.com/adulau/crl-monitor 2015-09-21 20:56:18 +00:00
6bc6d92ca9 Initial version of the ICSI Notary lookup of FP 2015-09-21 18:28:47 +00:00
ad94a7c7f3 dnspython added 2015-09-21 18:10:10 +00:00
70874bc8a3 Merge pull request #5 from Rafiot/master
Client API 2.0
2015-08-27 18:02:52 +02:00
Raphaël Vinot
1a2e1f358c Fix python3 compat 2015-08-27 14:34:21 +02:00
Raphaël Vinot
5082038a95 Add API v2.0 2015-08-27 14:29:59 +02:00
e4344dcfae cfetch/ API added to fetch and parse certificate from the datastore
Sample query:

curl http://127.0.0.1:8888/cfetch/37ffbb160d4c97c42f5126bebc9c18eeffe5ede3

{
  "pem": "-----BEGIN CERTIFICATE-----\nMIIEwTCCA6mgAwIBAgIJAIo7DnOg3SPpMA0GCSqGSIb3DQEBBQUAMIGbMQswCQYD\nVQQGEwItLTELMAkGA1UECBMCV0ExEDAOBgNVBAcTB1NlYXR0bGUxEjAQBgNVBAoT\nCU15Q29tcGFueTEOMAwGA1UECxMFTXlPcmcxHjAcBgNVBAMTFWxvY2FsaG9zdC5s\nb2NhbGRvbWFpbjEpMCcGCSqGSIb3DQEJARYacm9vdEBsb2NhbGhvc3QubG9jYWxk\nb21haW4wHhcNMTMxMDA5MDkzODU3WhcNMjMxMDA3MDkzODU3WjCBmzELMAkGA1UE\nBhMCLS0xCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMRIwEAYDVQQKEwlN\neUNvbXBhbnkxDjAMBgNVBAsTBU15T3JnMR4wHAYDVQQDExVsb2NhbGhvc3QubG9j\nYWxkb21haW4xKTAnBgkqhkiG9w0BCQEWGnJvb3RAbG9jYWxob3N0LmxvY2FsZG9t\nYWluMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmE+M/HAURvtG9JPc\nKndfyZ0UhGDHUg8Y+UHxKbOomscUh55EGkxdhdFeSyOTdugZ4eADf3ssCrvv0kop\nljay3yOI9Q3nWEMO4Zk0B5fA8XLuY4+pRPakskyJeoKHkY9tiIUxAaPCrwj2aiNF\nqnt0Cd9w2h0eAz1oaJNoXlOxINRFkyB2sfMg8e1XKxQFBrjK5fANqLd++HrWOeV3\nRxCf8pWJMBK4rTz8p0dDMWhaN1n66kP6qbUxwqtTe1YZ4t/Gy87u2g7WcI8XH9or\nZpqzdt5H+mswfKK/CIcGPqj5xx4ad+VvhMM+bijw5DMCttZA0Okv6T12nRuzFe9n\noJmwZQIDAQABo4IBBDCCAQAwHQYDVR0OBBYEFJswttZ8BCZz+JhJCjRueL3i9Qs4\nMIHQBgNVHSMEgcgwgcWAFJswttZ8BCZz+JhJCjRueL3i9Qs4oYGhpIGeMIGbMQsw\nCQYDVQQGEwItLTELMAkGA1UECBMCV0ExEDAOBgNVBAcTB1NlYXR0bGUxEjAQBgNV\nBAoTCU15Q29tcGFueTEOMAwGA1UECxMFTXlPcmcxHjAcBgNVBAMTFWxvY2FsaG9z\ndC5sb2NhbGRvbWFpbjEpMCcGCSqGSIb3DQEJARYacm9vdEBsb2NhbGhvc3QubG9j\nYWxkb21haW6CCQCKOw5zoN0j6TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUA\nA4IBAQBAECr0U7DZhuIZQW5aNlysJM1WIbAajnKyILthTXya18zcTsJQisn0zUc5\nl4obCj1xQ1krJOEupTE5miBRtvwhp4ymfBjLxLFT7R6rHO7/t5dZUPvXtkfK3QeY\nrtqb9vZSdKhfm+zzr7ra/N0XeWlgoja9+54Dtc3qZqzY1tUblDy3J2NBabOz7eF7\nf0jgHEbF+2CP20bhCltklGyA7U7m1qUS6bgKsGr/gfPL+ioDKPGNJTiPrfsD9YsN\nYyG05ZJ6RUpU1TNTOvcao29Yk2DLfriYgBIqi1oriFZYxX6TryUryhqVjGTi+Ksf\n4DX9WTUxVPEg8uYgUktztLGlRTK9\n-----END CERTIFICATE-----\n",
  "info": {
    "subject": "C=--, ST=WA, L=Seattle, O=MyCompany, OU=MyOrg, CN=localhost.localdomain/emailAddress=root@localhost.localdomain",
    "not_before": "2013-10-09T09:38:57+00:00",
    "issuer": "C=--, ST=WA, L=Seattle, O=MyCompany, OU=MyOrg, CN=localhost.localdomain/emailAddress=root@localhost.localdomain",
    "fingerprint": "16C25D401F35DD52FB4AEC85EB1F1A28CE16F961",
    "key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmE+M/HAURvtG9JPcKndf\nyZ0UhGDHUg8Y+UHxKbOomscUh55EGkxdhdFeSyOTdugZ4eADf3ssCrvv0kopljay\n3yOI9Q3nWEMO4Zk0B5fA8XLuY4+pRPakskyJeoKHkY9tiIUxAaPCrwj2aiNFqnt0\nCd9w2h0eAz1oaJNoXlOxINRFkyB2sfMg8e1XKxQFBrjK5fANqLd++HrWOeV3RxCf\n8pWJMBK4rTz8p0dDMWhaN1n66kP6qbUxwqtTe1YZ4t/Gy87u2g7WcI8XH9orZpqz\ndt5H+mswfKK/CIcGPqj5xx4ad+VvhMM+bijw5DMCttZA0Okv6T12nRuzFe9noJmw\nZQIDAQAB\n-----END PUBLIC KEY-----\n",
    "keylength": 2048,
    "not_after": "2023-10-07T09:38:57+00:00",
    "extension": {
      "basicConstraints": "CA:TRUE",
      "authorityKeyIdentifier": "keyid:9B:30:B6:D6:7C:04:26:73:F8:98:49:0A:34:6E:78:BD:E2:F5:0B:38\nDirName:/C=--/ST=WA/L=Seattle/O=MyCompany/OU=MyOrg/CN=localhost.localdomain/emailAddress=root@localhost.localdomain\nserial:8A:3B:0E:73:A0:DD:23:E9\n",
      "subjectKeyIdentifier": "9B:30:B6:D6:7C:04:26:73:F8:98:49:0A:34:6E:78:BD:E2:F5:0B:38"
    }
  }
}
2015-08-27 09:35:09 +00:00
55dd12efc8 Add a cquery API to query per SHA1 fingerprint of a certificate
Sample output:

curl http://127.0.0.1:8888/cquery/37ffbb160d4c97c42f5126bebc9c18eeffe5ede3
{"seen": ["149.13.33.195", "149.13.33.194"], "hits": 2, "certificate": "37ffbb160d4c97c42f5126bebc9c18eeffe5ede3"}
2015-08-26 19:28:40 +00:00
436afcc6ad Better JSON output (subjects and certificate fp separated) 2015-08-17 09:48:58 +00:00
976aa74d2d Merge branch 'master' of https://github.com/adulau/crl-monitor 2015-08-13 13:02:35 +00:00
28c6ea71c4 Verbose output of the data store 2015-08-13 13:01:53 +00:00
fee6738e78 Update README.md
-s to store
2015-08-04 19:32:37 +02:00
7c960b6b05 Update COLLECTOR.md
Dump from JSON to raw pem files.
2015-06-21 11:34:10 +02:00
85a38ee238 Fixed issue #4 2015-05-13 14:44:21 +02:00
1135725b73 Merge pull request #3 from Rafiot/master
Make the client API Python3 ready
2015-04-30 13:55:37 +02:00
Raphaël Vinot
2580192632 Make the code Python3 ready 2015-04-30 13:50:59 +02:00
b54dc68991 Handle OpenSSL errors 2015-04-24 08:08:27 +02:00
e2c3629964 Typo fixed 2015-04-23 14:00:43 +02:00
0d90f20ed7 Handle unset DN 2015-04-23 13:59:00 +02:00
e91731d82b Index bug fixed 2015-04-22 17:08:28 +02:00
cfe59cc00c Handle broken output format 2015-04-22 17:04:25 +02:00
bd59ac25ab Merge pull request #2 from Rafiot/master
Make sure the readme is in the package
2015-02-24 14:18:53 +01:00
Raphaël Vinot
2665ff69ef Make sure the readme is in the package 2015-02-24 14:15:51 +01:00
dabfbccac0 Merge pull request #1 from Rafiot/master
Add python client API
2015-02-24 13:24:36 +01:00
Raphaël Vinot
4d87f4fcb5 Add python client API 2015-02-24 13:20:56 +01:00
685b0b5ae9 -i option added - Indexing subject field 2015-02-04 20:58:59 +01:00
5bfca0f3d9 Sample script to search the full-text index 2015-02-04 20:58:27 +01:00
e8e27f68b2 Data store format described 2015-02-02 17:10:29 +01:00
9b1a48ea12 Merge branch 'master' of github.com:adulau/crl-monitor 2015-02-02 08:51:45 +01:00
8ea59f8a68 Output compatible with scans.io format (host and certs) 2015-02-02 08:10:44 +01:00
41c032b930 Follow scans.io format 2015-02-02 07:59:35 +01:00
463c0c1d6a Bug fixed when exception is raised (int->str) 2015-02-02 07:56:41 +01:00
7b855b2969 set of IP addresses per fingerprint added 2015-02-02 07:52:49 +01:00
1acfcb54e3 JSON output added (-j option) 2015-02-02 07:38:17 +01:00
33e45d362d -f option added (SHA1 fingerprint only + destination IP address) 2015-02-02 07:17:44 +01:00