You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-09 03:22:43 +03:00
Move ca pki to its own package.
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/smallstep/cli/config"
|
||||
"github.com/smallstep/cli/crypto/pki"
|
||||
"github.com/smallstep/cli/errs"
|
||||
"github.com/smallstep/cli/utils"
|
||||
"github.com/urfave/cli"
|
||||
@@ -43,7 +44,7 @@ func initAction(ctx *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
p, err := newPKI(defaultSecrets, defaultSecrets, defaultConfig)
|
||||
p, err := pki.New(defaultSecrets, defaultSecrets, defaultConfig)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user