mirror of https://github.com/docker/docs.git
set withHardware flag to false for export commands. We can never export from hardware
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
This commit is contained in:
parent
1d1e2483a1
commit
ca7e4c8d38
|
|
@ -189,7 +189,7 @@ func keysExport(cmd *cobra.Command, args []string) {
|
|||
|
||||
cs := cryptoservice.NewCryptoService(
|
||||
"",
|
||||
getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, true)...,
|
||||
getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, false)...,
|
||||
)
|
||||
|
||||
exportFile, err := os.Create(exportFilename)
|
||||
|
|
@ -234,7 +234,7 @@ func keysExportRoot(cmd *cobra.Command, args []string) {
|
|||
|
||||
cs := cryptoservice.NewCryptoService(
|
||||
"",
|
||||
getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, true)...,
|
||||
getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, false)...,
|
||||
)
|
||||
|
||||
exportFile, err := os.Create(exportFilename)
|
||||
|
|
|
|||
Loading…
Reference in New Issue