Skip to content

Commit

Permalink
removing use of sign-algorithm in reset-pkcs11-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo committed Jan 30, 2020
1 parent ffd71e2 commit 841154a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/reset-pkcs11-keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ func resetPKCS11Keys(cmd *cobra.Command, args []string) error {

key := viper.GetString("user-key")
label := viper.GetString("key-label")
algorithm := viper.GetString("sign-algorithm")
if err := filesExist(p11lib); err != nil {
return err
}
ctx, err := signer.NewContext(&signer.ContextConfig{
Label: label,
SignAlgorithm: algorithm,
Key: key,
}, Log)
if err != nil {
Expand Down

0 comments on commit 841154a

Please sign in to comment.