terrafrost
ca2c9588ea
Merge branch '3.0'
2023-02-05 23:47:08 -06:00
terrafrost
2487192558
AsymmetricKey: error out on unsupported operations
2023-02-05 17:44:51 -06:00
Jack Worman
985b3c4f7c
Throw \phpseclib3\Exception\ExceptionInterface exceptions
2022-09-26 07:41:32 -05:00
terrafrost
62f7c8aa10
CS tweaks
2022-08-23 21:26:31 -05:00
terrafrost
0b9b0074c9
backport more dynamic property fixes
2022-08-23 20:01:11 -05:00
terrafrost
32e85c2145
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2022-08-13 16:52:58 -05:00
Jonny Fonsato
5411695c0b
changed as mentioned by Terrafrost
2022-07-28 16:38:51 +02:00
Jack Worman
510a93a50a
Php 7.3
...
- Update php requirement to >=7.3
- Add php-cs-fixer rule: @PHP73Migration
2022-07-22 21:45:53 -05:00
terrafrost
a95abeb4c4
Merge remote-tracking branch 'jworman/Php_7.1'
2022-07-22 18:29:53 -05:00
terrafrost
57031bdf9a
Merge branch '3.0'
2022-07-15 15:32:05 -05:00
Anthony Ryan
dd9146e259
Fix return type comment on Crypt/RSA::createKey()
...
Function returns a Crypt/RSA/PrivateKey and updating
the PHPDoc for it will help with static analysis.
2022-07-15 15:30:47 -05:00
Jack Worman
e210166f43
Php 7.1 Upgrade
2022-07-08 08:37:58 -05:00
Jack Worman
86ef8ef262
2nd round of comments
2022-07-02 16:47:49 -05:00
Jack Worman
beafe2a8a1
1st round of comments
2022-07-02 16:26:17 -05:00
Jack Worman
97902d4bd3
Upgrade to PHP 7.0
2022-07-02 16:26:15 -05:00
terrafrost
e0adfa1712
backport select type hinting changes from master branch
2022-06-18 17:42:01 -05:00
Jack Worman
8855351cbb
Remove_@access
2022-05-04 01:35:56 -05:00
terrafrost
301aad4764
RSA: conditionally call useBestEngine() when getEngine() is called
2022-03-20 11:30:24 -05:00
Jack Worman
ea9f6540f3
PSR12 fixes
...
PSR12 fixes
2022-02-19 17:06:13 -06:00
Jack Worman
ef66d9f7dd
php-cs-fixer ci
...
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
a85c2f0d6e
RSA: rm unused privateKey variable
2021-11-22 08:13:55 -06:00
terrafrost
f61cce9c83
RSA: misc fixes for "without NULL" PKCS1 signature validation
2021-04-03 17:50:28 -05:00
terrafrost
ae15ac69d0
Merge branch 'moosa-2.0' into moosa-3.0
2021-04-03 17:12:38 -05:00
terrafrost
43eeb853f1
Merge branch 'moosa-1.0' into moosa-2.0
2021-04-03 16:47:37 -05:00
terrafrost
4a3e08c273
RSA: tweak to new validation method
2021-04-03 16:33:23 -05:00
terrafrost
9af9d69c19
RSA: support "strict" PKCS1 sigs without NULLs
2021-04-03 16:00:42 -05:00
terrafrost
e9f79655db
RSA: use OpenSSL for generating private keys
2021-01-28 09:49:15 -06:00
terrafrost
85a844bab1
RSA: CS adjustments
2021-01-26 22:58:45 -06:00
terrafrost
8e7acd8842
Merge branch '1.0' into 2.0
2021-01-16 10:32:10 -06:00
Jan Slabon
e5a226f6be
Added support of keys with PSS algorithm-identifier
2021-01-16 10:31:56 -06:00
terrafrost
5f8ca76d0f
RSA: the salt length, if not specified, is the length of the hash
2021-01-14 08:11:53 -06:00
terrafrost
bfb49c06e8
RSA: throw exceptions instead of returning false
2021-01-13 12:08:23 -06:00
terrafrost
7b7d254a6c
rm docblock templates
2020-12-30 09:08:05 -06:00
William Desportes
480af6b980
Merge branch '2.0' into 3.0
2020-09-09 10:46:22 +02:00
William Desportes
05f6467b1d
Merge branch '1.0' into 2.0
2020-09-09 09:56:23 +02:00
William Desportes
2ae683479a
Fix phpdoc errors
2020-09-09 09:43:26 +02:00
terrafrost
0747be3d27
Merge branch '1.0' into 2.0
2020-08-01 04:06:57 -05:00
Vincent Langlet
05a564c136
Return false by default
2020-07-30 15:42:02 +02:00
terrafrost
0b231cc53b
RSA: rm ENCRYPTION_PKCS15_COMPAT mode
2020-04-19 15:10:38 -05:00
terrafrost
881fbd78ee
Hash: add __toString() method
2020-04-19 09:19:27 -05:00
terrafrost
327a13d133
$key->getLoadedFormat didn't work on EC / DSA keys
2020-04-08 05:07:47 -05:00
terrafrost
5d5ed4a449
RSA: fix for RSA PKCS1 public keys masquerading as public keys
2020-03-29 23:31:13 -05:00
terrafrost
3ba5902046
RSA / X509: misc fixes (mostly related to PSS)
2020-01-04 16:26:55 -06:00
terrafrost
653dbd7f94
rename phpseclib/phpseclib to phpseclib/phpseclib3 for 3.0 branch
2019-11-21 19:38:03 -06:00
terrafrost
e36f9388cb
Merge branch '1.0' into 2.0
2019-10-20 13:27:24 -05:00
Brice Figureau
207cd0f4ea
( #1423 ) make PSS verification work for non power of 2 keys
...
RFC3447 doesn't require RSA public keys to be power of 2 keys.
The actual validation code doesn't work when trying to verify
a PSS signature generated with a non power of two key.
This small patch adds support for such keys.
2019-10-20 13:27:01 -05:00
terrafrost
e73f1ec910
fix PHP4 compatibility issue
2019-09-22 10:30:58 -05:00
terrafrost
5573187f3d
rm $type parameter from AsymmetricKey::load and add loadFormat()
2019-06-28 08:51:12 -05:00
terrafrost
0abce39e39
move $enableBlinding property from AsymmetricKey to RSA
2019-06-27 00:30:55 -05:00
terrafrost
7012e72488
mv Keys/ and Signature/ to Formats/*
2019-06-25 07:52:45 -05:00