1
0
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:
Mariano Cano
2018-10-04 12:24:30 -07:00
parent e7e0434fca
commit 181cee62ff
2 changed files with 12 additions and 9 deletions

View File

@@ -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
}