Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124680 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 255251A00B7 for ; Mon, 29 Jul 2024 22:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722290784; bh=0Hr/AT6ynBNNsjH9/SONeloYilLHw2P/gZNodOkpoKc=; h=Date:From:To:Subject:In-Reply-To:References:From; b=c8FFUbIzSfXcY6Bd5NiEtiiqZ3roYdJ/z+hG/21GoZgpPQ7eLhhv1bcUOIBCl6pyU wACWTUM3r15KSd3KzeAIgpA+CbfxdCyFOlMrxguJpkTjyCu0nUKHWM47Raue0+QsU4 3nKecpEwHEdPOY3znwPU7s+VU2sxVelQ4h0Vsmjfx24+dbzS3Q2dZFlMyBZ+o+Uo1W G3fWqB7SdPoYpJU56TLIkFwAw2D8HCQZx0MuBpAwHIiBeonkprJwKcP5pa2BDgGOiw 4EzZ3G5GC+W8496E4KZZteUR8qMvodk4hlFhyS3IM3zqYQw6oJfJWrzYfdFTg+XV1v NldWa17XwdVgg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 98C1718003E for ; Mon, 29 Jul 2024 22:06:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 29 Jul 2024 22:06:21 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id DC01913801FC for ; Mon, 29 Jul 2024 18:04:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 29 Jul 2024 18:04:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1722290683; x=1722377083; bh=0Hr/AT6ynBNNsjH9/SONeloYilLHw2P/gZNodOkpoKc=; b= qwM7m7Tbns6CJrkdEXaDIa57MVhWgArPRU6goC+fjm35aAL3G56Zer44XfeQ/bJT KouDP65coVaJdjKQxIauLRREoit+3cZwQlFa110c8LXZS99oAVGZFgKzH14LeoLk wxVDjGFCNeR+dZlDyKN+8XDDcTUW0FEnjxR8TL163OJ8V0e1jNZOw0YXGNYF5vEQ fdC1xCdHQkzPNrOrW+92JY0uykNADSEgfhUYG/49qENFgd81zSQC6ZGTMpTo9GfE P3LkbDZZmg1uRFeZj+ian6/c3TJNELOUaGV+blgn9QYFn4b9ch3zRIIvzkjkInYX icq4BXaUQFQzge/yl454zg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722290683; x= 1722377083; bh=0Hr/AT6ynBNNsjH9/SONeloYilLHw2P/gZNodOkpoKc=; b=N Tp8TjXp70zdqWCgdsEiH0typtHs4Wy6q3AE0T3KPMIokEWwWQ6VYaTpRat0pPPAd RinDnxjidPQue8FpSKXqeGPrQk64mAyodmc3n3wcREIMhkbq8bHxoM50qqM6QM7P +iqC/1q46alxjOo1U6B5YddXHA/j04o/UESshSFu58zpoKAZLYFNo9R2kghmXmgr HwHtdROyf6gH7KN5+ntpcKPHJbvGgZ+7wj1Dq3kkeCL6naXDjL/C7zy2tRgO3kG2 hq1FUBgl97I9am6y0gp7IOKtCSJLc/Sf6tJrteFHTwtlJgSu255qY9d2kyAPciZM qNBK9TE00wG8hxoSoEg+w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeefgddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddqiedmnecujfgurhepfffhvf fufggjfhfkgggtgfesthhqmhdttderjeenucfhrhhomhepfdftohifrghnucfvohhmmhhi nhhsucglkffoufhorfgnfdcuoehimhhsohhprdhphhhpsehrfigvtgdrtghordhukheqne cuggftrfgrthhtvghrnheptdejlefguedujeelheejveehffejgeekfefhkefhudekgefg ffehieeggfekgfeinecuffhomhgrihhnpehnihhsthdrghhovhenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprdhphhhpsehrfigv tgdrtghordhukhdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 29 Jul 2024 18:04:42 -0400 (EDT) Date: Mon, 29 Jul 2024 23:04:35 +0100 To: internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4 User-Agent: K-9 Mail for Android In-Reply-To: <5a032505-e654-414d-ac00-5c9f2a17495f@varteg.nz> References: <1a88918e-e808-d778-45e1-53797660e093@php.net> <3563cf9b-8eab-4c82-b525-a5d2f9a767bb@varteg.nz> <38920A4B-790D-48C7-B2F6-C49D3F506232@rwec.co.uk> <951AA94A-8C07-446E-925C-15BB97F146A4@newclarity.net> <5a032505-e654-414d-ac00-5c9f2a17495f@varteg.nz> Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 29 July 2024 21:00:37 BST, Morgan wrote: >That still doesn't protect md5() and sha1() from deprecation; if there is= a PHP-mandated default hash algorithm that gets its own name, then users s= hould be encouraged to use that one, which means not leaving the others lyi= ng around to for it to hide among=2E Anyone who needs to continue to suppor= t the old algorithms can =2E=2E=2E use hash()=2E Absolutely=2E If someone wants to write a proposal to do that, I'd probabl= y be willing to support it=2E Until then, there's no reason to disrupt user= s of the existing functions, when there's no clear message of what they are= doing wrong=2E >When it comes to advice about which to use, that seems less the purview o= f a PHP reference manual for the function, and more something like >https://csrc=2Enist=2Egov/projects/hash-functions If hash() exists only as a function for power users who already know somet= hing about the subject, then yes, maybe=2E If we're telling everyone to loo= k it up when they thought they were going to use sha1(), then we need to gi= ve them something to read when they get there=2E Regards, Rowan Tommins [IMSoP]