Skip to content

Commit 575a9bc

Browse files
committed
Rename GroupQuorum to ShamirThreshold.
Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent 349ad29 commit 575a9bc

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

cmd/sops/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -643,12 +643,12 @@ func main() {
643643
failedCounter := 0
644644
for _, path := range c.Args() {
645645
err := updatekeys.UpdateKeys(updatekeys.Opts{
646-
InputPath: path,
647-
GroupQuorum: c.Int("shamir-secret-sharing-threshold"),
648-
KeyServices: keyservices(c),
649-
Interactive: !c.Bool("yes"),
650-
ConfigPath: configPath,
651-
InputType: c.String("input-type"),
646+
InputPath: path,
647+
ShamirThreshold: c.Int("shamir-secret-sharing-threshold"),
648+
KeyServices: keyservices(c),
649+
Interactive: !c.Bool("yes"),
650+
ConfigPath: configPath,
651+
InputType: c.String("input-type"),
652652
})
653653

654654
if c.NArg() == 1 {

cmd/sops/subcommand/updatekeys/updatekeys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// Opts represents key operation options and config
1616
type Opts struct {
1717
InputPath string
18-
GroupQuorum int
18+
ShamirThreshold int
1919
KeyServices []keyservice.KeyServiceClient
2020
DecryptionOrder []string
2121
Interactive bool

0 commit comments

Comments
 (0)