Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62973 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10548 invoked from network); 13 Sep 2012 11:33:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2012 11:33:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:54000] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/1B-34511-F94C1505 for ; Thu, 13 Sep 2012 07:33:51 -0400 Received: by iamm10 with SMTP id m10so2355984iam.29 for ; Thu, 13 Sep 2012 04:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=wPeIlBa5uyRDFHlrznuuvs/SsEEyN5EVTwIm/g3R3QE=; b=gSoxoxsW9kz32HJgbLLHnoPHHR/q9im1+812owV8yjkryDak+NW1REQ34m2IjEGlGc R6O4/1GYe6nSphd6fiwIworjSY03G1wUEapFL8dJGGYf+PpKNV0hPpKG9FUSFPQ/urwM pKOQDJpxHUT49PhK+7PRnZ2wrrQKKyBsw8uwqkMNSSJF3gEluLcVSgcTh3WP2LBs907x hgLMMXq6rT2gX70yE67KyG6OYuk9NNXDyNszBFIHy1QgJvZ+Sc+OSxAXzi4Tt0lfXtk+ XIWetjphUDslgRxijJTGJ2457N2XVgbxfjfk1dQGxThvtNeLd3UGNQJqLoJYLpobxDTF nb5Q== Received: by 10.50.194.130 with SMTP id hw2mr24254709igc.64.1347536028836; Thu, 13 Sep 2012 04:33:48 -0700 (PDT) MIME-Version: 1.0 Sender: nicolas.grekas@gmail.com Received: by 10.64.104.99 with HTTP; Thu, 13 Sep 2012 04:33:28 -0700 (PDT) Date: Thu, 13 Sep 2012 13:33:28 +0200 X-Google-Sender-Auth: 8yszhhArgLiF_6vxkJwYu849zw4 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=14dae9340bc752242604c993aee7 Subject: How about adding PHPass compatibility to the password hashing API From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --14dae9340bc752242604c993aee7 Content-Type: text/plain; charset=ISO-8859-1 Hi, What do you think about adding PHPass compatibility to the password hashing API ? We could add two new algos : PASSWORD_MD5 and PASSWORD_EXT_DES. That way, existing password crypted using phpass ($P$*, $H$*, _* prefix) could be verified using the password hashing API. PHPass implementation could then be merged with https://github.com/ircmaxell/password_compat to provide a forward compatible PHP Implementation for users without PHP5.5. ? Nicolas --14dae9340bc752242604c993aee7--