Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68596 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74589 invoked from network); 22 Aug 2013 11:30:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2013 11:30:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.179 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.179 mail-lb0-f179.google.com Received: from [209.85.217.179] ([209.85.217.179:59605] helo=mail-lb0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/7A-11927-966F5125 for ; Thu, 22 Aug 2013 07:30:49 -0400 Received: by mail-lb0-f179.google.com with SMTP id v1so1665928lbd.10 for ; Thu, 22 Aug 2013 04:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=XRkFlAWpNJyqAQGbrChOkY2HEP3xLMh1AGlbA09ITB8=; b=g0l1LcnPkqXZxL9QGmvUbRJHunEOn9wY7Ds7E0g2ocfqEjXANEqAZaunBm5oYPF2v8 IARHermc2xtm00ybi0+uZbKVadGbPruBPIAR/ZkPjWJ9OnUY4EJBpPhjRSgPyeqYWAR+ v0GULexeT5R3mWYkLpWWUPVnot0e+xNXPuR/EOlqYGm+fAksf1z6m5S7VikMbtLiP7Ey 1cze0HqIw/lDjyxZK7uUXXTBDjVXYbAjvYEgH+47FiY0z5Wjz9t9IkYsSxl8bu04tDEA MnRZuqRFqs/6ps4bikdjxZooE3Lc7+RqJcHyiQgzMIs9tp3stH81iIh8DGZoovPiVSny 6lUw== X-Received: by 10.152.120.228 with SMTP id lf4mr890468lab.44.1377171046348; Thu, 22 Aug 2013 04:30:46 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.127.233 with HTTP; Thu, 22 Aug 2013 04:30:06 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Aug 2013 20:30:06 +0900 X-Google-Sender-Auth: ciRQyx-jEr3h9_7CWnXoWEfcySs Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e01176915033e8504e4879f65 Subject: Re: crypt() should raise error without 2nd parameter From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e01176915033e8504e4879f65 Content-Type: text/plain; charset=UTF-8 Hi all, On Wed, Aug 7, 2013 at 7:18 PM, Yasuo Ohgaki wrote: > A user requested that crypt() should raise error without 2nd(slat) > parameter. > > https://bugs.php.net/bug.php?id=55036 > > crypt() without salt generates extremely weak password hash. In addition > to this, > PHP 5.5 has password_hash() > > This change should be applied from 5.5, IMHO. > > Any comments? > I've made RFC for this issue. https://wiki.php.net/rfc/crypt_function_salt Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --089e01176915033e8504e4879f65--