Skip to content

Commit

Permalink
Change insecure default (#8)
Browse files Browse the repository at this point in the history
The default true for insecure is unexpected and leads to confusion. This will change it to the expected value of false.
  • Loading branch information
tafli authored Jan 15, 2025
1 parent f19b503 commit e030e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thumper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func main() {
rootCmd.PersistentFlags().String("permissions-system", "thumper", "permissions system to query")
rootCmd.PersistentFlags().String("endpoint", "localhost:50051", "authzed gRPC API endpoint")
rootCmd.PersistentFlags().String("token", "", "token used to authenticate to authzed")
rootCmd.PersistentFlags().Bool("insecure", true, "connect over a plaintext connection")
rootCmd.PersistentFlags().Bool("insecure", false, "connect over a plaintext connection")
rootCmd.PersistentFlags().Bool("no-verify-ca", false, "do not attempt to verify the server's certificate chain and host name")
rootCmd.PersistentFlags().String("ca-path", "", "override root certificate path")

Expand Down

0 comments on commit e030e9b

Please sign in to comment.