Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117108 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 26409 invoked from network); 21 Feb 2022 16:18:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Feb 2022 16:18:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 01691180549 for ; Mon, 21 Feb 2022 09:37:29 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 21 Feb 2022 09:37:28 -0800 (PST) Received: by mail-wr1-f53.google.com with SMTP id k1so28364309wrd.8 for ; Mon, 21 Feb 2022 09:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=+JPHlnf75MNxOdczCz1uU1Epk8IpDeWV06uqgza0ILg=; b=Hz889ON+MTvvoac5YFCDjpaMr3Tf7S0Dygc1NPKdp3h76lPjwMutj2QLZpaUF7uByv hOuc9kksS9eOotszfe9I7DNMLixyB038MmYw5VbDjaBJCgW9QuCu4yBUhbjc5YTtvv8w Vt17Bbt7Et1SQ5ZRj5h7hK6kx0t7EoN33WH0/cNTuqSnTtkACl5pm9wri6KWcZFoVKW5 IreK4QVsGzR2ugRG50rYn5j6wEA7QLOy/KW8Ig5uzoFO48Ch9SN60189cd6fZOTySIUE dk/exsYJET6Pbpf9DsncElV1r7uLx6Ml1MGeEfYGVzoXPO+Eyl+IPH+vYjIXeZmi7FzN xCeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=+JPHlnf75MNxOdczCz1uU1Epk8IpDeWV06uqgza0ILg=; b=YMMrkNrtDaGMGMwO6KP8Z6ZRoJMahuxbqkst/nd5d7qW99FN6c0KAXz8YGh2JP2uwi MxWaw5aP4qSxzaO+zDE572wccv2EWgEbEAvU99UoaBd6szhmn/XIpXluYnHAV0iEhNvr ChQXxohTMrsiOo4RWKm54/3momRxxGffAh5ciAupGLqd8m3+wECRLXT2QGgAOfWad5ve 0bFAc+WeHa8q/XdACUzM2VUx+5yPa9btg4wVN/DFr9vrUdnU1WXtWtHxcJcQ/y68X/l6 etzMhMoGGSO/NL7Vapy5pahykJugUHVLFBv+9/xY8zmEklGpJ+f69IokwxRDg2voNfLo 6L+g== X-Gm-Message-State: AOAM532Zc6XCodtTlwOaqk3gH/p3DoGqCYWFJaxGKK4gOprF4lm0jOwU sj5Xocx23ffyish7SUACleIp0HtIaX66rw== X-Google-Smtp-Source: ABdhPJzBcAsAEhOMQiDWC5kVy8Ul0NYTKD+j2gOH/6lDJqeowh6CY9UpMKhbMVIaxi4zmfyVh0PMhQ== X-Received: by 2002:a5d:6511:0:b0:1e5:9467:e7b5 with SMTP id x17-20020a5d6511000000b001e59467e7b5mr17185027wru.307.1645465047343; Mon, 21 Feb 2022 09:37:27 -0800 (PST) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id v17-20020a05600c12d100b0037c918292d4sm12775wmd.28.2022.02.21.09.37.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 09:37:26 -0800 (PST) Message-ID: <28ae01a2-b729-a71a-4390-e9f71cbde0c1@gmail.com> Date: Mon, 21 Feb 2022 17:37:25 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-GB To: internals@lists.php.net References: <5983302.2649742.1645319015766@email.ionos.com> <6238bf00-011e-35cc-d84b-4082b4f05099@gmail.com> <497325306.1564942.1645357444018@email.ionos.com> <3c6871ca-589d-6812-800c-a3b9ad6bb575@bastelstu.be> <40015164-ac0c-336d-c7d6-c4766d6caff8@gmail.com> <1846031176.2904638.1645461835527@email.ionos.com> In-Reply-To: <1846031176.2904638.1645461835527@email.ionos.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC proposal to deprecate crypt() From: rowan.collins@gmail.com (Rowan Tommins) On 21/02/2022 16:43, steve@tobtu.com wrote: > If crypt() is removed, you can still use password_verify() to verify all the password hashes created by crypt(). The only thing you lose is creating those bad password hashes. Which can be done in userland because most people aren't changing their passwords daily. So it will run that slow userland code infrequently. What "slow userland code"? Is there an implementation of the legacy crypt hashing function in pure PHP out there somewhere? I certainly wouldn't be confident writing one. Regards, -- Rowan Tommins [IMSoP]