fix linter warnings
This commit is contained in:
parent
b91affdd34
commit
4cb74e7d8b
2 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ func New(cfg *config.Config, opts ...Option) (*Authority, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// FromOptions creates an Authority exclusively using the passed in options
|
// FromOptions creates an Authority exclusively using the passed in options
|
||||||
// and does not intialize the Authority.
|
// and does not initialize the Authority.
|
||||||
func FromOptions(opts ...Option) (*Authority, error) {
|
func FromOptions(opts ...Option) (*Authority, error) {
|
||||||
var a = new(Authority)
|
var a = new(Authority)
|
||||||
|
|
||||||
|
|
|
@ -654,7 +654,7 @@ preferably not all - meaning it never leaves the server on which it was created.
|
||||||
|
|
||||||
### Passwords
|
### Passwords
|
||||||
|
|
||||||
When you intialize your PKI (`step ca init`) the root and intermediate
|
When you initialize your PKI (`step ca init`) the root and intermediate
|
||||||
private keys will be encrypted with the same password. We recommend that you
|
private keys will be encrypted with the same password. We recommend that you
|
||||||
change the password with which the intermediate is encrypted at your earliest
|
change the password with which the intermediate is encrypted at your earliest
|
||||||
convenience.
|
convenience.
|
||||||
|
@ -681,7 +681,7 @@ to divide the root private key password across a handful of trusted parties.
|
||||||
|
|
||||||
### Provisioners
|
### Provisioners
|
||||||
|
|
||||||
When you intialize your PKI (`step ca init`) a default provisioner will be created
|
When you initialize your PKI (`step ca init`) a default provisioner will be created
|
||||||
and it's private key will be encrypted using the same password used to encrypt
|
and it's private key will be encrypted using the same password used to encrypt
|
||||||
the root private key. Before deploying the Step CA you should remove this
|
the root private key. Before deploying the Step CA you should remove this
|
||||||
provisioner and add new ones that are encrypted with new, secure, random passwords.
|
provisioner and add new ones that are encrypted with new, secure, random passwords.
|
||||||
|
|
Loading…
Reference in a new issue