diff --git a/plugin_test.go b/plugin_test.go index 5ecfbb3..6cad782 100644 --- a/plugin_test.go +++ b/plugin_test.go @@ -981,8 +981,9 @@ func TestSudoCommand(t *testing.T) { Script: []string{ `sudo su - -c "whoami"`, }, - CommandTimeout: 10 * time.Second, - RequireTty: true, + CommandTimeout: 10 * time.Second, + RequireTty: true, + UseInsecureCipher: true, // Allow insecure ciphers for compatibility }, Writer: &buffer, }