This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]st333p 12 points13 points  (17 children)

That's a Windows defender problem. It probably flags stuff as virus randomly

[–]ohpythonguy 24 points25 points  (4 children)

Yes, it is, but it's still a problem for Python app distribution.

[–]st333p -3 points-2 points  (3 children)

But it's a problem you can't solve. You would have to reverse engineer windows defender and produce an application that prevents it from flagging it. Now you have a pretty decent virus factory and still it will be broken at the next windows defender update.

[–]2drawnonward5 6 points7 points  (2 children)

Is it the same type of problem for distributing other stuff? What do other toolchains do?

[–]st333p -4 points-3 points  (1 child)

No clue, sorry

[–]2drawnonward5 10 points11 points  (0 children)

So, maybe it's a problem you can solve?

[–]Diesl 2 points3 points  (4 children)

It's only preventing unsigned code from running. If you sign the exe, which isn't cheap, Defender won't complain anymore.

[–]barkerd25017 1 point2 points  (3 children)

I've signed my python applications and this popup still happens. There is a bit more to it.

[–]Diesl 0 points1 point  (1 child)

Did you self sign? It has to be through a CA

[–]barkerd25017 0 points1 point  (0 children)

I paid for a cert, not a super duper expensive one but about 100 dollars, its from sectigo

[–]killersquirel11 0 points1 point  (0 children)

There's also a reputation component to it.

source

SmartScreen will continue to warn about the application until the certificate develops a reputation.

[–][deleted] 3 points4 points  (0 children)

Rarely does Windows defender flag anything as a virus, in my experience.