You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/README.md
+85-18Lines changed: 85 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,27 @@
1
-
# Certificate Transparency Monitor
1
+
# Transparency Search
2
2
3
-
A web application for searching and monitoring SSL/TLS certificates from Certificate Transparency logs, similar to crt.sh. Built with Next.js and ClickHouse.
3
+
A web application for searching and monitoring transparency data from Certificate Transparency logs and Sigstore Rekor logs. Built with Next.js and ClickHouse.
4
4
5
5
## Features
6
6
7
+
### Certificate Transparency
7
8
-**Multi-type Search**: Search certificates by domain name, common name, serial number, SHA-256 fingerprint, or issuer
8
9
-**Detailed Certificate View**: View complete certificate information including subject, issuer, validity periods, and extensions
9
10
-**Subject Alternative Names**: Display all SAN entries for certificates
10
11
-**Certificate Transparency Logs**: Track which CT log each certificate was found in
11
-
-**Responsive Design**: Works on desktop and mobile devices with dark mode support
12
+
13
+
### Sigstore Search
14
+
-**Data Hash Search**: Find entries by SHA-256 hash of signed artifacts
15
+
-**Email Search**: Search by email addresses in both PGP and X.509 certificates
16
+
-**X.509 Certificate Search**: Search by common name, Subject Alternative Names (SANs), or serial number
17
+
-**PGP Signature Search**: Search by PGP key fingerprint or signer email
18
+
-**Artifact URL Search**: Find entries by the URL of signed artifacts
19
+
-**Detailed Entry View**: View complete Sigstore entry information including signature details, certificates, and metadata
20
+
21
+
### General
22
+
-**Sidebar Navigation**: Easy switching between Certificate Transparency and Sigstore search
23
+
-**Responsive Design**: Works on desktop and mobile devices
24
+
-**Real-time Search**: Fast search with loading states and error handling
12
25
13
26
## Tech Stack
14
27
@@ -20,7 +33,7 @@ A web application for searching and monitoring SSL/TLS certificates from Certifi
20
33
## Prerequisites
21
34
22
35
- Node.js 18+
23
-
- ClickHouse database with CT log data
36
+
- ClickHouse database with CT log data and Sigstore Rekor data
24
37
- Environment variables for ClickHouse connection
25
38
26
39
## Environment Variables
@@ -51,26 +64,48 @@ npm run dev
51
64
52
65
## Database Schema
53
66
54
-
The application expects a ClickHouse table named `ct_log_entries` with the schema defined in `/schema.sql`. Key fields include:
67
+
The application expects two ClickHouse tables defined in `/schema.sql`:
55
68
69
+
### Certificate Transparency (`ct_log_entries`)
56
70
- Certificate identifiers (SHA-256, serial number)
57
71
- Subject and issuer information
58
72
- Validity periods
59
73
- Subject Alternative Names
60
74
- Certificate extensions and key usage
61
75
- CT log metadata
62
76
77
+
### Sigstore Rekor (`rekor_log_entries`)
78
+
- Entry metadata (UUID, tree ID, log index)
79
+
- Signature format and data hashes
80
+
- X.509 certificate information
81
+
- PGP signature details
82
+
- Artifact URLs and references
83
+
63
84
## API Endpoints
64
85
65
-
### Get Certificate Details
86
+
### Certificate Transparency
66
87
```
67
88
GET /api/certificate/{sha256}
68
89
```
69
-
70
90
Returns complete certificate information for a given SHA-256 fingerprint.
71
91
92
+
### Sigstore Search
93
+
```
94
+
GET /api/sigstore/search?query={query}&type={type}&limit={limit}
95
+
```
96
+
Searches Sigstore entries by various criteria. Supported types:
97
+
-`hash` - Data hash (SHA-256)
98
+
-`email` - Email addresses in PGP or X.509 certificates
99
+
-`x509_cn` - X.509 Common Name
100
+
-`x509_san` - X.509 Subject Alternative Names
101
+
-`x509_serial` - X.509 Serial Number
102
+
-`pgp_fingerprint` - PGP Key Fingerprint
103
+
-`pgp_email` - PGP Signer Email
104
+
-`data_url` - Artifact URL
105
+
72
106
## Search Types
73
107
108
+
### Certificate Transparency Search
74
109
1.**Domain/SAN**: Search by domain name or Subject Alternative Name
75
110
- Example: `example.com`, `*.example.com`
76
111
@@ -86,26 +121,58 @@ Returns complete certificate information for a given SHA-256 fingerprint.
86
121
5.**Issuer**: Search by certificate issuer Common Name
87
122
- Example: `Let's Encrypt Authority X3`
88
123
124
+
### Sigstore Search
125
+
1.**Data Hash**: Search by SHA-256 hash of signed artifacts
0 commit comments