From nobody Tue Apr 26 15:15:22 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 58B0F1A986EB for ; Tue, 26 Apr 2022 15:15:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Knln70HNXz3pXG for ; Tue, 26 Apr 2022 15:15:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D81CC114E8 for ; Tue, 26 Apr 2022 15:15:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23QFFMaK063955 for ; Tue, 26 Apr 2022 15:15:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23QFFMiR063954 for ports-bugs@FreeBSD.org; Tue, 26 Apr 2022 15:15:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263586] security/py-pycrypto: not compatible with python 3.8 Date: Tue, 26 Apr 2022 15:15:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650986123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZZx8uCkU6szBltLiLMiVjf1C9TGjjXF/AL/KFH0PoVE=; b=w2JSMwXrak6es3lxBo7ooGGPr+1W/5ibR82dHuTNKEpXSF1v8yiFFKXDpBVNmBFx3FfGzC OJ7BErV7Flgb38V0+r2BVi9ABzw3YfXG4iv2QDqE1V5fiKKJ2ODJ5X5c1T7b4cpEN2VfXv kJ6KZT1oXFMH02QQI814fJnPRt3p7l+f/Qym6XZoxQBwQfmxiCr/TaCv8RaVy0fM0m5t3q iYZ/AveKyYW+sEHBSdD6OQWJiAS1CWt7FZdAVJaso4cBEf7rfqdaotYVh8wrcLtvuCaRt5 AnTAMcaQztDd+zdwGgiZjwjKhOPWSJrlXc6y43/F2Wh4YX/qUmPg7FuCYgoPMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650986123; a=rsa-sha256; cv=none; b=IL2CoTlWj97W6IoYS35QbqonhT+hdMYwunWJeEkR+irN/jMsHz+MgAPp/Zd6K8MFKcF0WR TzNB9IX/CqoqHysJWQYptRqOgN4prDK2urf7tWudphFUZG+ruk7Q3SPYPKY38495wojjmp TZPIZuliFKOSddzV+wnuuAxTu1rGP9ixAGk3wlNYixyJA0uIGH4fBHMIXM8wT7HhISSa4Y TR/iz8ursQoctGZEo6QxvpxO67KEo5AD1opKxBpRVV53Smj9iI2t/5ajvf2l/Rui94vidI 3MnmfrU2b7JCTt1ueElGTXOX3w9tKBDnJ9RNA1G3NFT11XFz1WYGaLWhtS2CDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263586 Bug ID: 263586 Summary: security/py-pycrypto: not compatible with python 3.8 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: amdmi3@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) - pycrypto is no longer maintained (see https://www.pycrypto.org/) - it's also not compatible with python 3.8, for instance it uses time.clock= () (https://github.com/pycrypto/pycrypto/blob/master/lib/Crypto/Random/_UserFr= iendlyRNG.py#L77) not present in python 3.8 (which results in problems such as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263585) So: - The port should be marked DEPRECATED - time.clock() call should be replaced with something compatible, for the t= ime being For instance, this may work: self._clock_es.feed(struct.pack('=3DQ', time.monotonic_ns())) Instead of fractional part of time.clock() converted to 4 bytes, it feeds 8 bytes of monotonic time with nanosecond precision, which should be even more random. --=20 You are receiving this mail because: You are the assignee for the bug.=