howsmyssl

command module
v0.0.0-...-85baa76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 37 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

howsmyssl

howsmyssl is the web app behind https://howsmyssl.com.

Orientation

This is a Go project.

The HTML code goes in templates/. Templates are generated with Go's html/template package. Determining the client's security is done in client_info.go.

go build will generate a static binary called howsmyssl. This repo is go get'able, of course.

It has a fork of Go 1.27.4's crypto/tls library at ./tls1274/ in order to expose the client's ClientHello details (offered cipher suites, compression methods, supported versions, curves, and signature algorithms) on the ConnectionState struct.

It's been useful to me to use justrun to recompile the project while modifying the template. Typical use is simply:

justrun -c "go build && ./howsmyssl" -i howsmyssl . templates/

(Justrun has the benefit of controlling the lifecycle of a process, unlike most other file watch utilities.)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
zclient command
zclient exists because modern TLS clients drop support for old TLS versions and ciphersuites but we still want to test our code against it.
zclient exists because modern TLS clients drop support for old TLS versions and ciphersuites but we still want to test our code against it.
Package howhttp provides the custom HTTP/1.x and HTTP/2 server plumbing that howsmyssl uses to serve requests over its forked tls1274 stack while still reusing net/http and golang.org/x/net/http2.
Package howhttp provides the custom HTTP/1.x and HTTP/2 server plumbing that howsmyssl uses to serve requests over its forked tls1274 stack while still reusing net/http and golang.org/x/net/http2.
httptest
Package howhttptest provides utilities for spinning up a howhttp.Server backed by a [tls1274.Listen]er for use in tests, in the style of net/http/httptest.
Package howhttptest provides utilities for spinning up a howhttp.Server backed by a [tls1274.Listen]er for use in tests, in the style of net/http/httptest.
Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446.
Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446.
internal/fips140/tls13
Package tls13 implements the TLS 1.3 Key Schedule as specified in RFC 8446, Section 7.1.
Package tls13 implements the TLS 1.3 Key Schedule as specified in RFC 8446, Section 7.1.
internal/fips140tls
Package fips140tls controls whether crypto/tls requires FIPS-approved settings.
Package fips140tls controls whether crypto/tls requires FIPS-approved settings.
internal/godebug
Package godebug is a minimal stand-in for the standard library's internal/godebug package.
Package godebug is a minimal stand-in for the standard library's internal/godebug package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址