Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"It's a dog-eat-dog world out there, and I'm wearing Milkbone underware." -- Norm, from _Cheers_


devel / comp.lang.python / pyinstaller wrong classified as Windows virus

SubjectAuthor
* pyinstaller wrong classified as Windows virusUlli Horlacher
+* Re: pyinstaller wrong classified as Windows virusDan Purgert
|`* Re: pyinstaller wrong classified as Windows virusUlli Horlacher
| `* Re: pyinstaller wrong classified as Windows virusUlli Horlacher
|  `* Re: pyinstaller wrong classified as Windows virusChris Angelico
|   `* Re: pyinstaller wrong classified as Windows virusUlli Horlacher
|    +- Re: pyinstaller wrong classified as Windows virusChris Angelico
|    +* Re: pyinstaller wrong classified as Windows virusRichard Damon
|    |`- Re: pyinstaller wrong classified as Windows virusUlli Horlacher
|    +- Re: pyinstaller wrong classified as Windows virusChris Angelico
|    +- Re: pyinstaller wrong classified as Windows virusMats Wichmann
|    +- Re: pyinstaller wrong classified as Windows virusChris Angelico
|    +* RE: pyinstaller wrong classified as Windows virusAvi Gross
|    |+* Re: pyinstaller wrong classified as Windows virusUlli Horlacher
|    ||`* Re: pyinstaller wrong classified as Windows virusEdmondo Giovannozzi
|    || `* Re: pyinstaller wrong classified as Windows virusUlli Horlacher
|    ||  `- Re: pyinstaller wrong classified as Windows virusPeter Heitzer
|    |`* Re: pyinstaller wrong classified as Windows virusanthony.flury
|    | `- Re: pyinstaller wrong classified as Windows virusUlli Horlacher
|    +- Re: pyinstaller wrong classified as Windows virusChris Angelico
|    +- Re: pyinstaller wrong classified as Windows virusTony Flury
|    `- Re: pyinstaller wrong classified as Windows virusanthony.flury
+* Re: pyinstaller wrong classified as Windows virusBarry Scott
|`* Re: pyinstaller wrong classified as Windows virusUlli Horlacher
| +- Re: pyinstaller wrong classified as Windows virusBarry
| +- Re: pyinstaller wrong classified as Windows virusMichael Torrie
| `- Re: pyinstaller wrong classified as Windows virusMichael Torrie
`- Re: pyinstaller wrong classified as Windows virusMichael Torrie

Pages:12
pyinstaller wrong classified as Windows virus

<snnkhf$mve$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16192&group=comp.lang.python#16192

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.enyo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 09:20:47 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 28
Message-ID: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
X-Trace: news2.informatik.uni-stuttgart.de 1637832047 23534 129.69.1.129 (25 Nov 2021 09:20:47 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Nov 2021 09:20:47 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Thu, 25 Nov 2021 09:20 UTC

When I compile my programs with pyinstaller, Windows classifies them as
virus and even deletes them!

pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py
187 INFO: PyInstaller: 4.7
187 INFO: Python: 3.10.0
218 INFO: Platform: Windows-10-10.0.19041-SP0
218 INFO: wrote P:\W10\fextasy.spec
(...)
14392 INFO: Copying 0 resources to EXE
14392 INFO: Emedding manifest in EXE
14392 INFO: Updating manifest in P:\W10\dist\fextasy.exe
14533 INFO: Updating resource type 24 name 1 language 0
14579 INFO: Appending PKG archive to EXE
18836 INFO: Building EXE from EXE-00.toc completed successfully.

https://fex.flupp.org/fop/ylds7Y9d/X-20211125101112.png

What can I do?

Rebooting does not help :-}

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<slrnspur9f.51o.dan@djph.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16193&group=comp.lang.python#16193

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dan...@djph.net (Dan Purgert)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 11:01:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <slrnspur9f.51o.dan@djph.net>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
Injection-Date: Thu, 25 Nov 2021 11:01:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="70cdce7298add9bc2afae564936e26fb";
logging-data="4085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+b9sVYKQ5A7y6ndCv09qZZaR23nG9E2z8="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:0JHrp0yfknl/TTS1X8V9AqiQbas=
 by: Dan Purgert - Thu, 25 Nov 2021 11:01 UTC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Ulli Horlacher wrote:
> When I compile my programs with pyinstaller, Windows classifies them as
> virus and even deletes them!
> [...]
> What can I do?

Stop writing viruses ;)

Have you tried compiling from a different machine? Maybe there's
something broken on the one that's flagging them.

Alternatively, maybe run updates?

> Rebooting does not help :-}
If testing from a different machine works ... format and reinstall might
be the fastest fix for the affected machine.

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmGfbS8ACgkQbWVw5Uzn
KGBvQA//YuSJChhmj5fXzkOHD5W+horNsyS3psmFjQzp/opeeF+tqfkeDNXyUwkb
+YxDgq7KDvpaUbaMiYtmzs0fZ6fLaWPHA6pJFS3+DS8Wu/EoPmHyfe6bw0OOFiBI
AB8Zr8Y7e1GntyE/HQ53+outTxDwpTStU+MTyqTjfMDRYl3NyYhnb0rbt0aTQWP0
LzYC6HM5g2EFTrfiAImuoJisu5aofw90QjJEqlRn+MQNcFm8bvAdXpWQ6fp0iNRx
IbXhb+HoL/WNy9sxeWoBRMrNY9wu1lgBDI8IPIu8m+rz13WgIX/l2CMbgxiXW3bN
WbKa4UZ1z7NB2sYhhJ9D0V4pUukFae2A9RaDV6aDC5Vm7ZNQ7eLuEsbjgXABP/qc
0OZODTUN/KYSlMa6E5azdxR5um4jQ85hcsKjtOr7UqwMurrzRL9KxSgsZVlj5FzY
vCxCw1aoqD8WBxunOLnwKd8Fonch0/Ov8a6IA1ZKxx3VbDlY3ZgVMpqYtjzw+wgH
hMD2Int0fJtiC+TBl18P7s47q5RlXbA7mCrjEXuJGdIbZ6K9SxMjWnWycCcVwNHC
LrAKWiA2xOSNcJzpXYN8U2TMsYZCLdLeuNyR5T8QLTvHokQTYuTba2M2EYraQt73
oWQsu47ws/IIAQ/EXOBGMcenhE3wTPHT/36a6udOAQktHzbqKGg=
=nm2S
-----END PGP SIGNATURE-----

--
|_|O|_| Github: https://github.com/dpurgert
|_|_|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
|O|O|O| Former PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281

Re: pyinstaller wrong classified as Windows virus

