php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10927 mycrpt no longer works in 4.0.5
Submitted: 2001-05-17 11:26 UTC Modified: 2001-06-12 16:40 UTC
From: chris at gameshrine dot com Assigned: derick (profile)
Status: Closed Package: mcrypt related
PHP Version: 4.0.5 OS: FreeBSD
Private report: No CVE-ID: None
 [2001-05-17 11:26 UTC] chris at gameshrine dot com
We have just upgraded to the latest version of PHP in order to take advantage of some new features, particularly those dealing with arrays.

Our user accounts store (amongst other things) two variables, the username and password in a mySQL database.

The password is encrypted using mcrypt. The key for which is provided by generating an md5 string of the given username. decryption does not occur; encrypted strings are compared for similarity using strcmp().

Ever since we upgraded to 4.0.5, *all* mcrypt functions are failing - no encryption takes place and PHP returns no error, simply failing to produce anything. 

Please fix this ASAP. This is not a code issue, it is an issue with the mcrypt functionality since the latest release of PHP. 

Many thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-17 12:34 UTC] derick@php.net
Hello,

I find it very strange that mcrypt does not report any error. (Are there things about a Signal 11, or Segmentation fault in your apache error_log?)
mcrypt works fine here, on both my development server here (Linux) and another production server (OpenBSD).

Do I correctly understand, the strings you want to encrypt are not being encrypted?

Derick
 [2001-05-18 17:18 UTC] derick@php.net
Status: feedback
 [2001-06-12 16:40 UTC] kalowsky@php.net
marking as closed, no user feedback.  if untrue please reopen the bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC