Glossary names in code; default proxy CA named multiproxy CA #51
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/multiproxy!51
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/glossary-names"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Brings the code in line with GLOSSARY.md, and renames the default proxy CA.
Glossary names. The
issuerAPI called the proxy CA a root, a word the glossary avoids.NewRoot,RootTemplate,SelfSignedCA.RootBitSize,SelfSignedCA.RootTmpl,DefaultIssuerRootBitSizeandDefaultIssuerRootTmplbecomeNewCA,CATemplate,CABitSize,CATmpl,DefaultIssuerCABitSizeandDefaultIssuerCATmpl, renamed with gopls so every reference moved.root.gobecomesca.go. Tests name their upstream serversupstreamandtlsUpstreaminstead ofbackendandtlsBackend.Default proxy CA. A generated proxy CA was named
root.example.orgofMultiproxy Root Org. Its template also carried a placeholder DNS name, OCSP server and issuer name. It is nowmultiproxy CAofmultiproxy, andDefaultIssuerCATmplis built byCATemplate, so the library and the command share one definition. The leaf template loses its placeholder country (AQ) and its fixed serial, whichIssuealways replaced.A CA read from
-ca-certkeeps its name, so existing installations are unaffected. The reference lists the new defaults, and the changelog marks the renames as breaking.Remaining avoid-word matches are standard library or HTTP terms (
net.Listener,pem.Block,net.Pipe, net/httpHijack), not the glossary's concepts.