Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:124662
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 EA95D1A00B7
	for <internals@lists.php.net>; Sun, 28 Jul 2024 06:42:35 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail;
	t=1722149052; bh=kUiN1g6TCxhw2wn6+M5QUI/glZaVXdBE5sxSW94I4XQ=;
	h=Date:From:To:Subject:In-Reply-To:References:From;
	b=BCgC+WsVrNQtt24Ql+HxAp/wL+eEfMTp+7U4+q/s2t02qG+2whSXiY0c35ukWJZCt
	 pg8Wzt4/m1yCtBqn/qafGhgvHBUV7vR3q1r65f1vt4IU+A1xN3Zcn/Bh6Fzm4t9opZ
	 ZGCCwg6Z6pzf1pQWqQppqITMoApbAhyUWhduvcsuNJBA2M+yr2XAlKEpTXzNIGabvu
	 AlxJ2z3DhC3igBEORc/xQJLQGx0NabZio04l9zC16mFfvP9ZJ0VOY0ri0LgGYexEtz
	 5BdXvLTRb+GOWqhJY+yCs7YQlb9cibK056sA8OCRY/f9k4w6cVhwrjyTDN5Ju1PL1g
	 IIiU/6k6/XOnA==
Received: from php-smtp4.php.net (localhost [127.0.0.1])
	by php-smtp4.php.net (Postfix) with ESMTP id A5263180052
	for <internals@lists.php.net>; Sun, 28 Jul 2024 06:44:10 +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: <imsop.php@rwec.co.uk>
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 <internals@lists.php.net>; Sun, 28 Jul 2024 06:44:09 +0000 (UTC)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
	by mailfout.nyi.internal (Postfix) with ESMTP id 0C1CB1380606
	for <internals@lists.php.net>; Sun, 28 Jul 2024 02:42:33 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
  by compute2.internal (MEProxy); Sun, 28 Jul 2024 02:42:33 -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=1722148953;
	 x=1722235353; bh=kUiN1g6TCxhw2wn6+M5QUI/glZaVXdBE5sxSW94I4XQ=; b=
	lkq8DRlYWWZ/D0RSopcD5zxmyJIBVZ+ErqnCRRAjvze/ljUlrV1TYLktd793FUHf
	Bdotgx2wMw/FD1xbrpZAAeaVhRmypzWNHOy+v/tADZZ4u2H9AxJI0xjfgCcAPLcw
	HIH3zIZeT6Ba6u0Q6biAlT/Z/rYAcVv0cnDUZ8ZBHFaXGtIVZQxtXA9XnzmmtljT
	Qyl7aNJbRaQsRd1tUf/M3SDQ8m/7YQ9NKfZ7Q8cxDrCqCw5NkIMe9lp2nUyYaWXO
	9cr+HspuurAuGXFQ26RXpu5ahSrkxoWuRFo2wrs7SqjeLgNWtSiwg518oXbr9LvE
	w3v2k0ly12bSOzO/c2PmnQ==
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=1722148953; x=
	1722235353; bh=kUiN1g6TCxhw2wn6+M5QUI/glZaVXdBE5sxSW94I4XQ=; b=r
	0qalqSI1E+jfeSDHrqxEcscREMsCHPhMatvBSgNMxkN88YIKZ4olcmiNPVGTuOgL
	Ix9kWQgSCUWELY0o111LTsG4GpC7J3LHeGupLf1S0ROObk8djKZgN85fvctKjDUy
	/U3R8XoXlYTROMB8FGgV6ArUBlqdbnNoYXuXv+sVTGUXkHSe/Ht2uzt7u0gZtcfI
	cBvuYy/srh0L7vWYyBfhS680IYHKaG9faV2FgxhV6BhzEFfJAgvToai2krmcUe43
	mQ/2vt8FQ1d5/kKwZdkbYSEvFlHW0P0fHx8YZzMHeJrjckZAHQ9XP5CpvMigMct5
	+EiVd+InAGQJybsS7MPwQ==
X-ME-Sender: <xms:WOilZgJ9dpaGcXjtG861jOcF7jNlY-ldTSvBlf09T6rlOnT8Q0IJzQ>
    <xme:WOilZgIikcYsc1TNKxJ0K1KQFQ1YMAfTIKxGm0kMa-rj5PQ1qwpaVzGd5_e4RAfDv
    VECb16zzAkKz6WYn4c>
