mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-12 20:48:56 +00:00
fix(cert-export): satisfy staticcheck ST1022 on PKCS12CipherModernAES256
Production hardening II Phase 11 verification — golangci-lint v2.11.4 flagged the const PKCS12CipherModernAES256 doc comment with ST1022 (comments on exported identifiers should start with the identifier name). Reformatted to lead with the const name; same content. Reproduced clean: 0 issues across handler/, service/, connector/issuer/local/, api/router/, ratelimit/.
This commit is contained in:
@@ -50,11 +50,11 @@ const (
|
|||||||
AuditActionCertExportFailed = "cert_export_failed"
|
AuditActionCertExportFailed = "cert_export_failed"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cipher identifier emitted in the PKCS#12 export audit detail.
|
// PKCS12CipherModernAES256 is the cipher identifier emitted in the
|
||||||
// Pinned here so a future dependency upgrade that silently changes
|
// PKCS#12 export audit detail. Pinned here so a future dependency
|
||||||
// the underlying go-pkcs12 default is caught by the audit drift
|
// upgrade that silently changes the underlying go-pkcs12 default is
|
||||||
// review (operator notices the value diverging from what's
|
// caught by the audit drift review (operator notices the value
|
||||||
// advertised in docs/security.md).
|
// diverging from what's advertised in docs/crl-ocsp.md).
|
||||||
//
|
//
|
||||||
// pkcs12.Modern (the SSLMate library) produces AES-256-CBC PBE2
|
// pkcs12.Modern (the SSLMate library) produces AES-256-CBC PBE2
|
||||||
// with SHA-256 KDF. Documented in github.com/SSLMate/go-pkcs12 v0.7+.
|
// with SHA-256 KDF. Documented in github.com/SSLMate/go-pkcs12 v0.7+.
|
||||||
|
|||||||
Reference in New Issue
Block a user