andkirby / commithook

CommitHooks code validation and auto-formatting commit message.
GNU General Public License v3.0
7 stars 3 forks source link

PHPError [2] mcrypt_encrypt(): Key of size 28 not supported by this algorithm. #76

Closed andkirby closed 8 years ago

andkirby commented 8 years ago

Error on command: ch config --password **** or on reading the same password.

[PreCommit\Exception]
  PHPError [2] mcrypt_encrypt(): Key of size 28 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supp
  orted at file D:\home\commithook\src\lib\Crypter\Crypter.php:49
andkirby commented 8 years ago

Fixed by adding a hardcode.