Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68396 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58783 invoked from network); 7 Aug 2013 10:18:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2013 10:18:59 -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.215.50 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:58031] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/56-06453-21F12025 for ; Wed, 07 Aug 2013 06:18:58 -0400 Received: by mail-la0-f50.google.com with SMTP id fn20so1073460lab.9 for ; Wed, 07 Aug 2013 03:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=6rLObwmSBEG5IbcUibAwEydfIUi7I2W5CFc3cvMvmTU=; b=ASr7cbW843beq2b62GUuliAsILOecyTezuQE5S//BkmiVtsugaNKDkrBb+SmPNtD65 5N9jLtoXNOYJMOFu91ML0ou1VBvFV2JS3RtYgMlOnYxx2xJxivL2b6mzpzwVvSzM8C1G +Q16vfkdhY2SdPEcZWk5/WDODqfisTMqDEnKn88P08Ta6bhpl63z79T7wvaO10tNogeb Wk1BSjSxWK8KcYJzWiaKd9jihoqGOK3NdOym37Tj4HLT3VxtYt9W3WLa6FqxDjKUtHYB 0rQr9ARl1NCiu1meboBsNXjghnM0OyO2epVq5ZOofVxLOj4fwsk+iU9LhUaj4/xiJVAF flLg== X-Received: by 10.112.219.102 with SMTP id pn6mr1379736lbc.18.1375870735278; Wed, 07 Aug 2013 03:18:55 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.127.233 with HTTP; Wed, 7 Aug 2013 03:18:15 -0700 (PDT) Date: Wed, 7 Aug 2013 19:18:15 +0900 X-Google-Sender-Auth: gn-9ZLV26vK2zn-0G7IeUNWbESk Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c3ca146ee79c04e358de75 Subject: crypt() should raise error without 2nd parameter From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c3ca146ee79c04e358de75 Content-Type: text/plain; charset=UTF-8 Hi all, 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? -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c3ca146ee79c04e358de75--