Skip to content

Commit 0f9d120

Browse files
committed
(feat) add pubkey algorithm to tls_certificates table
fixes #91
1 parent 33c35a5 commit 0f9d120

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

chrome/chrome.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func (chrome *Chrome) StorePreflight(url *url.URL, db *gorm.DB, resp *http.Respo
109109
SubjectCommonName: cert.Subject.CommonName,
110110
IssuerCommonName: cert.Issuer.CommonName,
111111
SignatureAlgorithm: cert.SignatureAlgorithm.String(),
112+
PubkeyAlgorithm: cert.PublicKeyAlgorithm.String(),
112113
}
113114

114115
for _, name := range cert.DNSNames {

storage/models.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ type TLSCertificate struct {
9999
SubjectCommonName string
100100
IssuerCommonName string
101101
SignatureAlgorithm string
102+
PubkeyAlgorithm string
102103
}
103104

104105
// AddDNSName adds a new DNS Name to a Certificate

0 commit comments

Comments
 (0)