crypto/tls: broken link in Config.KeyLogWriter docs #63331
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
It looks like the docs for the NSS key_log_format have moved permanently, in early 2022: mdn/content#12731
The link from
crypto/tls.Config.KeyLogWriter
points to a page that doesn't redirect to a new permanent home, and instead shows a "404 Not Found" message.https://firefox-source-docs.mozilla.org/security/nss/index.html mentions
mozilla_projects_nss_key_log_format
in a section with the warning "References below this point are part of the deprecated documentation and will be ported in the future.", but does not include a link to the new home.I'm not sure where the current home for that documentation is. It looks like the link in Go's documentation has been broken for a while, and that the owner of those external docs may not intend to repair it. Go's docs should point to a reputable source for the format specification.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, and also in the development branch.
What operating system and processor architecture are you using (
go env
)?N/A
What did you do?
Read docs for
crypto/tls.Config.KeyLogWriter
, tried to visit the reference at https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format .See also https://pkg.go.dev/crypto/tls@master#Config
And for what it's worth, https://docs.rs/rustls/latest/rustls/trait.KeyLog.html#required-methods which includes an identical link.
What did you expect to see?
Documentation for the resulting key log entry format.
What did you see instead?
A redirect to https://firefox-source-docs.mozilla.org/security/nss/legacy/key_log_format/index.html, resulting in:
The text was updated successfully, but these errors were encountered: