summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/Utils/Crypto.php
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate the certFingerprint option.Thijs Kinkhorst2016-08-051-2/+2
| | | | | | Issue a notice when the option is used nonetheless. Closes: #432
* Be explicit when checking if there's a salt defined or not.Jaime Perez Crespo2015-07-311-1/+1
|
* Reimplement \SimpleSAML\Utils\Crypto::aesDecrypt() and ↵Jaime Perez Crespo2015-07-201-51/+30
| | | | \SimpleSAML\Utils\Crypto::aesEncrypt() to use openssl instead of mcrypt. This removes the direct dependency on mcrypt and closes #228.
* Move the aes[En|De]crypt() functionality in \SimpleSAML\Utils\Crypto to ↵Jaime Perez Crespo2015-06-201-9/+44
| | | | internal methods where the secret is passed as a parameter. Then we don't need a working configuration to test the functionality.
* Use InvalidArgumentException instead of SimpleSAML_Error_Exception when ↵Jaime Perez Crespo2015-04-231-19/+35
| | | | dealing with wrong input parameters.
* Move SimpleSAML_Utilities::resolveCert() to ↵Jaime Perez Crespo2015-04-231-1/+1
| | | | SimpleSAML\Utils\Config::getCertPath() and deprecate the former.
* Move SimpleSAML_Utils_Crypto to SimpleSAML\Utils\Crypto.Jaime Perez Crespo2015-04-201-27/+28
|
* Move SimpleSAML_Utils_Config to SimpleSAML\Utils\Config.Jaime Perez Crespo2015-04-201-2/+2
|
* Move SimpleSAML_Utilities::getSecretSalt() to ↵Jaime Perez Crespo2015-04-161-2/+2
| | | | SimpleSAML_Utils_Config::getSecretSalt(). Deprecate the former and stop using it.
* Schedule SimpleSAML_Utilities::generateRandomBytes() for removal. Deprecate ↵Jaime Perez Crespo2015-04-161-2/+2
| | | | and stop using it.
* Move loadPublicKey() and loadPrivateKey() in SimpleSAML_Utilities to ↵Jaime Perez Crespo2015-04-161-0/+136
| | | | | | SimpleSAML_Utils_Crypto. Mark the old ones as deprecated and schedule them for removal in 2.0.
* Move aesEncrypt() and aesDecrypt() in SimpleSAML_Utilities to ↵Jaime Perez Crespo2015-04-161-0/+80
| | | | | | SimpleSAML_Utils_Crypto. Mark the old ones as deprecated and schedule them for removal in 2.0.
* Reformat SimpleSAML_Utils_Crypto. Remove ↵Jaime Perez Crespo2015-04-161-136/+95
| | | | SimpleSAML_Utils_Crypto::apr1Md5Hash() and SimpleSAML_Utils_Crypto::apr1Md5Valid(), since we are using now an external library for that.
* Drop obsolete SVN $Id$ keywords.Thijs Kinkhorst2014-07-091-1/+0
|
* Remove more legacy code that's no longer necessary since we are requiring ↵Jaime Pérez Crespo2014-02-091-1/+1
| | | | | | PHP >= 5.3.0. Deprecate SimpleSAML_Utilities::generateRandomBytesMTrand(). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3362 44740490-163a-0410-bde0-09ae8108e29a
* authcrypt: Add Htpasswd authentication source.Olav Morken2011-11-041-0/+59
| | | | | | Thanks to Dyonisius Visser for implementing this! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2974 44740490-163a-0410-bde0-09ae8108e29a
* Utils_Crypt: Fix PHP start tag.Olav Morken2011-11-031-1/+2
| | | | | | | Avoid using the short tag style, since it may be disabled. Thanks to Thijs Kinkhorst for identifying this bug. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2973 44740490-163a-0410-bde0-09ae8108e29a
* Add support for hashed passwords & add authcrypt:Hash authsource.Olav Morken2011-10-281-0/+83
Thanks to Dyonisius Visser for implementing this. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2962 44740490-163a-0410-bde0-09ae8108e29a