// TestSignCmdLocalKeyAndKms verifies the SignCmd returns an error
// if both a local key path and a KMS key path are specified
TestSignCmdLocalKeyAndKms verifies the SignCmd returns an error
if both a local key path and a KMS key path are specified
// TestSignCmdLocalKeyAndKms verifies the SignCmd returns an error // if both a local key path and a KMS key path are specified
func TestSignCmdLocalKeyAndKms(t *testing.T) {
	ctx := context.Background()
	keyPath := "testLocalPath"
	kmsVal := "testKmsVal"
	err := SignCmd(ctx, keyPath, "", false, "", map[string]string{}, kmsVal, GetPass, false)
	if (errors.Is(err, &KeyParseError{}) == false) {
		t.Fatal("expected KeyParseError")
	}
}
func TestSignCmdLocalKeyAndKms ( t * testing . T ) { ctx := context . Background ( ) keyPath := " " kmsVal := " " err := SignCmd ( ctx , keyPath , " " , false , " " , map [ string ] string { } , kmsVal , GetPass , false ) if ( errors . Is ( err , & KeyParseError { } ) == false ) { t . Fatal ( " " ) } }
TestSignCmdLocalKeyAndKms verifies the SignCmd returns an error
if both a local key path and a KMS key path are specified
TestSignCmdLocalKeyAndKms verifies the SignCmd returns an error if both a local key path and a KMS key path are specified
// specify both local and KMS keys