f715b29289
Merge
2019-12-12 21:07:09 +01:00
terrafrost
f1d04b23db
Merge branch '3.0' into phpseclib3
2019-11-23 01:55:36 -06:00
terrafrost
ea27295c8f
SSH2: ssh-ed25519 keys didn't work
2019-11-23 00:58:12 -06:00
terrafrost
653dbd7f94
rename phpseclib/phpseclib to phpseclib/phpseclib3 for 3.0 branch
2019-11-21 19:38:03 -06:00
terrafrost
e7e563d0ce
Merge branch '2.0' into 3.0
2019-10-20 13:45:06 -05: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
71ced69714
SSH2: add support for EtM
2019-09-09 01:18:33 -05:00
terrafrost
580eb94fd3
SSH2: add umac-64 / umac-128 support
2019-09-08 11:23:29 -05:00
terrafrost
8608463d61
Hash: add support for UMACs
2019-09-07 14:46:55 -05:00
terrafrost
eddbdcc66c
don't re-generate Eval mode stuff when only IV has changed
2019-09-06 05:37:13 -05:00
terrafrost
23ffa6452e
revisions to gocom's code changes
2019-08-28 07:16:24 -05:00
Jukka Svahn
488433e10f
Fix mode mapping order and param type
2019-08-24 02:06:45 +03:00
terrafrost
422523cf43
EC: make libsodium an insvisible key format
2019-08-09 09:19:01 -05:00
terrafrost
68f3d7d8af
add support for Curve448
2019-08-08 22:38:42 -05:00
terrafrost
7cf5facae7
DH: add Curve25519 unit test based off of RFC7748 test vectors
2019-08-08 08:00:37 -05:00
terrafrost
f04d69a3eb
Merge branch 'master' into diffie-hellman
2019-08-07 08:09:36 -05:00
terrafrost
1e7453b585
add a new diffie-hellman key exchange class
2019-08-06 22:10:56 -05:00
terrafrost
dfde088d4c
visiblity adjustments for PHP 7.4
2019-08-03 16:42:40 -05:00
terrafrost
cb1e6b285c
for private key's, load works but loadFormat would be better
2019-06-28 09:30:46 -05:00
terrafrost
eb659a5544
set password in load methods for each pubkey instead of in loader
2019-06-28 08:58:20 -05:00
terrafrost
5573187f3d
rm $type parameter from AsymmetricKey::load and add loadFormat()
2019-06-28 08:51:12 -05:00
terrafrost
289ae55f9f
rename ECDSA -> EC
2019-06-27 23:15:25 -05:00
terrafrost
0abce39e39
move $enableBlinding property from AsymmetricKey to RSA
2019-06-27 00:30:55 -05:00
terrafrost
25dab4b5ae
move traits to Traits subfolder
2019-06-26 00:42:02 -05:00
terrafrost
7012e72488
mv Keys/ and Signature/ to Formats/*
2019-06-25 07:52:45 -05:00
terrafrost
d7abfaadbc
X509: rm $signatureAlgorithm parameter from signature methods
2019-06-24 18:24:14 -05:00
2dc143a486
Performance improvements
2019-06-17 12:22:52 +02:00
c62fc0c733
Enable openssl w/ IGE
2019-06-16 11:26:44 +02:00
2dc68c809f
Rewrite IGE
2019-06-15 21:33:35 +02:00
c85ddd3e5c
Use length multiplier
2019-06-14 13:14:28 +02:00
0aff25ea25
Fix bad merge
2019-06-14 12:56:49 +02:00
3097d2940b
Merge remote
2019-06-14 12:38:33 +02:00
terrafrost
52b7e4610c
fix bad merge
2019-06-10 00:09:17 -05:00
terrafrost
6cf05541cc
Merge branch '1.0' into 2.0
2019-06-09 23:46:46 -05:00
terrafrost
cd7de5723c
RSA: add support for OpenSSH private keys
2019-06-09 23:42:41 -05:00
terrafrost
c5a9a66d69
DSA: pass password parameter correctly to OpenSSH::load
2019-06-08 23:18:21 -05:00
terrafrost
327f555b7c
add expanded support for OpenSSH private keys
2019-06-08 22:04:54 -05:00
terrafrost
88b6337a3f
RSA: fix issue with PKCS1 encryption
2019-06-08 18:58:24 -05:00
terrafrost
a431a1959a
ECDSA: make it so toString() can setspecified / named curve use
2019-06-03 20:33:01 -05:00
terrafrost
557676edd9
use array type hint
2019-06-02 10:26:26 -05:00
terrafrost
8e03f5bfb2
RSA: make it so PSS keys can be saved
2019-06-01 19:35:17 -05:00
terrafrost
b226c3d882
add second $options parameter to toString method for public keys
2019-06-01 15:53:35 -05:00
terrafrost
8017c74429
RSA: add preliminary support for RSA-PSS keys
2019-05-29 00:32:53 -05:00
terrafrost
7c7d500d80
System/Agent: add support for DSA / ECDSA keys
2019-05-23 08:35:36 -05:00
terrafrost
85e2bd4811
SSH2: get binary output from OpenSSH key handler
2019-05-21 09:10:18 -05:00
terrafrost
e06f733528
ECDSA: add missing class variables for deterministic ECDSA
2019-05-21 00:03:21 -05:00
terrafrost
cc32cd2e95
make RSA / DSA / ECDSA immutable and add support to SSH2 / X509
2019-05-19 15:35:29 -05:00
terrafrost
00b6eaf507
ECDSA/Keys/PKCS8: correctly convert private keys to public
2019-04-29 21:45:17 -05:00