Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/shodan/parsers/host_services/ssl.cr
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ module Shodan
property version : Int32?
property extensions : Array(HostDataSSLExtensions)?
property fingerprint : Hash(String, String)?
property serial : Int64?

# property serial : UInt128?
# changed to the below as there are certs with larger serial numbers than an UInt128 supports
@[JSON::Field(converter: String::RawConverter)]
property serial : String?

property subject : HostDataSslSubject
property issuer : HostDataSslIssuer
end
Expand Down