<sno092$prd$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16194&group=comp.lang.python#16194

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!news.mind.de!bolzen.all.de!npeer.as286.net!npeer-ng0.as286.net!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 12:41:06 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 26
Message-ID: <sno092$prd$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <slrnspur9f.51o.dan@djph.net>
X-Trace: news2.informatik.uni-stuttgart.de 1637844066 26477 129.69.1.129 (25 Nov 2021 12:41:06 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Nov 2021 12:41:06 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Thu, 25 Nov 2021 12:41 UTC

Dan Purgert <dan@djph.net> wrote:

> > When I compile my programs with pyinstaller, Windows classifies them as
> > virus and even deletes them!
> > [...]
>
> Have you tried compiling from a different machine? Maybe there's
> something broken on the one that's flagging them.

I have only this Windows installation.

But meanwhile I can compile my program and Windows does not complain any
more about Viruses, though I have not changed anything in my source code!

> Alternatively, maybe run updates?

I have done this before without any success (in respect to the wrong virus
report).

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16195&group=comp.lang.python#16195

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.enyo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 13:41:49 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 24
Message-ID: <sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
X-Trace: news2.informatik.uni-stuttgart.de 1637847709 27691 129.69.1.129 (25 Nov 2021 13:41:49 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Nov 2021 13:41:49 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Thu, 25 Nov 2021 13:41 UTC

Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
> Dan Purgert <dan@djph.net> wrote:
>
> > > When I compile my programs with pyinstaller, Windows classifies them as
> > > virus and even deletes them!
> > > [...]
> >
> > Have you tried compiling from a different machine? Maybe there's
> > something broken on the one that's flagging them.
>
> I have only this Windows installation.
>
> But meanwhile I can compile my program and Windows does not complain any
> more about Viruses, though I have not changed anything in my source code!

And now the bad virus reports are back. With the SAME sourcecode!
It is totally erratic.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<mailman.6.1637851110.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16197&group=comp.lang.python#16197

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 14:38:27 +0000
Lines: 53
Message-ID: <mailman.6.1637851110.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de umCzwM42hG3VlrI7eEGo9AR4D0Xkm22Ar+Y9kIWLoFng==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.024
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python:': 0.05;
'subject:Windows': 0.07; 'cc:addr:python-list': 0.09;
'from:addr:barry': 0.09; 'received:217.70': 0.09;
'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09;
'url:de': 0.09; 'cc:no real name:2**0': 0.14; 'url:mailman': 0.15;
'barry': 0.16; 'exe': 0.16; 'from:addr:barrys-emacs.org': 0.16;
'from:name:barry scott': 0.16; 'message-id:@barrys-emacs.org':
0.16; 'platform:': 0.16; 'skip:h 40': 0.16; 'url-ip:129/8': 0.16;
'x-mailer:apple mail (2.3654.120.0.1.13)': 0.16; 'wrote:': 0.16;
'cc:addr:python.org': 0.20; 'language': 0.21; 'past': 0.25; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'url:listinfo': 0.25; 'cc:2**0': 0.25; 'url-ip:188.166/16': 0.25;
'do?': 0.26; 'skip:+ 20': 0.26; 'done': 0.28; 'url-ip:188/8':
0.31; 'resolve': 0.32; 'server': 0.33; 'windows': 0.34; 'header
:In-Reply-To:1': 0.34; 'fix': 0.36; 'wrote': 0.39; 'provide':
0.60; 'to:': 0.62; 'malware': 0.64; 'updating': 0.64;
'url:security': 0.64; 'url:png': 0.66; 'received:217': 0.67;
'tel:': 0.68; 'skip:w 20': 0.69; 'detection': 0.76; 'und': 0.76;
'url:aspx': 0.80; 'need.': 0.84; 'virus': 0.84; 'subject:virus':
0.84; 'them!': 0.84; 'url-ip:176/8': 0.84; 'positive': 0.86;
'e-mail:': 0.88; 'url:submission': 0.91
In-Reply-To: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
X-Content-Filtered-By: Mailman/MimeDel 2.1.37
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
 by: Barry Scott - Thu, 25 Nov 2021 14:38 UTC

> On 25 Nov 2021, at 09:20, Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
>
> When I compile my programs with pyinstaller, Windows classifies them as
> virus and even deletes them!

Microsoft will fix the malware detection if you provide the info they need.

Submit false positive info to: https://www.microsoft.com/security/portal/submission/submit.aspx <https://www.microsoft.com/security/portal/submission/submit.aspx>

I have done this for a false positive in the past and they do resolve the false positive.

Barry

>
> pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py
> 187 INFO: PyInstaller: 4.7
> 187 INFO: Python: 3.10.0
> 218 INFO: Platform: Windows-10-10.0.19041-SP0
> 218 INFO: wrote P:\W10\fextasy.spec
> (...)
> 14392 INFO: Copying 0 resources to EXE
> 14392 INFO: Emedding manifest in EXE
> 14392 INFO: Updating manifest in P:\W10\dist\fextasy.exe
> 14533 INFO: Updating resource type 24 name 1 language 0
> 14579 INFO: Appending PKG archive to EXE
> 18836 INFO: Building EXE from EXE-00.toc completed successfully.
>
> https://fex.flupp.org/fop/ylds7Y9d/X-20211125101112.png
>
> What can I do?
>
> Rebooting does not help :-}
>
> --
> Ullrich Horlacher Server und Virtualisierung
> Rechenzentrum TIK
> Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
> Allmandring 30a Tel: ++49-711-68565868
> 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Re: pyinstaller wrong classified as Windows virus

<mailman.7.1637853081.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16198&group=comp.lang.python#16198

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: torr...@gmail.com (Michael Torrie)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 08:11:14 -0700
Lines: 29
Message-ID: <mailman.7.1637853081.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<bef653be-a764-a297-077a-55921baafd59@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de F6+EJnHiF3W3mlE3mhdcXQzlF1SyV8WU04l5SrN0ESow==
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=Xp3ev6kT;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.199
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.64; '*S*': 0.04; 'python:': 0.05;
'subject:Windows': 0.07; 'exe': 0.16; 'platform:': 0.16;
'pyinstaller': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'message-
id:@gmail.com': 0.18; 'to:addr:python-list': 0.20; 'language':
0.21; 'languages': 0.22; 'do?': 0.26; 'header:User-Agent:1': 0.30;
'am,': 0.31; 'received:209.85.214': 0.32; 'windows': 0.34; 'header
:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; "it's": 0.37; 'received:209.85':
0.37; 'received:192.168': 0.37; 'received:209': 0.39; 'wrote':
0.39; 'updating': 0.64; 'your': 0.64; 'url:png': 0.66; 'skip:w
20': 0.69; 'too.': 0.70; 'detection': 0.76; 'major': 0.78;
'virus': 0.84; 'subject:virus': 0.84; 'them!': 0.84; 'trips':
0.84; 'url-ip:176/8': 0.84; 'positive': 0.86
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-language:content-transfer-encoding;
bh=D1gUIzAkpQ31uv1IwN8JVyjuA3Ihnd+KLlqHJDnjenI=;
b=Xp3ev6kTKidiUJSPBwtSO8SX6ndoNECUvlLRye4OnqqEvOds/L+tQ6t4vFBmIlguxM
sXmsCOvpCWEv8ySTAP5NKbV23pzuMB8Z15RZymIrYI5PheHil5e3QHz3Jx0BeD3aJexU
AEsKWQTBQbb7yZlqEH5tNuOUs95WOLkpfoQo1z/gO5Bcybuce3bT1aRHgsC3IpKzO3H6
W8BM56Kw4vUDooTb3VV/usP0NEidc0XliwSHnW0SEIb8nI/fHVnD9EVtKVEMtwPNvqGY
/6zRoXXAQjZqM1LlXkPbJNiG0bcYwfEb7mhAaP4lzcXCIi03Xzyhp1Ts9J0qIBeq8Y4n
CjYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=D1gUIzAkpQ31uv1IwN8JVyjuA3Ihnd+KLlqHJDnjenI=;
b=yOlBeWomasPx1UnJROOh6GscVDLgMSpbv5C1SIWFcMbPYhUm2IFB8Y1hRnaCS7gzcS
Y6SutkMy7LDGskhqdilCImI0mzHh1UIVOwBUqJIa+kbJihs4Z5E3n+UgiyCk4IWCH8go
G1BuH19G2oKUYzkEpSt2qgV0X3qA84KtTSb4fYGsG6hfpjvb5Rs5h34rBvKOIuH19O6+
N2VwX7JTQAu1mXv6X33y/6ozW00Y5ZIoOhkKGBIWGYIyhoPK3flr/BivAeD6KxzMNMN1
dcNweXIxun9Y78MbUsXHNcgU0GiSDVHOS0VPmNrgDZ5cie8/EoypwccvDSVeOQhnvTfP
hxQA==
X-Gm-Message-State: AOAM530D1Rd4iXdYwPlznvlVPRDgSvJHNgUMzvH2p8jb+72VAMDURC5Z
a9Qi61QtpoYRx29g2LGrzn5DVrfdHes=
X-Google-Smtp-Source: ABdhPJwBZv2Uslphx5A6noYzuHXTWzHgOo0N8mAflrr5VjCTsq+Yzv33Hkwnutxw1co0ze2S/Rv/zw==
X-Received: by 2002:a17:902:aa43:b0:142:6919:73da with SMTP id
c3-20020a170902aa4300b00142691973damr30317949plr.39.1637853077123;
Thu, 25 Nov 2021 07:11:17 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
Content-Language: en-US
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <bef653be-a764-a297-077a-55921baafd59@gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
 by: Michael Torrie - Thu, 25 Nov 2021 15:11 UTC

On 11/25/21 2:20 AM, Ulli Horlacher wrote:
> When I compile my programs with pyinstaller, Windows classifies them as
> virus and even deletes them!
>
> pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py
> 187 INFO: PyInstaller: 4.7
> 187 INFO: Python: 3.10.0
> 218 INFO: Platform: Windows-10-10.0.19041-SP0
> 218 INFO: wrote P:\W10\fextasy.spec
> (...)
> 14392 INFO: Copying 0 resources to EXE
> 14392 INFO: Emedding manifest in EXE
> 14392 INFO: Updating manifest in P:\W10\dist\fextasy.exe
> 14533 INFO: Updating resource type 24 name 1 language 0
> 14579 INFO: Appending PKG archive to EXE
> 18836 INFO: Building EXE from EXE-00.toc completed successfully.
>
> https://fex.flupp.org/fop/ylds7Y9d/X-20211125101112.png
>
> What can I do?

False positive virus detection is pretty common with pyinstaller from
what I can see on the Googles. It's actually very common problem with
less-popular compilers and languages too. Not sure what it is that trips
them all up.

Submit your exe to virustotal.com and then the only real solution is to
submit it to each major antivirus vendor as a false positive and hope
things get changed.

Re: pyinstaller wrong classified as Windows virus

<snocdh$t49$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16199&group=comp.lang.python#16199

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.enyo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 16:08:17 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 25
Message-ID: <snocdh$t49$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org> <mailman.6.1637851110.9869.python-list@python.org>
X-Trace: news2.informatik.uni-stuttgart.de 1637856497 29833 129.69.1.129 (25 Nov 2021 16:08:17 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Nov 2021 16:08:17 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Thu, 25 Nov 2021 16:08 UTC

Barry Scott <barry@barrys-emacs.org> wrote:
>
>
> > On 25 Nov 2021, at 09:20, Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
> >
> > When I compile my programs with pyinstaller, Windows classifies them as
> > virus and even deletes them!
>
> Microsoft will fix the malware detection if you provide the info they need.
>
> Submit false positive info to: https://www.microsoft.com/security/portal/submission/submit.aspx <https://www.microsoft.com/security/portal/submission/submit.aspx>

I cannot submit my executables, because the Windows Virus scannners
deletes them as soon as I compile my program!

And I need a Microsoft login to submit a file!
I do not have such a login.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<mailman.8.1637859246.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16200&group=comp.lang.python#16200

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Fri, 26 Nov 2021 03:53:54 +1100
Lines: 30
Message-ID: <mailman.8.1637859246.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de XzHR1V1n3qeTKIHxSteBcwDVSfQFjcoDHBWodKHMIVlw==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=CMCFuemk;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.020
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; '26,': 0.07;
'subject:Windows': 0.07; 'dan': 0.09; '.py': 0.16; 'chrisa': 0.16;
'ecosystem,': 0.16; 'executables': 0.16; 'flagging': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'hassle.': 0.16; 'meanwhile': 0.16; 'ridiculous': 0.16; 'wrote:':
0.16; 'python': 0.16; 'code.': 0.17; 'to:addr:python-list': 0.20;
'fri,': 0.22; 'maybe': 0.22; 'code': 0.23; 'anything': 0.25;
'tried': 0.26; 'program': 0.31; 'message-id:@mail.gmail.com':
0.32; 'but': 0.32; 'distribute': 0.33; 'windows': 0.34; 'same':
0.34; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'source': 0.36; "it's": 0.37;
'received:209.85': 0.37; 'though': 0.37; 'way': 0.38;
'received:209': 0.39; 'added': 0.39; 'files.': 0.40; 'reports':
0.40; 'something': 0.40; "there's": 0.61; 'full': 0.64; 'your':
0.64; 'bad': 0.67; '2021': 0.71; 'virus': 0.84; 'subject:virus':
0.84; 'them!': 0.84; 'viruses,': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=MPUkipYCMbOb1Um3Cb1EFuyjOkC7EJBA7c3swIhpgWA=;
b=CMCFuemkbgRaMETWHeT4WLt05Bsjg+hRCd62hsG3UlUOlJS+n9eVzPQa+Cnu/KDIJ/
rZCSkgILhNm9u2fEevc+x53MqLo+Pb+NRpbl6B5fIxgbzyuFJEBv33KUxOv0UshreN9r
4dTs0pt1Yr3qIyRXZFBzvcGgop4ub7CRuYwpANaCrsKSNF26y65IecJgmIa3Fy4oot1d
cHaNeiWXI1mecLySfMlEYjECB+kcH7MKjhGI4+6uekF5GVScLYgtG314WgZ9W36fzllb
MRoWRP5oJXD4iX4jqmoEU90VCBE+MxEv0TheV3/RdZKgzEXhdcolna5TYJJj1pIoApwZ
aAPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=MPUkipYCMbOb1Um3Cb1EFuyjOkC7EJBA7c3swIhpgWA=;
b=uNAQCPhTFSgbVqg/x7pjf/S96rwHiHopnUbO/R671W+CBqrXZoZJDbOrq36jUvT0T3
lzhRIxH/LBrCLGDhleB/EaBZgOYfXPG2GZYl49lKI2k/F5ifXBFWPYu9Abw/IG4PSOGQ
AJojqBznURFCrn5HiX9ZBMDSDGP7O27gw3C57GOPecIMIb/Rr+u46jFaWLmQeYMyiII0
WGSNgYRiIc/zzK6NykgZ6+BK/ZdKkEDdSM0YHMVLzSkrNGG6JmbQ8rXvYamBlwiDj2hZ
dA5H1bDOrZGXXjdCDq6Evlem/abmdq4J33QTV8XgNaKS2AjoZ8RJxqiv2A1ei/G++s7W
exyg==
X-Gm-Message-State: AOAM530bUhWSHMOdQKDnkKryTXMJmSmTp3bfYJIje/7uc8bkgqILw23w
4FELmmdHi27CH7SQbkrPr2ihYqIeqfqK55Zt/LV55nUy
X-Google-Smtp-Source: ABdhPJyGyGK7esfzFYHuSHFoZFXIc5gMdpi08KG5N1ZYIu4ZAbRgZkklE16+l2stsyFnlnYph9AGqd1HNq3xDOb2LFY=
X-Received: by 2002:adf:cf05:: with SMTP id o5mr8074723wrj.325.1637859244890;
Thu, 25 Nov 2021 08:54:04 -0800 (PST)
In-Reply-To: <sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
 by: Chris Angelico - Thu, 25 Nov 2021 16:53 UTC

On Fri, Nov 26, 2021 at 3:49 AM Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
>
> Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
> > Dan Purgert <dan@djph.net> wrote:
> >
> > > > When I compile my programs with pyinstaller, Windows classifies them as
> > > > virus and even deletes them!
> > > > [...]
> > >
> > > Have you tried compiling from a different machine? Maybe there's
> > > something broken on the one that's flagging them.
> >
> > I have only this Windows installation.
> >
> > But meanwhile I can compile my program and Windows does not complain any
> > more about Viruses, though I have not changed anything in my source code!
>
> And now the bad virus reports are back. With the SAME sourcecode!
> It is totally erratic.
>

Your Python source code is only a very small part of the code.
Unfortunately, if you're not going to go to the effort of getting your
executables signed and added to the full ecosystem, this sort of
hassle is going to be eternal. It's yet another way that turning
Python scripts into executables is a ridiculous amount of hassle. Yet
another reason to just distribute .py files.

ChrisA

Re: pyinstaller wrong classified as Windows virus

<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16201&group=comp.lang.python#16201

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 17:10:02 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 21
Message-ID: <snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de> <sno3qt$r1b$1@news2.informatik.uni-stuttgart.de> <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com> <mailman.8.1637859246.9869.python-list@python.org>
X-Trace: news2.informatik.uni-stuttgart.de 1637860202 30879 129.69.1.129 (25 Nov 2021 17:10:02 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Nov 2021 17:10:02 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Thu, 25 Nov 2021 17:10 UTC

Chris Angelico <rosuav@gmail.com> wrote:

> Unfortunately, if you're not going to go to the effort of getting your
> executables signed

I cannot sign my executables (how can I do it anyway?), because Windows
deletes my executable as soon as I have compiled them! They exist only
for a few seconds and then they are gone.

> another reason to just distribute .py files.

I cannot do that because my users do not have Python installed and they
are not allowed to do it.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<mailman.9.1637860927.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16202&group=comp.lang.python#16202

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Fri, 26 Nov 2021 04:21:54 +1100
Lines: 35
Message-ID: <mailman.9.1637860927.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de vquJh3OpLKCybKUmOKc56QrCYsCLq5rP2cFaC6x0izsg==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=Q6t1yinZ;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '26,': 0.07;
'subject:Windows': 0.07; 'angelico': 0.09; '.py': 0.16; 'chrisa':
0.16; 'compiled': 0.16; 'executable': 0.16; 'executables': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'interpreter': 0.16; 'permitted': 0.16; 'permitted.': 0.16;
'python.org,': 0.16; 'received:209.85.221.47': 0.16; 'received
:mail-wr1-f47.google.com': 0.16; 'unsigned': 0.16; 'wrote:': 0.16;
'python': 0.16; 'probably': 0.17; 'figure': 0.19; 'to:addr:python-
list': 0.20; 'fri,': 0.22; 'install': 0.23; 'code': 0.23;
'installed': 0.23; 'run': 0.23; 'cannot': 0.25; 'binary': 0.26;
'chris': 0.28; 'code,': 0.31; 'message-id:@mail.gmail.com': 0.32;
'but': 0.32; "i'm": 0.33; 'distribute': 0.33; 'windows': 0.34;
'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'request': 0.35; 'really': 0.37;
"it's": 0.37; 'received:209.85': 0.37; 'received:209': 0.39;
'added': 0.39; 'exact': 0.40; 'files.': 0.40; 'seconds': 0.40;
"there's": 0.61; 'your': 0.64; 'store,': 0.69; '2021': 0.71;
'known': 0.84; 'variety': 0.84; 'easier,': 0.84; 'legitimate':
0.84; 'subject:virus': 0.84; 'them!': 0.84; 'trusted': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=E+PP6cVSl9uH+6M8x7FO6ZUxpuRgdPwq6L8vCToMzV4=;
b=Q6t1yinZ26re5e3YJQtibArgn9qSoKirNC6icUmGeifVpilIqSwymrg1a/9ccYJ21t
+0l5xZN/6SzLXUjbGBxS0TySn1kG0BzE1SdjTVqL4m+1LkQ5T5lXFs/mgnVRQ/Wf6cuL
eu0t/RUU98l6zaL1lV9sMbUlWb0CGS6zG/ja/JnMsfIc6inG05c+uRd3uZBLHdZy+XEv
nRs9pN3LqS3k7LRn+f+ShVBv+Z4MuWCgnU5ll+eXPCz9QZcCeAlOMnmtPHom6CisoNq3
M/+HPkWSBSIMk7ORQ3yZRn++rXeZFPXjnOx0nsAYJfPGxzzoUTH7MeEOsKSYhIxSivuV
w4eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=E+PP6cVSl9uH+6M8x7FO6ZUxpuRgdPwq6L8vCToMzV4=;
b=PX+RhtMVQRJv9wpMn32NgtGXWZAVSvubI2MeLzWGvdPHNLsu6keShxP0cImOGvJbov
xAr/6zBWR2aWRs8dpkMB31+h2I/J3Ib53l0VohWpUi0nFQs3nar4ywLrZvZF4ZxEQPqn
4JC1nIIcfwmRUs4zogMl9hDHUdZmsKyBvW8Hse6f3IhTeGoaA0iQyN+dR17RL2KzL+XD
5CLAT6Mm5gkpDXW3Ac4eebU/HFBsGB2Cy+8aYD439k/g+gtr9eji2NtvtjvkM1vtI1FD
0akE+uozdGyjiUyl8LyndtsJTA8q0X5jm79vBupa29E8A0TQJU9COtpRYOo1xUl+osOu
0uOw==
X-Gm-Message-State: AOAM532yzvB8kxAGEe+fx3d0znyPYUtw9+GeL+32VLCWiblO/E9XfXuJ
ukXv/w3hCVodlbF6Veb1CEoj5nSv/g5p0zlRzZ5eR3wy
X-Google-Smtp-Source: ABdhPJyj1W6OmTGnVgUEdbJMNFedvhyq/CXxuPedG53iGElaCqcpK6IrAYZUp/IIIKBQQbZe8Q2TC00YQxSK4Gw6PLY=
X-Received: by 2002:a5d:64ea:: with SMTP id g10mr8726840wri.242.1637860925653;
Thu, 25 Nov 2021 09:22:05 -0800 (PST)
In-Reply-To: <snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
 by: Chris Angelico - Thu, 25 Nov 2021 17:21 UTC

On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
>
> Chris Angelico <rosuav@gmail.com> wrote:
>
> > Unfortunately, if you're not going to go to the effort of getting your
> > executables signed
>
> I cannot sign my executables (how can I do it anyway?), because Windows
> deletes my executable as soon as I have compiled them! They exist only
> for a few seconds and then they are gone.
>
>
> > another reason to just distribute .py files.
>
> I cannot do that because my users do not have Python installed and they
> are not allowed to do it.
>

Are they really allowed to install your unsigned executables but are
not allowed to install Python from a known and trusted source?

If there's some bizarre loophole that allows them to run completely
untrusted binary code, but not to run legitimate code that can be
fetched from a variety of trusted places (including python.org, the
Windows store, etc), then I'm afraid you're on your own, and will
probably need to play around with the exact loophole to figure out
what is going to be permitted.

Alternatively, just go find the person who decides what gets
installed, and request a Python interpreter to be added to the
permitted list. That's probably easier, and it's certainly going to be
better long-term.

ChrisA

Re: pyinstaller wrong classified as Windows virus

<mailman.10.1637862164.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16204&group=comp.lang.python#16204

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 17:42:32 +0000
Lines: 44
Message-ID: <mailman.10.1637862164.9869.python-list@python.org>
References: <snocdh$t49$1@news2.informatik.uni-stuttgart.de>
<A49FB449-C45E-4A45-A017-ECF0A5387B6C@barrys-emacs.org>
Mime-Version: 1.0 (1.0)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de H587g/nUFWkmhzHtEJuthgfatq9kLB1HYro/H11FiM5A==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: Python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.075
X-Spam-Evidence: '*H*': 0.87; '*S*': 0.02; 'subject:Windows': 0.07;
'cc:addr:python-list': 0.09; 'from:addr:barry': 0.09;
'received:217.70': 0.09; 'received:217.70.178': 0.09;
'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09;
'url:de': 0.09; 'cc:no real name:2**0': 0.14; 'url:mailman': 0.15;
'>>>>': 0.16; 'assuming': 0.16; 'executables,': 0.16; 'from:addr
:barrys-emacs.org': 0.16; 'message-id:@barrys-emacs.org': 0.16;
'program!': 0.16; 'url-ip:129/8': 0.16; 'wrote:': 0.16; 'instead':
0.17; 'admin': 0.19; 'cc:addr:python.org': 0.20; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'url:listinfo': 0.25; 'cannot': 0.25; 'cc:2**0': 0.25; 'url-
ip:188.166/16': 0.25; '>>>': 0.28; 'this?': 0.29; 'url-ip:188/8':
0.31; 'server': 0.33; 'windows': 0.34; 'able': 0.34; 'header:In-
Reply-To:1': 0.34; 'fix': 0.36; 'want': 0.40; 'should': 0.40;
'tell': 0.60; 'provide': 0.60; 'to:': 0.62; 'malware': 0.64;
'url:security': 0.64; 'received:217': 0.67; 'account.': 0.68;
'tel:': 0.68; 'free': 0.72; 'detection': 0.76; 'und': 0.76;
'url:aspx': 0.80; 'need.': 0.84; 'virus': 0.84; '16:51,': 0.84;
'control.': 0.84; 'scott': 0.84; 'subject:virus': 0.84; 'them!':
0.84; 'positive': 0.86; 'e-mail:': 0.88; 'badly': 0.91;
'url:submission': 0.91
X-Apple-Notify-Thread: NO
X-Universally-Unique-Identifier: 1AF16BCE-E95C-445E-A4D5-D7645DFB4424
In-Reply-To: <snocdh$t49$1@news2.informatik.uni-stuttgart.de>
X-Apple-Message-Smime-Encrypt: NO
X-Mailer: iPad Mail (19B74)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <A49FB449-C45E-4A45-A017-ECF0A5387B6C@barrys-emacs.org>
X-Mailman-Original-References: <snocdh$t49$1@news2.informatik.uni-stuttgart.de>
 by: Barry - Thu, 25 Nov 2021 17:42 UTC

> On 25 Nov 2021, at 16:51, Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
>
> Barry Scott <barry@barrys-emacs.org> wrote:
>>
>>
>>>> On 25 Nov 2021, at 09:20, Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
>>>
>>> When I compile my programs with pyinstaller, Windows classifies them as
>>> virus and even deletes them!
>>
>> Microsoft will fix the malware detection if you provide the info they need.
>>
>> Submit false positive info to: https://www.microsoft.com/security/portal/submission/submit.aspx <https://www.microsoft.com/security/portal/submission/submit.aspx>
>
> I cannot submit my executables, because the Windows Virus scannners
> deletes them as soon as I compile my program!

You should be able to tell the software to quarantine instead of delete.
Or even disable while you build one instance.
I am assuming you have admin control.

> And I need a Microsoft login to submit a file!
> I do not have such a login.
It’s free to get an account. How badly do you want to fix this?

>
>
> --
> Ullrich Horlacher Server und Virtualisierung
> Rechenzentrum TIK
> Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
> Allmandring 30a Tel: ++49-711-68565868
> 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Re: pyinstaller wrong classified as Windows virus

<mailman.11.1637862528.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16205&group=comp.lang.python#16205

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Rich...@Damon-Family.org (Richard Damon)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 12:48:47 -0500
Lines: 53
Message-ID: <mailman.11.1637862528.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de pnti5T7AsgnhIibNL3cKjw0fDw6bwyLz3xmKli5OAyjw==
Return-Path: <Richard@Damon-Family.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'run.': 0.05; '26,': 0.07;
'subject:Windows': 0.07; 'angelico': 0.09; 'damon': 0.09; '.py':
0.16; 'chrisa': 0.16; 'compiled': 0.16; 'exe': 0.16; 'executable':
0.16; 'executables': 0.16; 'from:addr:damon-family.org': 0.16;
'from:addr:richard': 0.16; 'from:name:richard damon': 0.16;
'hand,': 0.16; 'interpreter': 0.16; 'message-id:@Damon-
Family.org': 0.16; 'ok.': 0.16; 'permitted': 0.16; 'permitted.':
0.16; 'python.org,': 0.16; 'run,': 0.16; 'somewhat': 0.16;
'unsigned': 0.16; 'wrote:': 0.16; 'python': 0.16; 'probably':
0.17; "can't": 0.17; 'admin': 0.19; 'figure': 0.19; 'pm,': 0.19;
'to:addr:python-list': 0.20; 'fri,': 0.22; 'install': 0.23;
'code': 0.23; 'installed': 0.23; 'run': 0.23; '(and': 0.25;
'cannot': 0.25; 'binary': 0.26; "isn't": 0.27; '>>>': 0.28;
'chris': 0.28; 'computer': 0.29; 'header:User-Agent:1': 0.30;
'code,': 0.31; 'program': 0.31; 'think': 0.32; "doesn't": 0.32;
'files,': 0.32; 'guess': 0.32; 'but': 0.32; "i'm": 0.33;
'distribute': 0.33; 'windows': 0.34; 'header:In-Reply-To:1': 0.34;
'request': 0.35; 'source': 0.36; 'really': 0.37; "it's": 0.37;
'received:192.168': 0.37; 'file': 0.38; 'put': 0.38; 'added':
0.39; 'still': 0.40; 'done.': 0.40; 'exact': 0.40; 'files.': 0.40;
'seconds': 0.40; "there's": 0.61; 'down': 0.64; 'richard': 0.64;
'source.': 0.64; 'your': 0.64; 'outside': 0.67; 'store,': 0.69;
'rules': 0.70; '2021': 0.71; 'knowing': 0.71; 'known': 0.84;
'variety': 0.84; 'easier,': 0.84; 'legitimate': 0.84;
'received:74.208.4.197': 0.84; 'rights,': 0.84; 'subject:virus':
0.84; 'them!': 0.84; 'locked': 0.93; 'trusted': 0.93
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
X-Provags-ID: V03:K1:TsSRe+rw6XunzV70rqL3FBpxP8YO05Pv83xmMBAmee7zXh9eFJy
/r1k9fqllsTFpBYz+OiKK3xRG2B0B0Ao7VZ7RbBZMKmClZB8qkQ7fcq6SCNRGDJfprHBNtz
EXDZtFBhRz+W/GOwWnpZtwytUmKCu7S60mEK9l6qYs1qvW2Ebw4DI7Do5Kd8TCfE26WKtPo
vuNDRmimuNVapBz79C/0Q==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:6g0RpvXB9us=:rOj4YgAF5vH7I3s5TGA/iJ
6FSg/emVshBRmk/Lq3qB1Z7CGc1k1PfW0tzoVGuXj3yIU0rCCvRhBXpjbKTxFMvb1LjuWreXr
P5V/ooDNpqUApWB4TRRDzA/Xp7PKZQ+JN97zCqU177zlIhRqilu3d1N7ElT1xBOJxiDE2ybx+
Go/aJcv4/GPd6KVKru+b55I/yb2W8HtlhHbtpith7avrT2UUIgSnnkQ8wLLOVYz+Xin3UVj/r
w1j1ELbhuzUk6R9Fmd9vryUTTS/XJMTEtt0nwLaXs0Bwb+3jotIwxzqiRfpYf6t5yJrtV2tN9
WXQsqvrqglvpoPZ49rcSdWbbpcs0vId9i24TL5wkNBJBp9BSa3X6xVyQG13U4sHRzvketDgcJ
u2bixs7Bq8zPX99T5MC8YvWQOqI0UHZaVKgNBK27ZxuoEvn5LM+N0darUBxgmjN9EgemuV/ZT
T4sEzl6i9x7fuC+Bl/xgAqQdYyX/4s/JYVyZ77GGn7EHHBxxnb8RE1/klw/FfcYuYZRJZYZLN
FypWP86mocsqWL4lPwm1f++8RJmFXXXKOEmtXDTNRzBb6rxCfltln7EP3bQIEQvMqAkP2dEIv
mZ1V5QSEnnt//yYJUg5Ja2SPPtRD+krKkIRLJ6F+uDqwFQDN8lnLiht0SXfhlHZOHk7zLkj/u
32Pce/P2+5OWDzbNfMZqd55DWPy3//gjUULG07JHh811RDwiyP5v14XgudRY9rBVBGTOWg36B
MBwcbQ5a6XR36WC0
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
 by: Richard Damon - Thu, 25 Nov 2021 17:48 UTC

On 11/25/21 12:21 PM, Chris Angelico wrote:
> On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher
> <framstag@rus.uni-stuttgart.de> wrote:
>> Chris Angelico <rosuav@gmail.com> wrote:
>>
>>> Unfortunately, if you're not going to go to the effort of getting your
>>> executables signed
>> I cannot sign my executables (how can I do it anyway?), because Windows
>> deletes my executable as soon as I have compiled them! They exist only
>> for a few seconds and then they are gone.
>>
>>
>>> another reason to just distribute .py files.
>> I cannot do that because my users do not have Python installed and they
>> are not allowed to do it.
>>
> Are they really allowed to install your unsigned executables but are
> not allowed to install Python from a known and trusted source?
>
> If there's some bizarre loophole that allows them to run completely
> untrusted binary code, but not to run legitimate code that can be
> fetched from a variety of trusted places (including python.org, the
> Windows store, etc), then I'm afraid you're on your own, and will
> probably need to play around with the exact loophole to figure out
> what is going to be permitted.
>
> Alternatively, just go find the person who decides what gets
> installed, and request a Python interpreter to be added to the
> permitted list. That's probably easier, and it's certainly going to be
> better long-term.
>
> ChrisA

My first guess is it isn't so much what is 'allowed' but what can be
easily done.

On a somewhat locked down computer, the user does not have admin rights,
so needs to get 'IT' to run any installers that need admin permissions
to run.

And EXE that just needs to be copied to the computer and rhen just RUN,
doesn't need IT to 'install' it (they just can't put it into Program
Files, but that isn't really that important for programs that don't need
an installer.

Likely, just copying an EXE file from an outside source may still be
against the rules (and needs approval), but some think if they can do it
and no one complains, it must be ok. On the other hand, they may have
given approval, knowing the source.

--
Richard Damon

Re: pyinstaller wrong classified as Windows virus

<snoiri$usa$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16206&group=comp.lang.python#16206

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.enyo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 17:58:10 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 20
Message-ID: <snoiri$usa$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de> <sno3qt$r1b$1@news2.informatik.uni-stuttgart.de> <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com> <mailman.8.1637859246.9869.python-list@python.org> <snog1a$u4v$1@news2.informatik.uni-stuttgart.de> <CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com> <cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org> <mailman.11.1637862528.9869.python-list@python.org>
X-Trace: news2.informatik.uni-stuttgart.de 1637863090 31626 129.69.1.129 (25 Nov 2021 17:58:10 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Nov 2021 17:58:10 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Thu, 25 Nov 2021 17:58 UTC

Richard Damon <Richard@damon-family.org> wrote:

> On a somewhat locked down computer, the user does not have admin rights,
> so needs to get 'IT' to run any installers that need admin permissions
> to run.
>
> And EXE that just needs to be copied to the computer and rhen just RUN,
> doesn't need IT to 'install' it (they just can't put it into Program
> Files, but that isn't really that important for programs that don't need
> an installer.

That's the situation for many of my users.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<mailman.12.1637863262.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16207&group=comp.lang.python#16207

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Fri, 26 Nov 2021 05:00:49 +1100
Lines: 59
Message-ID: <mailman.12.1637863262.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de BIVTw8zBrqe2Rr1SCypMdw/TeWzINf4j/muI/V7nESKw==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=dTRYQrW1;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'run.': 0.05; '26,': 0.07;
'subject:Windows': 0.07; 'python.': 0.08; 'angelico': 0.09;
'damon': 0.09; 'installer': 0.09; "shouldn't": 0.09; 'possible,':
0.15; '.py': 0.16; 'arbitrary': 0.16; 'chrisa': 0.16; 'compiled':
0.16; 'exe': 0.16; 'executable': 0.16; 'executables': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'hand,': 0.16; 'interpreter': 0.16; 'ok.': 0.16; 'permitted':
0.16; 'permitted.': 0.16; 'python.org,': 0.16; 'somewhat': 0.16;
'unlikely': 0.16; 'unsigned': 0.16; 'wrote:': 0.16; 'python':
0.16; 'probably': 0.17; "can't": 0.17; 'admin': 0.19; 'figure':
0.19; 'installing': 0.19; 'pm,': 0.19; 'to:addr:python-list':
0.20; 'fri,': 0.22; 'install': 0.23; 'code': 0.23; 'installed':
0.23; 'run': 0.23; '(and': 0.25; 'cannot': 0.25; 'binary': 0.26;
"isn't": 0.27; '>>>': 0.28; 'chris': 0.28; 'code,': 0.31; 'think':
0.32; 'guess': 0.32; 'message-id:@mail.gmail.com': 0.32; 'but':
0.32; "i'm": 0.33; 'distribute': 0.33; 'windows': 0.34; 'someone':
0.34; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'request': 0.35; 'also,': 0.36;
'source': 0.36; 'really': 0.37; "it's": 0.37; 'received:209.85':
0.37; 'file': 0.38; 'received:209': 0.39; 'added': 0.39; 'still':
0.40; 'done.': 0.40; 'exact': 0.40; 'files.': 0.40; 'seconds':
0.40; "there's": 0.61; 'url-ip:151.101.0/24': 0.62; 'url-
ip:151.101.128/24': 0.62; 'url-ip:151.101.192/24': 0.62; 'url-
ip:151.101.64/24': 0.62; 'down': 0.64; 'richard': 0.64; 'source.':
0.64; 'your': 0.64; 'outside': 0.67; 'right': 0.68; 'store,':
0.69; 'rules': 0.70; '2021': 0.71; 'knowing': 0.71; 'known': 0.84;
'variety': 0.84; 'easier,': 0.84; 'legitimate': 0.84;
'obligatory': 0.84; 'rights,': 0.84; 'subject:virus': 0.84;
'them!': 0.84; 'url:1200': 0.84; 'locked': 0.93; 'trusted': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=vb8AMab2Bf/6ok9iusgoXBNOOIDYDKnYJAf11nvO1MI=;
b=dTRYQrW1jSf3Yqm+8BZGanLd8kGyEjuTYHdsthnhLusTYJALMXJjKgM4SA0YPtRm4a
RMpYLMLAWimYNogAk6oloYEO9j2urt/de8yHNByYTFUyKsa/bk0ttsLbJinQ8Ekb+vq6
tobKUSGDtJN+l5qu0C1ZxNEMsyQxSE2EYDITki5jyLyQmMtghiRTqdQpQzzEfVQ+xzsj
BM6sSQHNAmV53uCad2829vqs0eHxdkoUZez5h38qby8wAB4BcCWh9RnmetZsB2NHpHs1
ad/2LD1EYmAa9DlphfAcU99WrfsNntFkDxc1Gi9FTVgy7xsdDOgChxrXW/5X+6ADryiW
M9oA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=vb8AMab2Bf/6ok9iusgoXBNOOIDYDKnYJAf11nvO1MI=;
b=4dFdrpAVDmgaBJOx4fTRw3fZtgbflCab3E9UJcGSa3LVC5Xlq8nLxBNopgXBpUe/1a
AKMR+ChQNfARsKPVXtSPOzU6rKsTKwJjz1WtUfNffrGklbHrcpPPEHC+/VEh5rYf5d3r
+pXUKlVmnYALaBccvWlKpvgHTPPpUTgEUnbjpmgx4aoFPtaRNjUDzM1AqGqRTiEXUtFc
gJk0iFD8fFU/MbS+M+JvzRsbd20/AEVMum6zGELwPfZxz1lztpMkmyZTpOY0z8sUep+F
k/4l5tvmJC4O9QqWo1MLLFzjvHN7F0rI9M6/kWeSm7QkpbeeWRgtyZgzwL6K0XfPuogS
44OA==
X-Gm-Message-State: AOAM530VIKNreDvJ4V2CkimJWyQ1GInu6NXneq4U/OWi9my7upHL4IY9
sxMDBnISUhp8qAtClzZ+ev0aAlDaxXi/r4HAZT9gufnFoZ8=
X-Google-Smtp-Source: ABdhPJxGQ5gskR+JOYhlS8VQ50I0wHXPIXGnq8YmTgULcym6cf91aRwWJvxgvtVHVze1n6etbhoLxoo3m1OlOvYB/L4=
X-Received: by 2002:a1c:540c:: with SMTP id i12mr9723850wmb.33.1637863260648;
Thu, 25 Nov 2021 10:01:00 -0800 (PST)
In-Reply-To: <cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
 by: Chris Angelico - Thu, 25 Nov 2021 18:00 UTC

On Fri, Nov 26, 2021 at 4:50 AM Richard Damon <Richard@damon-family.org> wrote:
>
> On 11/25/21 12:21 PM, Chris Angelico wrote:
> > On Fri, Nov 26, 2021 at 4:18 AM Ulli Horlacher
> > <framstag@rus.uni-stuttgart.de> wrote:
> >> Chris Angelico <rosuav@gmail.com> wrote:
> >>
> >>> Unfortunately, if you're not going to go to the effort of getting your
> >>> executables signed
> >> I cannot sign my executables (how can I do it anyway?), because Windows
> >> deletes my executable as soon as I have compiled them! They exist only
> >> for a few seconds and then they are gone.
> >>
> >>
> >>> another reason to just distribute .py files.
> >> I cannot do that because my users do not have Python installed and they
> >> are not allowed to do it.
> >>
> > Are they really allowed to install your unsigned executables but are
> > not allowed to install Python from a known and trusted source?
> >
> > If there's some bizarre loophole that allows them to run completely
> > untrusted binary code, but not to run legitimate code that can be
> > fetched from a variety of trusted places (including python.org, the
> > Windows store, etc), then I'm afraid you're on your own, and will
> > probably need to play around with the exact loophole to figure out
> > what is going to be permitted.
> >
> > Alternatively, just go find the person who decides what gets
> > installed, and request a Python interpreter to be added to the
> > permitted list. That's probably easier, and it's certainly going to be
> > better long-term.
> >
> > ChrisA
>
> My first guess is it isn't so much what is 'allowed' but what can be
> easily done.
>
> On a somewhat locked down computer, the user does not have admin rights,
> so needs to get 'IT' to run any installers that need admin permissions
> to run.

Can someone confirm that it's still possible to run the Python
installer without admin rights, for a per-user installation? It always
used to be possible, but I haven't checked.

> Likely, just copying an EXE file from an outside source may still be
> against the rules (and needs approval), but some think if they can do it
> and no one complains, it must be ok. On the other hand, they may have
> given approval, knowing the source.

Maybe. I would still consider it unlikely that you can run an EXE from
an arbitrary source, but can't run a trusted installer from a known
source. You're right that admin perms would be harder, but that
shouldn't stop you from installing Python.

Also, obligatory XKCD: https://xkcd.com/1200/

ChrisA

Re: pyinstaller wrong classified as Windows virus

<mailman.13.1637872566.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16209&group=comp.lang.python#16209

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: torr...@gmail.com (Michael Torrie)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 13:36:00 -0700
Lines: 14
Message-ID: <mailman.13.1637872566.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org>
<mailman.6.1637851110.9869.python-list@python.org>
<snocdh$t49$1@news2.informatik.uni-stuttgart.de>
<8d93f53d-89c6-78c7-da59-fed607a8ea36@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de evHN9bHGi4KpobJwUQgcSglaCRicXnp36ipWKcKKlkJw==
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=BJzuaxJu;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.021
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'windows,': 0.05;
'subject:Windows': 0.07; 'users,': 0.07; 'exe': 0.16;
'executables,': 0.16; 'machine.': 0.16; 'program!': 0.16;
'wrote:': 0.16; 'message-id:@gmail.com': 0.18; 'to:addr:python-
list': 0.20; 'option': 0.20; 'problem,': 0.22; 'cannot': 0.25;
'header:User-Agent:1': 0.30; 'am,': 0.31; 'develop': 0.32; 'but':
0.32; 'windows': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'one.': 0.35; 'from:addr:gmail.com':
0.35; 'received:209.85': 0.37; 'received:192.168': 0.37;
'received:209': 0.39; 'submitting': 0.40; 'want': 0.40; 'your':
0.64; 'virus': 0.84; 'exclusion': 0.84; 'subject:virus': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-language:content-transfer-encoding;
bh=ncFZkezWvPZEwMxZRM6vl6RVesQ0hov60iFUkXPh9HA=;
b=BJzuaxJusQQttd5E1AWnX9SQVpFcRQ/3U95+fJoAqRPAOTA2yj9PXvQ0YSvaX9ANmo
U9WcUv52F1laPD6I1NKOhatwFrwplzrup6TkdhntVWLGMaEroo3NzobYfFPY/S4d7j8z
N30jqezlrKxYknb3ScjZhxcqgc5Da5X/6tlMOpx1gHiuSG/R3YKtRBg5gfTzKkoq6RkQ
chCuCvMwjRbyCP98zmEZj0sLHgMa1NHCnNpH+J1cym1iJ2JJ63sjXxecjXUWquUb05+2
pnLd+BXz//zCAr7Sae4JNFUqulO7Knw6wyE3mQnG2kRvy+vXvtvOPG9KZS7QX+9kttxU
Vryw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=ncFZkezWvPZEwMxZRM6vl6RVesQ0hov60iFUkXPh9HA=;
b=CG4zpdD6rQWK/nOsCVYSKLa8FM8CQcp65OrtfpI7snVQFfxTc3zIlkJvySmZ9vMt7f
ATqpxRPyrGeHX+ZDw8lLmNl+miwBH4kM2ExD4YPdjtM12B+aUIDyg0B4PoYHetxAIfD0
DOcumYtqAbPRLlbzjZ6a6amzYRjCdwHCCLF5i2IJk6L06JJokWeGq4fAYgWRs1jc3jLy
bsIdX1pNvKq/CriqsrNeQjHnt22BfqKfWvK1mGdTU+wX1e0CwYB5e5LiGpAHpHvupYRa
NxZuTEbaNtWeqwZrtwOTRd2pI4TElxUBHNMx18RP6GZN+DbqET9Ww/13/Pl/Ynonv0u9
K8Iw==
X-Gm-Message-State: AOAM532sMJqjfbvrkDgKh14UUb54/6svnceAiRcuvhmJKu+ytktectUr
ltZaagRQvpHvolR1bLTlZ1DMA7FZp54=
X-Google-Smtp-Source: ABdhPJwxDI8pJWNf0jSqeLCDm4YEG51eWmh1YHCGUQfuoDykaviI4VwkqGopwS3XkjKEW9JI0GN7jg==
X-Received: by 2002:a63:7e42:: with SMTP id o2mr18518970pgn.296.1637872563053;
Thu, 25 Nov 2021 12:36:03 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <snocdh$t49$1@news2.informatik.uni-stuttgart.de>
Content-Language: en-US
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <8d93f53d-89c6-78c7-da59-fed607a8ea36@gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org>
<mailman.6.1637851110.9869.python-list@python.org>
<snocdh$t49$1@news2.informatik.uni-stuttgart.de>
 by: Michael Torrie - Thu, 25 Nov 2021 20:36 UTC

On 11/25/21 9:08 AM, Ulli Horlacher wrote:
> I cannot submit my executables, because the Windows Virus scannners
> deletes them as soon as I compile my program!

Add an exclusion rule to your machine. While this is not an option for
your end users, this will certainly allow you to work on the problem,
submitting the exe to the various virus vendors.

> And I need a Microsoft login to submit a file!
> I do not have such a login.

I sympathize. But if you want to develop for Windows, you might just
have to get one.

Re: pyinstaller wrong classified as Windows virus

<mailman.14.1637872590.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16210&group=comp.lang.python#16210

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: torr...@gmail.com (Michael Torrie)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 13:36:25 -0700
Lines: 7
Message-ID: <mailman.14.1637872590.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org>
<mailman.6.1637851110.9869.python-list@python.org>
<snocdh$t49$1@news2.informatik.uni-stuttgart.de>
<959abf3f-cfca-6fa6-b114-b78906f59207@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de C7hfIVOo80Rt34/WUCfGswmq1oT7j4VbzzexCXfwU/mA==
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=jAn9eVXd;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.044
X-Spam-Evidence: '*H*': 0.92; '*S*': 0.01; 'url:support': 0.05;
'subject:Windows': 0.07; 'executables,': 0.16; 'program!': 0.16;
'received:209.85.216.43': 0.16; 'received:mail-
pj1-f43.google.com': 0.16; 'wrote:': 0.16; 'message-
id:@gmail.com': 0.18; 'to:addr:python-list': 0.20; 'cannot': 0.25;
'header:User-Agent:1': 0.30; 'am,': 0.31; 'windows': 0.34; 'header
:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.37;
'received:192.168': 0.37; 'received:209': 0.39; 'virus': 0.84;
'forgot': 0.84; 'subject:virus': 0.84; 'url:windows': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-language:content-transfer-encoding;
bh=/UJmgvjxWQ1UjP7flAFRNU9bsut6ZXmgiacKBHPKr9o=;
b=jAn9eVXdrX/K2hbZYz8tXVEoc98dTQbRedj6Qa2r/dTP9KSHn+MmwkI8UD8Ve8AL6Q
4s6+dWUkVqkwvwk4PVPf7l9Ol0X49U2DrYO9aEcMmU1Islqybe1y1LNMiaRQ6i1wQ81H
OYpAX7+ZhxEnOb6kVfubc9UF7WkmE9IRFGUByn0Jw/f2LbpzGDsWVpDZofqJffCm/qKw
Wqks/dnHc7exvnmCXDIEVZKCadNY/WraUfECCCJWfqAWClL1gZicxuGPDhTDD0RZeoNp
OYCusuyRdVhuDBCTYkOsELamK3z/gBgm4E/276jXdMGHW20aGlY/BrKfwYI+e5Dk8yib
zFiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=/UJmgvjxWQ1UjP7flAFRNU9bsut6ZXmgiacKBHPKr9o=;
b=wgXOakw7gL1tr1RutoQ/WckUmyDewr2HR9hFmXSqVir3Jfx2kY4PM80LzGMvtDlxNj
ysqYxFTaj0OcmFJ/x0LaPH+ZnGSwK6sJy9BqYXZBIBxlpdFUFypWAjjqyZCRAqF5WaNE
9dOIOesb5X+Znn6U+ld6N/dqlcJOmmiFB73DVvmJR0s/2Yb9klkzf1q4gYOlS77j5pbM
CdhnzfJe3mi8NlK2DwT2DGI8fjiGEOUVc2R3hJENKDPzdWLqECibpr30AZHRNtUeledb
Oa5PglzfV65FFja/bfBn4PKQpciIa71rJPgoohToiFicTpCnyhoWHI5M2/hOszJiEHl5
zf7A==
X-Gm-Message-State: AOAM530ZigcswdChb+J9Y8QbuuRBcBLezcP4s+MNuxxxCnhs/1fIZkTz
2rDgmuzEptwZhtbL7QjN9HWnrldDkxw=
X-Google-Smtp-Source: ABdhPJxBlgSaZW0pfpX9AIOtOvV6SLMmDn/TWtEtBVa8ky+sFc/x+WJK69PVNR0gFwLrC9HIGW4R8A==
X-Received: by 2002:a17:90a:384d:: with SMTP id
l13mr10748265pjf.104.1637872586850;
Thu, 25 Nov 2021 12:36:26 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <snocdh$t49$1@news2.informatik.uni-stuttgart.de>
Content-Language: en-US
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <959abf3f-cfca-6fa6-b114-b78906f59207@gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<253A025C-CA28-44FF-BB2D-5CA286D01012@barrys-emacs.org>
<mailman.6.1637851110.9869.python-list@python.org>
<snocdh$t49$1@news2.informatik.uni-stuttgart.de>
 by: Michael Torrie - Thu, 25 Nov 2021 20:36 UTC

On 11/25/21 9:08 AM, Ulli Horlacher wrote:

> I cannot submit my executables, because the Windows Virus scannners
> deletes them as soon as I compile my program!

I forgot to post this link:
https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26

Re: pyinstaller wrong classified as Windows virus

<mailman.15.1637873541.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16211&group=comp.lang.python#16211

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 13:52:06 -0700
Lines: 15
Message-ID: <mailman.15.1637873541.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
<dc8cf499-749d-56a0-9262-d55ae3bb6bcb@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de C51BOt/41K6TqjEbUIdAowayA0tJLQ/am9zur60HclSw==
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=WJ5KR+U4;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.021
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Windows': 0.07;
'angelico': 0.09; 'cases.': 0.09; 'installer': 0.09;
'received:173': 0.13; 'possible,': 0.15; 'wrote:': 0.16; 'python':
0.16; 'admin': 0.19; 'to:addr:python-list': 0.20; 'version': 0.23;
'install': 0.23; 'run': 0.23; 'past': 0.25; 'chris': 0.28; 'goes':
0.28; 'asked': 0.29; 'header:User-Agent:1': 0.30; 'but': 0.32;
'someone': 0.34; "didn't": 0.34; 'requires': 0.34; 'header:In-
Reply-To:1': 0.34; 'failed': 0.35; 'special': 0.37; "it's": 0.37;
'received:192.168': 0.37; 'means': 0.38; 'prompt': 0.39; 'still':
0.40; 'rights': 0.76; '(included)': 0.84; 'rights,': 0.84;
'subject:virus': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=AsPFJdOG70QG
aDpYD+fp3KEQNKTG0i1lnggWeodx7+g=; b=WJ5KR+U4hqeTPkUl9ozJTdoErRsi
jYfd6cVA8dpaUI40Dcc7yOFHVNNwhzCGfOqD42cam3AHoLRgveJ6Otbk/Jk8E2mJ
ZDaKzRkx1uEC/xoi5o63RH3QAuQ9feQmH1D9izqbLS1+Xj5qo+JI0efwZdei0WAE
zku8r2KP8PLaZTk=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=AsPFJdOG70QGaDpYD+fp3KEQNKTG0i1lnggWeodx7+g=;
b=J1QmKQ7tb/ndl1Ln9BIVpQzoYvBuyPtAxURYE2XBGh5pqZodg4dGP0MkL9X0tox6mWf+0RaDoTaPwI172iLOksau1ZfbT6oWYc/apxEVCDIX8EjkerTIBmjaBPdTFFlOLdZOHAa+h2icYTlYctnNBdnTkhgfidLMcPbH1lxvYUI=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.3.0
Content-Language: en-US
In-Reply-To: <CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
X-Pobox-Relay-ID: 8E13EA60-4E31-11EC-95C3-F327CE9DA9D6-81526775!pb-smtp20.pobox.com
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <dc8cf499-749d-56a0-9262-d55ae3bb6bcb@wichmann.us>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
 by: Mats Wichmann - Thu, 25 Nov 2021 20:52 UTC

On 11/25/21 11:00, Chris Angelico wrote:

> Can someone confirm that it's still possible to run the Python
> installer without admin rights, for a per-user installation? It always
> used to be possible, but I haven't checked.

You only need admin rights for some special cases. While Win7 was still
supported, you needed to run the (included) installer for vcredist of a
different version than the one that comes with Win7, and that needed
admin rights (unfortunately, the Python installer didn't prompt for that
and so the vcredist install failed silently, leaving a broken install if
you didn't already have it from other means - but that's all in the past
now). It's possible you also need it for the Python Launcher, since
that goes into a "system location" (not sure about that one). And if
you asked for an install for "all users" that requires admin rights.

Re: pyinstaller wrong classified as Windows virus

<mailman.16.1637874503.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16212&group=comp.lang.python#16212

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Fri, 26 Nov 2021 08:08:10 +1100
Lines: 28
Message-ID: <mailman.16.1637874503.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
<dc8cf499-749d-56a0-9262-d55ae3bb6bcb@wichmann.us>
<CAPTjJmrLdkuTeF3atqp0qoAff6i=A6XJiV-V8G5xBcuCR_ZN6g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de C/n+32exNCLfqOVJqFQ0GQTSh4ijQJ90eAC95MoMMETw==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=hJitFX0t;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.007
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '26,': 0.07;
'subject:Windows': 0.07; 'angelico': 0.09; 'cases.': 0.09;
'installer': 0.09; 'it"': 0.09; 'possible,': 0.15; '.py': 0.16;
'chrisa': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris
angelico': 0.16; 'mats': 0.16; 'privileges.': 0.16;
'received:209.85.221.42': 0.16; 'received:mail-
wr1-f42.google.com': 0.16; 'wichmann': 0.16; 'wrote:': 0.16;
'python': 0.16; 'admin': 0.19; 'to:addr:python-list': 0.20;
'fri,': 0.22; 'version': 0.23; 'install': 0.23; 'run': 0.23;
'past': 0.25; 'chris': 0.28; 'goes': 0.28; 'asked': 0.29; 'fine.':
0.32; 'message-id:@mail.gmail.com': 0.32; 'but': 0.32; 'windows':
0.34; 'someone': 0.34; "didn't": 0.34; 'requires': 0.34; 'header
:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'failed':
0.35; 'from:addr:gmail.com': 0.35; 'special': 0.37; "it's": 0.37;
'received:209.85': 0.37; 'file': 0.38; 'means': 0.38;
'received:209': 0.39; 'prompt': 0.39; 'still': 0.40; 'should':
0.40; '2021': 0.71; 'rights': 0.76; 'click': 0.83; '(included)':
0.84; 'rights,': 0.84; 'subject:virus': 0.84; 'association': 0.86;
'fresh': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=SSSyn1JBqpFlpPURTsXWgmD3w55xVBcwnN73qa3Mu9s=;
b=hJitFX0tryjNKJ8HvzXVXVxbw3B+FwuY1jFiLJVcwJonageK+XfHvY7L0VDcXRIaXl
JUe9YhH2x5/KdHyD+heAdsVk0cAULnR+cFmzCK0c/BCorgqgSHY9kiEfcHHlhuC+Rj7g
EM4kFkQ93wjes//B2D4adO5AKOz2KPLOlDIyVU20a1mVkF6Birhamqg0AZ5g0zdv4hH+
yGZFe3G6kT9kd8e18FHOkgswnJm3n7zdnF7F+aSqT+kIKGYMgyvLRUH6o/tpCM0KiOCX
SpOkfcvPgCh/yZxEA5fgeoBHOC7vJdvstTgykzkkxqPssxVNBo+c68jKWUYfgsDjcYLC
UHFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=SSSyn1JBqpFlpPURTsXWgmD3w55xVBcwnN73qa3Mu9s=;
b=62fLAQ3qi1+e++5/VA/QpeLXckgoFL/o1grrO7UwkpGKPw4bXV1QWsW0eZ4BXf4NO0
kchZulDu6wXU60tkL5OWxFF1YyHaPGiHjJ58UXBeCYYwjZwGs9PvKt0V8PbqbkqD9MCP
FWlZD3MIdX7O54yzCkAyXO3nW2cUQR4wk6PwPDWRoIHUDtVe+4AXqHH4nuQYziW9U+Ok
qQIPqbWeGmHrswzGbVofdeNJHKX5QiM0zG/JVIA92YTJppK7iczuBTUHJdM2zLmy3jMi
TiA77xP+Y84KFkfiuNzzv6EGD9GeEA6hWYAmPcf0ijMRFivg4RE+3tZY95JFMOjjT5hM
W+6g==
X-Gm-Message-State: AOAM530uJZfneAjABWvoHOpaiXbaeKd5BNa3/gNrOjgp6l3T9Le2dZIE
JDMmW8qYjzXyF8Rjg39V90z+oCV4vlZsxlp9E/HDfz2D
X-Google-Smtp-Source: ABdhPJzheGnL0caHdU0zhBTcIyeeiPYEu/oWW+L1Tlyq0KsQGEEDZekuW7VPNwOAWtWiBr0moNiy3IIxq7Ues203Zes=
X-Received: by 2002:adf:b18e:: with SMTP id q14mr10546481wra.477.1637874501151;
Thu, 25 Nov 2021 13:08:21 -0800 (PST)
In-Reply-To: <dc8cf499-749d-56a0-9262-d55ae3bb6bcb@wichmann.us>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmrLdkuTeF3atqp0qoAff6i=A6XJiV-V8G5xBcuCR_ZN6g@mail.gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<CAPTjJmpCUR7hO4pSZa2ed1iXR6-=VQEQzjMiT0pa8t0JMf94ow@mail.gmail.com>
<dc8cf499-749d-56a0-9262-d55ae3bb6bcb@wichmann.us>
 by: Chris Angelico - Thu, 25 Nov 2021 21:08 UTC

On Fri, Nov 26, 2021 at 7:53 AM Mats Wichmann <mats@wichmann.us> wrote:
>
> On 11/25/21 11:00, Chris Angelico wrote:
>
> > Can someone confirm that it's still possible to run the Python
> > installer without admin rights, for a per-user installation? It always
> > used to be possible, but I haven't checked.
>
> You only need admin rights for some special cases. While Win7 was still
> supported, you needed to run the (included) installer for vcredist of a
> different version than the one that comes with Win7, and that needed
> admin rights (unfortunately, the Python installer didn't prompt for that
> and so the vcredist install failed silently, leaving a broken install if
> you didn't already have it from other means - but that's all in the past
> now). It's possible you also need it for the Python Launcher, since
> that goes into a "system location" (not sure about that one). And if
> you asked for an install for "all users" that requires admin rights.

That's what I thought, yeah. So even on a system you don't own, where
you're not allowed to get admin privileges, it should still be
possible to install Python just fine.

Would be worth testing (if someone has a fresh Windows system around)
to see if it's possible to set up the "double click on .py file to run
it" association without admin privileges. That's the only part that
might be a limitation.

ChrisA

RE: pyinstaller wrong classified as Windows virus

<mailman.18.1637882241.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16214&group=comp.lang.python#16214

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: avigr...@verizon.net (Avi Gross)
Newsgroups: comp.lang.python
Subject: RE: pyinstaller wrong classified as Windows virus
Date: Thu, 25 Nov 2021 18:17:12 -0500
Lines: 50
Message-ID: <mailman.18.1637882241.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<007701d7e252$9402b500$bc081f00$@verizon.net>
Mime-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de ZLW5GRB2SLRkdB6MaprNOAWv0FFP2zBz1Y4gCQNVLiOA==
Return-Path: <avigross@verizon.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=verizon.net header.i=@verizon.net header.b=hDdUhxW9;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.158
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.69; '*S*': 0.01; 'debug': 0.07;
'subject:Windows': 0.07; 'angelico': 0.09; 'code?': 0.09;
'compiler': 0.09; 'url:de': 0.09; 'url:mailman': 0.15; '.py':
0.16; 'compiled': 0.16; 'compromised': 0.16; 'executable': 0.16;
'executables': 0.16; 'pyinstaller': 0.16; 'received:(vzm hermes
smtp server)': 0.16; 'url-ip:129/8': 0.16; 'wrote:': 0.16;
'problem': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20;
'code': 0.23; 'installed': 0.23; 'skip:- 10': 0.25; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'url:listinfo': 0.25; 'cannot': 0.25; 'url-ip:188.166/16': 0.25;
'else': 0.27; 'bit': 0.27; 'chris': 0.28; 'wrong': 0.28; 'url-
ip:188/8': 0.31; 'think': 0.32; 'happening': 0.32; 'python-list':
0.32; 'but': 0.32; 'distribute': 0.33; 'server': 0.33; 'windows':
0.34; 'header:In-Reply-To:1': 0.34; 'running': 0.34; 'fix': 0.36;
'change': 0.36; 'on.': 0.39; 'table': 0.39; 'still': 0.40;
'exact': 0.40; 'files.': 0.40; 'match': 0.40; 'seconds': 0.40;
'something': 0.40; 'potential': 0.60; 'from:': 0.62; 'to:': 0.62;
'25,': 0.62; 'everything': 0.63; 're:': 0.64; 'your': 0.64;
'similar': 0.65; 'look': 0.65; 'tel:': 0.68; 'temporarily': 0.69;
'2021': 0.71; 'classified': 0.76; 'potentially': 0.76; 'und':
0.76; 'sent:': 0.78; 'highly': 0.78; 'position': 0.81; 'reasons':
0.84; 'virus': 0.84; 'experiments': 0.84; 'subject:virus': 0.84;
'them!': 0.84; 'virus,': 0.84; 'e-mail:': 0.88; 'differently':
0.91; 'placing': 0.91; 'received:74.6.132': 0.91; 'newly': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048;
t=1637882238; bh=W3X6hiy5oNzQe6XtgYmU6jwMfnlZTIyte1xiZE261DA=;
h=From:To:References:In-Reply-To:Subject:Date:From:Subject:Reply-To;
b=hDdUhxW9JS8cl9J1TVZmvO3lOfRfj2gqwF8cCSsUsLVQytc5jTYOWYAwudbV4xC4yc+mjJvkkuoScLNupxiDj8r19iTKG7Kuitm3OWm2kILfF2JxtT56cde63NaGjuR60NQElSUjL7YZQNzyDtu7EqDy2E7Jgl8n/MVbzZFPTcj68kT3jtjQCdsnkPvfHQEMUtdAhq+FSEkupeo/ThuY6lPdOaJmFeqcuAvk77oEaDbv7Cy5LIfSk8nXFs/OcYxv1XAAolQOnF2uIAv0KPJAtdWFr7maG+qUAZKNOu7XO7vjj0j2A7yTH98nAaY+c8v05jI01XldRCqIupduOTVMSQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1637882238; bh=6ELOz17Mpdc6Dsv6Pf8Sm8cgFKy5QRsUQKwC/cZvsWC=;
h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
b=Iz9YpVGJXV6D8DyUu/WtmcUXFYbcZwMu2j37w4SNK/dSwTnrumUpNf+IkOXM/xXrAPnUtVAoNhyZDkQCnjeFwePlV3CNcUTDHT1F57NYMX7Yar0PkZFjzC7CiJsIFyIJlYgz122TCymh/ZgiQ5wJK7bdTDsSqTsnNul7j9SSjTF3F4JfARXvbWwgzn1ywKDoo6JNxIXauMsJxtCcv/vd2plDs5Lx/pCBDRbmkUqWVJUuYW+h1Z1qWqUvh5F0AtlWtt39J00iRzkLgjFBM1F08PLl5MbmCKRTZHONY7mWcy1JTw5e9ySXAhk3ES236dqrJjvoQUmQ8pzdFMmaYmtv9g==
X-YMail-OSG: N2bLf_wVM1n34YSB0pm7F5vLmZsj.BY04Az0TSm0eQ67NJm4HTbnzNdOh4MFMa6
Zxucyy9iGmKjxBVK5EYdumIkqV08STEPBPlSdcyPPuYMmfTNyBMm2LLtCG9E0wgWGA7X90mPLzt2
2dTPjFHtNGsaSvhMqmFZf0yrwo3H92fUzORiR2qXRmQ6U8ThCAePUGg4Oa0wIqWbKuyTLVeDjibk
djKAR7El3pyDdoa9q_j6si9ef0F.6QOokhIQ5d_iQFJSEluZ8IgVGTqtIDkK.FDmC9w1qxRyyk9N
eWs2NO_XvcrQyquFWhJDPlVDTEN2xo9vA7k4ypoujY8Wa57E2lqZEz9ZJZh2tsqX94dft5Ll.RP9
bnr7Ci.N2XcNqCcfRl0uCboezkdAdzAkLEf9d9yBK0nmthQ9v171E4HVHH4OfYG.ma8PilUqYxkx
qAb.9_nLzVwRfHWGbR1zk063QNhkoHVpotlyD0UyhVG6fzNhA0TSGzi9ygBtM8vz7Ng3t6xEkci1
DDSHsKBK0iZT7Z_jVN.4gTmLy9Qy8OJ59Lxqc0YX_TtoivTCj_3QowIem9yVsX67Co6p3yvG2xSD
MW6Le81l.r_OaGOpeyzK8d_7TCY2Mp1keN0h94XDrKicjIH8uByt7JqyT2vwUNZ3yuhh8s_NLcdp
Wp0hdXxEtvlF3FlSRCcusoKFuKO1tuAAIDxkjAzbtvli2tKVeXPy1NBSg1qU2DSC9ZBhCJGKCenv
QoyOk_3Bkv87lcC.0.h2Oo8iO8hg6JYAZ5ZgdhNjygjS_INkThX76pRIRPvuUtFPABhJxVgG2KeA
PabJaMwwtkeX7SvImtWjHWF6dXZ0UxlQSsEoR5lgXp4TPFgiqOIky1dJG.OlXPpPGE_eSWGdGO0f
b0_a2H..YKASzocse_JcuguirsPX6zmS2J1yuKJIJXpQqQSHgLriYYDCHYgYBTHYdB8siGusz36F
E.86WkLfH_ZXjht3GVgXIx5QY8NsBYjcC3tY6QOk5wVx7MKzrZdg8Dzv31bz.INNKivC4ET9emff
P9SeVYfB.9SkDd7MSPoTidN2LQGlPIWLbgSHtoS3i4vDTga8zJhyv9Fq3EP24ULs_utovJdEKmuG
BqEEUEbc4eFWCkdNCPSNG_5Q6gusyw5IodlGLFy0EEQzBejwISKycpb5Izx1bL5NFimS_lnTZjs2
Z1qgZ3uc3PJH9sYO1tsconmr2VtRbeEA.AcawKJ1zLVQPo_KqC5n4O_0nHkacaQ2NU9HyE6D4vd8
BXqKAEHD8V5jO911lUnWygY4G2CnfeID5W3.5onH4X9TdhIzEKOWWvAQ9RxHoFx6WZwBL8NJPdPI
PfnIJEF2pWv3ooz7UUbJlSXXLBHW.hKZf4pHJgIeKYyfqgOyxNgSgLgkF3JnIieYAYK3KTWALOCW
3MQfdYchQPkcGLr8f5T0gxEHRGg68_qmHWkOdgAvlVSK9aWKovw2qGzEBazeMTxSwzkyJiyBv_fb
.ejusIRf5aT016QGAkJHFihaCt.lYWchMJW5aMAZmA6nm9sm2b7U0J53O_GkKRaPIRpH2q1eLBXn
N2R94D.0epYWCnqhtS.c6kKiJAfbtG8bXy9a.yo7kEnHgpfC9nDXvCfZY551hcVNhyfjTAOqfZ7F
wQm5yGnV0qY1uYWWYB4dcfGBfhWkqkBwNMU44n3XHTnSzNmQE8dEV4g1a4vGOeVqkEaYeaIBaGEz
swYnr4mvhytm4EyrhHC8I27vMO9Edn5ZXxsPTYMsseVcr5zPlY0Jt7VQdMlwYB1.HSjI7nVUmgLN
Fp_R.OgInse4QB2S3G1F_SwzEU2gobZkXH2s4twq7dOQlDsfZDP5.KWzngFnDCxm6zCDXpG1xCug
pAIKmfcCiZSpX.ANWBjSOlpQ0ln2lAMISPEnG2mWs0OCoHYpuxClc9nMZxJGqZGHOFu6lqDi3048
VuiwZ1pSh1bTY36EyP174IOaAtVth6gskSRC2kYsCUSyGYOA0MviP8msA4Zm.2uSumRgkKyj7nY7
2.WQ06HEL.wbXfWNZRr_dDoMyhCF_EdpHU__YXdVe06oRdHnMeyjcy.wpZv6y6THM1gDakKJlB7I
FVFzFcqXRTL9UGyeyLdg_macVxWXPUQFQhWK6ydY7XoKlNdEPk1TFMFNwPrbPAOk9F1fPZZm2Zls
fGhkX46Rcp96ROYmsbjw1Zma93MSKvg--
X-Sonic-MF: <avigross@verizon.net>
In-Reply-To: <snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-us
Thread-Index: AQDNxZe0HSgHG9oJKJjSuUduvvy8GQJvnqc6AYW6kL8C1wvtWwI01b2TASBzV04Bt0IbdK3KULkQ
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <007701d7e252$9402b500$bc081f00$@verizon.net>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
 by: Avi Gross - Thu, 25 Nov 2021 23:17 UTC

I am not sure what your real problem is, Ulli, but many antivirus programs
can be TEMPORARILY shut off. Not highly recommended, of course, but if you
properly disable it on a newly rebooted system running little, and it still
happens, then something else may be going on.

If one recognizes your code a potentially having a virus, it may be for an
assortment of reasons such as a table it contains to look at position N in
the executable for an exact match with some bit-string. If so, one potential
fix is a slight change in the code that compiles a bit differently like
x=sin(30) or other filler.

But consider another possibility that your compiler software is compromised
and actually placing something into everything it compiles. Is this
happening to only one set of code?

You can think of other similar experiments based on your setup that may help
you debug and perhaps your problem is something else entirely.

-----Original Message-----
From: Python-list <python-list-bounces+avigross=verizon.net@python.org> On
Behalf Of Ulli Horlacher
Sent: Thursday, November 25, 2021 12:10 PM
To: python-list@python.org
Subject: Re: pyinstaller wrong classified as Windows virus

Chris Angelico <rosuav@gmail.com> wrote:

> Unfortunately, if you're not going to go to the effort of getting your
> executables signed

I cannot sign my executables (how can I do it anyway?), because Windows
deletes my executable as soon as I have compiled them! They exist only for a
few seconds and then they are gone.

> another reason to just distribute .py files.

I cannot do that because my users do not have Python installed and they are
not allowed to do it.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
--
https://mail.python.org/mailman/listinfo/python-list

Re: pyinstaller wrong classified as Windows virus

<snq1eq$amo$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16215&group=comp.lang.python#16215

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Fri, 26 Nov 2021 07:13:30 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 46
Message-ID: <snq1eq$amo$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de> <sno3qt$r1b$1@news2.informatik.uni-stuttgart.de> <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com> <mailman.8.1637859246.9869.python-list@python.org> <snog1a$u4v$1@news2.informatik.uni-stuttgart.de> <007701d7e252$9402b500$bc081f00$@verizon.net> <mailman.18.1637882241.9869.python-list@python.org>
X-Trace: news2.informatik.uni-stuttgart.de 1637910810 10968 129.69.1.129 (26 Nov 2021 07:13:30 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Fri, 26 Nov 2021 07:13:30 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Fri, 26 Nov 2021 07:13 UTC

Avi Gross <avigross@verizon.net> wrote:

> I am not sure what your real problem is, Ulli, but many antivirus programs
> can be TEMPORARILY shut off.

Meanwhile I found this configuration option.
But this does not help me much, because my programs must run on other
Windows PCs of other users and they cannot disable the default Windows
virus scanner.

I for myself does not use Windows at all, I just use it to compile my
programs.

> If one recognizes your code a potentially having a virus, it may be for an
> assortment of reasons such as a table it contains to look at position N in
> the executable for an exact match with some bit-string. If so, one potential
> fix is a slight change in the code that compiles a bit differently like
> x=sin(30) or other filler.

I do not know what and where the virus scanning is complaining about.
It simple says virus threat found and then it deletes my executables.
It is the default virus scanner of Windows 10, I have not installed any
additional software (besides Python and cygwin).

> But consider another possibility that your compiler software is compromised

Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
is infected. I doubt this.


> Is this happening to only one set of code?

This is happening SOMETIMES, not always. With the SAME source code. When I
call pyinstaller often enough, then the virus scanner is quiet. In about 1
of 20 compile runs.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<cf0c2017-5bc2-469f-923e-86efdc5d5107n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16217&group=comp.lang.python#16217

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:a05:6214:d84:: with SMTP id e4mr11332801qve.128.1637918934735;
Fri, 26 Nov 2021 01:28:54 -0800 (PST)
X-Received: by 2002:a05:620a:2790:: with SMTP id g16mr20347747qkp.403.1637918934488;
Fri, 26 Nov 2021 01:28:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Fri, 26 Nov 2021 01:28:54 -0800 (PST)
In-Reply-To: <snq1eq$amo$1@news2.informatik.uni-stuttgart.de>
Injection-Info: google-groups.googlegroups.com; posting-host=192.107.52.63; posting-account=2VbiMAoAAADZ_2MR3YxvYmpYWYw9FTXX
NNTP-Posting-Host: 192.107.52.63
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de> <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org> <snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<007701d7e252$9402b500$bc081f00$@verizon.net> <mailman.18.1637882241.9869.python-list@python.org>
<snq1eq$amo$1@news2.informatik.uni-stuttgart.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cf0c2017-5bc2-469f-923e-86efdc5d5107n@googlegroups.com>
Subject: Re: pyinstaller wrong classified as Windows virus
From: edmondo....@gmail.com (Edmondo Giovannozzi)
Injection-Date: Fri, 26 Nov 2021 09:28:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 56
 by: Edmondo Giovannozzi - Fri, 26 Nov 2021 09:28 UTC

Il giorno venerdì 26 novembre 2021 alle 08:13:50 UTC+1 Ulli Horlacher ha scritto:
> Avi Gross <avig...@verizon.net> wrote:
>
> > I am not sure what your real problem is, Ulli, but many antivirus programs
> > can be TEMPORARILY shut off.
> Meanwhile I found this configuration option.
> But this does not help me much, because my programs must run on other
> Windows PCs of other users and they cannot disable the default Windows
> virus scanner.
>
> I for myself does not use Windows at all, I just use it to compile my
> programs.
> > If one recognizes your code a potentially having a virus, it may be for an
> > assortment of reasons such as a table it contains to look at position N in
> > the executable for an exact match with some bit-string. If so, one potential
> > fix is a slight change in the code that compiles a bit differently like
> > x=sin(30) or other filler.
> I do not know what and where the virus scanning is complaining about.
> It simple says virus threat found and then it deletes my executables.
> It is the default virus scanner of Windows 10, I have not installed any
> additional software (besides Python and cygwin).
> > But consider another possibility that your compiler software is compromised
> Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe
> is infected. I doubt this.
> > Is this happening to only one set of code?
> This is happening SOMETIMES, not always. With the SAME source code. When I
> call pyinstaller often enough, then the virus scanner is quiet. In about 1
> of 20 compile runs.
> --
> Ullrich Horlacher Server und Virtualisierung
> Rechenzentrum TIK
> Universitaet Stuttgart E-Mail: horl...@tik.uni-stuttgart.de
> Allmandring 30a Tel: ++49-711-68565868
> 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

You can try to download winpython: https://github.com/winpython/winpython/releases
It is an executable, but you don't need to execute it as it is a 7zip compressed archive.
You may run it or use directly 7zip to decompress it, the result will be the same.
Then you have a full python installation that don't need to be installed.
You may try to put your program there and give the users that directory.

Re: pyinstaller wrong classified as Windows virus

<snqk57$ffe$1@news2.informatik.uni-stuttgart.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16222&group=comp.lang.python#16222

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Fri, 26 Nov 2021 12:32:39 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 29
Message-ID: <snqk57$ffe$1@news2.informatik.uni-stuttgart.de>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de> <sno3qt$r1b$1@news2.informatik.uni-stuttgart.de> <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com> <mailman.8.1637859246.9869.python-list@python.org> <snog1a$u4v$1@news2.informatik.uni-stuttgart.de> <007701d7e252$9402b500$bc081f00$@verizon.net> <mailman.18.1637882241.9869.python-list@python.org> <snq1eq$amo$1@news2.informatik.uni-stuttgart.de> <cf0c2017-5bc2-469f-923e-86efdc5d5107n@googlegroups.com>
X-Trace: news2.informatik.uni-stuttgart.de 1637929959 15854 129.69.1.129 (26 Nov 2021 12:32:39 GMT)
X-Complaints-To: news@news.uni-stuttgart.de
NNTP-Posting-Date: Fri, 26 Nov 2021 12:32:39 +0000 (UTC)
User-Agent: tin/2.4.5-20200522 ("Millburn") (Linux/5.4.0-90-generic (x86_64))
 by: Ulli Horlacher - Fri, 26 Nov 2021 12:32 UTC

Edmondo Giovannozzi <edmondo.giovannozzi@gmail.com> wrote:

> You can try to download winpython: https://github.com/winpython/winpython/releases
> It is an executable, but you don't need to execute it as it is a 7zip compressed archive.
> You may run it or use directly 7zip to decompress it, the result will be the same.
>
> Then you have a full python installation that don't need to be installed.
> You may try to put your program there and give the users that directory.

I do not understand it quite...
(How) can I add PySimpleGUI (*) and my program to this (self-extracting?)
package?

https://sourceforge.net/projects/winpython/files/WinPython_3.10/3.10.0.1/
633 MB! I have a lot of users with internet speed < 200 kB/s

With pyinstaller my program executables are are around 10 MB.

(*) My programs depend on:
https://pysimplegui.readthedocs.io/en/latest/

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/

Re: pyinstaller wrong classified as Windows virus

<j0cctcF5fp3U1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16225&group=comp.lang.python#16225

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter.he...@rz.uni-regensburg.de (Peter Heitzer)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: 26 Nov 2021 15:30:52 GMT
Lines: 28
Message-ID: <j0cctcF5fp3U1@mid.individual.net>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de> <CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com> <mailman.8.1637859246.9869.python-list@python.org> <snog1a$u4v$1@news2.informatik.uni-stuttgart.de> <007701d7e252$9402b500$bc081f00$@verizon.net> <mailman.18.1637882241.9869.python-list@python.org> <snq1eq$amo$1@news2.informatik.uni-stuttgart.de> <cf0c2017-5bc2-469f-923e-86efdc5d5107n@googlegroups.com> <snqk57$ffe$1@news2.informatik.uni-stuttgart.de>
X-Trace: individual.net E3YoW9UjGMztTAhx1GznYQD69SPS1ILliP8mO7ToA9AhkNh18bzMLYg9EB
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:Qpr6xSYIKipHW+80GjLV0BoUvYM=
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-13-amd64 (x86_64))
 by: Peter Heitzer - Fri, 26 Nov 2021 15:30 UTC

Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
>Edmondo Giovannozzi <edmondo.giovannozzi@gmail.com> wrote:

>> You can try to download winpython: https://github.com/winpython/winpython/releases
>> It is an executable, but you don't need to execute it as it is a 7zip compressed archive.
>> You may run it or use directly 7zip to decompress it, the result will be the same.
>>
>> Then you have a full python installation that don't need to be installed.
>> You may try to put your program there and give the users that directory.

>I do not understand it quite...
>(How) can I add PySimpleGUI (*) and my program to this (self-extracting?)
>package?

>https://sourceforge.net/projects/winpython/files/WinPython_3.10/3.10.0.1/
>633 MB! I have a lot of users with internet speed < 200 kB/s

>With pyinstaller my program executables are are around 10 MB.
I would suggest to build your own installer, for example using NSIS
https://nsis.sourceforge.io
It is not very complicated. If you include the normal Python installation
and the additional packages and your scripts the whole installer will not
be greater as about 30 MB.
If you want I can mail you a sample config file you can start with.

--
Dipl.-Inform(FH) Peter Heitzer, peter.heitzer@rz.uni-regensburg.de

Re: pyinstaller wrong classified as Windows virus

<mailman.28.1637994867.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16235&group=comp.lang.python#16235

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Sat, 27 Nov 2021 17:34:15 +1100
Lines: 21
Message-ID: <mailman.28.1637994867.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<mailman.11.1637862528.9869.python-list@python.org>
<snoiri$usa$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrEjiPJzQ9SkaDsFew-poQRVAisuENqwbwL6cDZujsmmQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de ZSsw2+y+Y8YBnX7uKOAvRQBiIoz7RP5MRGT8qJ+cJLww==
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=BwgkJLgK;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'run.': 0.05;
'subject:Windows': 0.07; 'that?': 0.07; 'python.': 0.08; '27,':
0.09; 'damon': 0.09; 'chrisa': 0.16; 'exe': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'received:209.85.221.49': 0.16; 'received:mail-
wr1-f49.google.com': 0.16; 'run,': 0.16; 'somewhat': 0.16;
'wrote:': 0.16; "can't": 0.17; 'admin': 0.19; 'to:addr:python-
list': 0.20; 'sat,': 0.22; 'install': 0.23; 'run': 0.23; "isn't":
0.27; 'computer': 0.29; 'program': 0.31; "doesn't": 0.32;
'files,': 0.32; 'users.': 0.32; 'message-id:@mail.gmail.com':
0.32; 'but': 0.32; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'really': 0.37; 'received:209.85': 0.37; 'put': 0.38;
'received:209': 0.39; 'situation': 0.40; 'down': 0.64; 'richard':
0.64; '2021': 0.71; 'rights': 0.76; 'rights,': 0.84;
'subject:virus': 0.84; 'locked': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=LDZESFeFhnh8TN57HPt5yR5youb98F5l8UZy7BFERlo=;
b=BwgkJLgKn+x6BwH2pvWhMgxr0kbL6rievoPqolYUkIsu1kN+h/5k8hOlVCUZaqbJqF
+jfF3iy81c5g93f2m/sJuX8HxNefIzDCXVorBuY88yM+9r5mQGtiEx1Ikv5e+3OvhKVk
60uIn9ZFGslQ+qk+DxbPU9ziLU5+qiCLr8QnXwPfOuxXaDfqhhUYnjWNTxfz1pDmXpIb
1sywaLznUHCFs9s9dQb3rA3k7twU6Iaveq0r6i4x7AxOV7WF9KPgqzmVeLs6PfaAAxU5
muTyPKhchtHb7LB/d+/SPCdvfG3qvd/aqm1DFJOOMwDao0mL1nlrpHZcMlSEu8ijyH79
tniw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=LDZESFeFhnh8TN57HPt5yR5youb98F5l8UZy7BFERlo=;
b=xlkfzISQbmriaGPuuO683oVko0TWOSLQpLOGw6xxMYN60VH/2kVn5V3TLGS2w30eFI
Dh9nMskov35PXyZJBb5w39LnI5E0j398Bhn6zDvHka+ZxfI/PNtMy/bZxfF0N0aI4/8E
Wo371czWS8gvArc7PKJ/tM8Fedbm95rgzARVj+Pm1RjIi+ZOedN/Ifo13v4iJp2qhOEo
LaYHo1i1RWRDWqowJoSET60WtTyBT0ckrzJ9huiZuryOWSkS4CLg1R0FrSEHCRpd+TdH
jBXQMxh1ifPXk4pzbLk+yaLfRHCxxt03ZDCgE+Ii8/WOVwLmd5muY8ERdnVg2SF3FGeU
bVTQ==
X-Gm-Message-State: AOAM532zbz8jLymKHzWCrRSvrEjoeIuWmgfLD1kpLNyU+DOTIgE+nJjg
XsnNrZuKPELfRT3/OjlJW2iYhoLnkg4cVMgABHY5RXUY
X-Google-Smtp-Source: ABdhPJyHNsS04er40RT0UOZhtkBxcPzczT0Q1d4bT3EVW2K5V+mM3gnoC7ih0bZrEDySZE16zYOzPwXCVbBZQQrtpFU=
X-Received: by 2002:adf:cf05:: with SMTP id o5mr18924289wrj.325.1637994866182;
Fri, 26 Nov 2021 22:34:26 -0800 (PST)
In-Reply-To: <snoiri$usa$1@news2.informatik.uni-stuttgart.de>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmrEjiPJzQ9SkaDsFew-poQRVAisuENqwbwL6cDZujsmmQ@mail.gmail.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net> <sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmrdM=puoFg7aPEtbRi73NYN+6WHWb=FKHvqwK7pUcx+FQ@mail.gmail.com>
<cd2599b2-9428-26ee-7de9-9ecafc2adff1@Damon-Family.org>
<mailman.11.1637862528.9869.python-list@python.org>
<snoiri$usa$1@news2.informatik.uni-stuttgart.de>
 by: Chris Angelico - Sat, 27 Nov 2021 06:34 UTC

On Sat, Nov 27, 2021 at 4:47 PM Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
>
> Richard Damon <Richard@damon-family.org> wrote:
>
> > On a somewhat locked down computer, the user does not have admin rights,
> > so needs to get 'IT' to run any installers that need admin permissions
> > to run.
> >
> > And EXE that just needs to be copied to the computer and rhen just RUN,
> > doesn't need IT to 'install' it (they just can't put it into Program
> > Files, but that isn't really that important for programs that don't need
> > an installer.
>
> That's the situation for many of my users.
>

Several of us pointed out that you do not need admin rights to install
Python. Did you consider that?

ChrisA

Re: pyinstaller wrong classified as Windows virus

<mailman.41.1638143535.9869.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16262&group=comp.lang.python#16262

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: tony.fl...@btinternet.com (Tony Flury)
Newsgroups: comp.lang.python
Subject: Re: pyinstaller wrong classified as Windows virus
Date: Sun, 28 Nov 2021 23:52:05 +0000
Lines: 26
Message-ID: <mailman.41.1638143535.9869.python-list@python.org>
References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
<1a2f8847-49b5-c2ee-943f-cef46b9d5460@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de q8oMRG3wI+JDvAOqBlC9VA8iuMPDxvqtrUKsZclvBn8w==
Return-Path: <tony.flury@btinternet.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=btinternet.com header.i=@btinternet.com header.b=g85pC33s;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '(which': 0.04;
'subject:Windows': 0.07; 'python.': 0.08; 'angelico': 0.09;
'compiler': 0.09; '.py': 0.16; 'bundle': 0.16; 'compiled': 0.16;
'executable': 0.16; 'executables': 0.16; 'files),': 0.16;
'interpreter': 0.16; 'runtime': 0.16; 'wrote:': 0.16; 'python':
0.16; 'probably': 0.17; 'uses': 0.19; 'implement': 0.19; 'to:addr
:python-list': 0.20; 'machine': 0.22; 'code': 0.23; 'installed':
0.23; 'run': 0.23; 'cannot': 0.25; 'tried': 0.26; 'library': 0.26;
'bit': 0.27; 'chris': 0.28; 'header:User-Agent:1': 0.30;
'received:192.168.1': 0.32; 'distribute': 0.33; 'windows': 0.34;
'header:In-Reply-To:1': 0.34; 'source': 0.36; 'using': 0.37;
'received:192.168': 0.37; 'means': 0.38; 'single': 0.39;
'advantage': 0.40; 'files.': 0.40; 'received:213': 0.40;
'seconds': 0.40; 'your': 0.64; 'subject:virus': 0.84; 'them!':
0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com;
s=btmx201904; t=1638143527;
bh=lbdsXlcxl1xs1nQMJKWI+7DApkJQnnRRUHcPZMzNJBk=;
h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To;
b=g85pC33s9t60/vpg9z4XAa36S4QTP8inKnx0cPBMMO8IyxTvORubs3D5sFoCTLi9l9Qg3kUFKcYX8OJjzDzfCIyAVz3xuTc9SyRT6PgkqpTW0uKrgyZqEAelI4PiIAfdRqSnn0QGoUAyw0YWeCpQsFqZmGRteHt/0iqk2clCX2ipjbo7uY3h65/uQPZ3RT1Uhsm7008pTJBVCQ1SxFi1PcKc1f4PV/nnfov58+1TK2mBr/OTIhVtvzP8k6vMzNtb+6iT9RZEZS5zw8fhV8yUr1lzi1+i9MgVG106Fpu69TgIU5NMNyDFqmNE5lhezx/XE6Af6Ale0wqeZbE8hHAn7w==
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=tony.flury@btinternet.com;
bimi=skipped
X-SNCR-Rigid: 613A8DE80B57FD0D
X-Originating-IP: [81.131.231.54]
X-OWM-Source-IP: 81.131.231.54 (GB)
X-OWM-Env-Sender: tony.flury@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvuddrheejgdduiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefvohhnhicuhfhluhhrhicuoehtohhnhidrfhhluhhrhiessghtihhnthgvrhhnvghtrdgtohhmqeenucggtffrrghtthgvrhhnpeeugefgiefgheduudelhfdtkeeftdehuddtgffhudevieetvdefgeefvdfgjedukeenucfkphepkedurddufedurddvfedurdehgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudegjegnpdhinhgvthepkedurddufedurddvfedurdehgedpmhgrihhlfhhrohhmpehtohhnhidrfhhluhhrhiessghtihhnthgvrhhnvghtrdgtohhmpdhrtghpthhtohepfhhrrghmshhtrghgsehruhhsrdhunhhiqdhsthhuthhtghgrrhhtrdguvgdprhgtphhtthhopehphihthhhonhdqlhhishhtsehphihthhhonhdrohhrgh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-SNCR-hdrdom: btinternet.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
In-Reply-To: <snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
Content-Language: en-US
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.37
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <1a2f8847-49b5-c2ee-943f-cef46b9d5460@btinternet.com>
X-Mailman-Original-References: <snnkhf$mve$1@news2.informatik.uni-stuttgart.de>
<slrnspur9f.51o.dan@djph.net>
<sno092$prd$1@news2.informatik.uni-stuttgart.de>
<sno3qt$r1b$1@news2.informatik.uni-stuttgart.de>
<CAPTjJmq=w3iFDWjzNFAfpmAC=5kFZm1C8=Ex7Cwo2iwDVY_LHA@mail.gmail.com>
<mailman.8.1637859246.9869.python-list@python.org>
<snog1a$u4v$1@news2.informatik.uni-stuttgart.de>
 by: Tony Flury - Sun, 28 Nov 2021 23:52 UTC

Have you tried using Nuitka - rather than pyInstalller - it means you
distribute a single executable and the Python run time library (which
they probably have already), and it has the advantage that it is a bit
quicker than standard python.

Rather than bundle the source code and interpreter in single executable,
Nuitka actually compiles the Python source code to native machine code
(via a set of C files), and  this native executable uses the Python
runtime library to implement the python features.It does rely on you
having a Windows C compiler available.

On 25/11/2021 17:10, Ulli Horlacher wrote:
> Chris Angelico <rosuav@gmail.com> wrote:
>
>> Unfortunately, if you're not going to go to the effort of getting your
>> executables signed
> I cannot sign my executables (how can I do it anyway?), because Windows
> deletes my executable as soon as I have compiled them! They exist only
> for a few seconds and then they are gone.
>
>
>> another reason to just distribute .py files.
> I cannot do that because my users do not have Python installed and they
> are not allowed to do it.
>

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor