diff --git a/internal/share/rules.go b/internal/share/rules.go index 6025437..38918db 100644 --- a/internal/share/rules.go +++ b/internal/share/rules.go @@ -53,7 +53,7 @@ func (r Rules) Check(key []byte) error { if len(has) == 0 { return nil } - return fmt.Errorf("its value has %s; share.keyRules needs %s. Use a random one, like openssl rand -base64 32 makes", + return fmt.Errorf("its value has %s; share.keyRules needs %s", strings.Join(has, " and "), strings.Join(needs, " and ")) }