Documentation
¶
Overview ¶
File location: $HOME/.netrc
Index ¶
Constants ¶
View Source
const ( // DefaultWait is the timeout DefaultWait = 10 * time.Second // APIVersion is the cryptcheck API v1 as observed APIVersion = "201909" // MyVersion is the API version MyVersion = "1.6.0" // MyName is the name used for the configuration MyName = "cryptcheck" // DefaultRetry is the number of times we try hard to get an answer DefaultRetry = 5 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is used to store proxyauth & other internal state
func (*Client) GetDetailedReport ¶
GetDetailedReport retrieve the full data
type Grade ¶
type Grade struct {
Rank string
Details struct {
Score float64 `json:"score"`
Protocol int `json:"protocol"`
KeyExchange int `json:"key_exchange"`
CipherStrengths int `json:"cipher_strengths"`
} `json:"details"`
Error []string
Danger []string
Warning []string
Success []string
}
Grade aka score of the site
type Handshake ¶
type Handshake struct {
Key Key
DH []Key `json:"dh"`
Protocols []string
Ciphers []Cipher
HSTS int `json:"hsts"`
}
Handshake contains crypto parameters
type Host ¶
type Host struct {
Host Site `json:"host"`
Handshake Handshake `json:"handshake"`
Grade Grade
Error string
}
Host describe a single host
type Report ¶
type Report struct {
ID struct {
Oid string `json:"$oid"`
} `json:"_id"`
Service string
Host string
Port int
Pending bool
Result Result
CreateAt time.Time `json:"create_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Report describes the details for the crypto
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cryptcheck
command
This is just a very short example.
|
This is just a very short example. |
Click to show internal directories.
Click to hide internal directories.