X-ME-Received: <xmr:WOilZgufkf295DtMnqoLoKbhV1jXulD-stkcceCmFUZzIbknP9TIQmHn9or5UBskUANWTQzNu8slBkvzSkescDnn8kMjyO0QLpieXXRQIHm9YATAeGxK>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrieelgddtjecutefuodetggdotefrodftvf
    curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
    uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffufggjfhfkgggtgfesthhqmh
    dttderjeenucfhrhhomhepfdftohifrghnucfvohhmmhhinhhsucglkffoufhorfgnfdcu
    oehimhhsohhprdhphhhpsehrfigvtgdrtghordhukheqnecuggftrfgrthhtvghrnhephe
    elffetiefgveduteefudegtdduveeludegueegleehiefhhefgtdekveevgfelnecuvehl
    uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhmshhophdrph
    hhphesrhifvggtrdgtohdruhhkpdhnsggprhgtphhtthhopedt
X-ME-Proxy: <xmx:WOilZtYF7DiaxoxxXhwlK5M7K53i-SoFdzHNGSdmNAOk5BIGZHuLoA>
    <xmx:WOilZnaESHsWrH85R53wX-g95UBcdjUqAOKfa5RBb9hdYrHyAoPbsg>
    <xmx:WOilZpAGkZaTbCA1613o8bs7exCUrYP85BfwE5ShWqN3UqcO0mUCcw>
    <xmx:WOilZta8AsctSItWk5HIKk_JhVvu1aMsszBn7mYuETYBAcrpicRWMg>
    <xmx:WeilZuy1UcsPS1_juNyDeRxFyW3C-bTUvH0Chj2zgvjIA_w-huM3E02N>
Feedback-ID: id5114917:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <internals@lists.php.net>; Sun, 28 Jul 2024 02:42:32 -0400 (EDT)
Date: Sun, 28 Jul 2024 07:42:29 +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: <0824789d-0e36-4628-85c1-4b8d9b7f86af@varteg.nz>
References: <USzt7tZZlO1DmAbSTLhD-bqa23FqZn0zk2aah8Ndxgk9c7RY5PefQ8MjbYPUYAzr2_m4Cf-5AI4PuNBTS84rim_FNS6RaT-cWSv714HEvvU=@gpb.moe> <1a88918e-e808-d778-45e1-53797660e093@php.net> <CAPrKfG5Cw_nU7g7FR+t4C1-YZ8CDsDO_-sRs=yEsHO5kCTZL+A@mail.gmail.com> <c03eb187-bd21-4a4b-9faf-8d0243eaa994@varteg.nz> <aa6bc7aa-28d9-40ca-974f-65075adb6199@rwec.co.uk> <3563cf9b-8eab-4c82-b525-a5d2f9a767bb@varteg.nz> <38920A4B-790D-48C7-B2F6-C49D3F506232@rwec.co.uk> <0824789d-0e36-4628-85c1-4b8d9b7f86af@varteg.nz>
Message-ID: <F791876D-1A33-4DB7-938A-DEC048493D87@rwec.co.uk>
Precedence: bulk
list-help: <mailto:internals+help@lists.php.net
list-unsubscribe: <mailto:internals+unsubscribe@lists.php.net>
list-post: <mailto:internals@lists.php.net>
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 27 July 2024 23:14:32 BST, Morgan <weedpacket@varteg=2Enz> wrote:

>Why a SHA2 algorithm? Why not a SHA3 one? How about standalone functions =
for both, and then when SHA4 comes along (as it inevitably will) another st=
andalone function for one of its variants?

You tell me=2E As I have repeatedly said, I don't actually know anything a=
bout these algorithms=2E SHA-256 is the only one on the list which I've hea=
rd of, and I'm aware it's newer than SHA-1=2E I don't know why SHA-512 isn'=
t "better", I don't know why nobody talks about SHA-3, and I don't know if =
one of the others in the list is absolutely amazing and should be everyone'=
s default forever=2E=20

As far as I can see, nobody, in this whole discussion, has actually steppe=
d up and explained what users should be using, once we have taught them tha=
t MD5 and SHA-1 are bad=2E


>Or leave them them the 60-piece set (which includes flat-head and Phillip=
s screwdrivers, so they're not being taken away), and write some tips on ho=
w to use it correctly=2E

So go ahead and write those tips=2E You don't need an RFC vote to improve =
the documentation=2E=20


Here is my offer to those arguing in favour of this deprecation: If you sh=
ow me a draft of a comprehensive improvement to the manual to explain how u=
sers should be choosing a hashing algorithm, I will consider changing my vo=
te=2E

I am also happy to help with proofreading, and working out how to format i=
t into DocBook that fits nicely in the manual=2E=20

As long as the deprecation rests on "somebody in the next 10 years might g=
et round to improving the manual", my vote remains a firm No=2E


Regards,
Rowan Tommins
[IMSoP]