terrafrost
1a30cd862f
...
2020-12-12 20:13:42 -06:00
terrafrost
7237c0f803
fix bad merge
2020-12-12 19:34:38 -06:00
terrafrost
e4bf7b111a
Merge branch '2.0' into 3.0
2020-12-12 19:22:36 -06:00
terrafrost
95432478c0
fix bad merge
2020-12-12 17:39:32 -06:00
terrafrost
5701295017
Merge branch '1.0' into 2.0
2020-12-12 17:13:41 -06:00
terrafrost
266f16816a
enable unit tests for PHP 8 / PHPUnit 9
2020-12-12 15:11:04 -06:00
terrafrost
881fbd78ee
Hash: add __toString() method
2020-04-19 09:19:27 -05:00
terrafrost
7b5356bf86
RSA: add unit test for public key masquerading as private key
2020-03-29 23:12:52 -05:00
terrafrost
db85a95af2
Tests/RSA: add unit test for exceptions
2020-01-19 02:17:43 -06:00
terrafrost
2b28c3814b
Keys/PuTTY: better support RFC4716 keys
2020-01-19 02:09:39 -06:00
terrafrost
b65bad4a1d
Tests/RSA: add unit test for PuTTY public keys
2020-01-18 21:58:48 -06:00
terrafrost
a485e85ba5
Tests/RSA: add additional assert for MSBLOBs
2020-01-18 17:31:34 -06: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
e7e563d0ce
Merge branch '2.0' into 3.0
2019-10-20 13:45:06 -05:00
terrafrost
941230c2df
RSA: adustments for 2.0 branch
2019-10-20 13:38:45 -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
7012e72488
mv Keys/ and Signature/ to Formats/*
2019-06-25 07:52:45 -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
327f555b7c
add expanded support for OpenSSH private keys
2019-06-08 22:04:54 -05:00
terrafrost
8e03f5bfb2
RSA: make it so PSS keys can be saved
2019-06-01 19:35:17 -05:00
terrafrost
8017c74429
RSA: add preliminary support for RSA-PSS keys
2019-05-29 00:32:53 -05:00
terrafrost
7d3b5a0c79
Tests/X509: add new tests to test DSA / ECDSA certs
2019-05-20 23:38:54 -05:00
terrafrost
cc32cd2e95
make RSA / DSA / ECDSA immutable and add support to SSH2 / X509
2019-05-19 15:35:29 -05:00
terrafrost
17e6938fba
updates to Exceptions
2018-12-31 09:55:32 -06:00
terrafrost
3c4fbe131f
Tests/ECDSA: make tests work on PHP 5.6 (by skipping some tests)
2018-11-24 08:32:14 -06:00
terrafrost
0398f7a815
add ECDSA / EdDSA support
2018-11-19 12:39:21 -06:00
terrafrost
55384afdac
RSA: make it so you can't sign w/ public key, decrypt w/ private
2018-02-18 16:03:06 -06:00
Sokolovskyy Roman
966ee7f170
Long array() to short [] syntax
2017-11-27 09:30:14 +01:00
terrafrost
1630a6710d
RSA/DSA: support XML keys with XML declarations
2017-06-26 21:58:20 -05:00
terrafrost
39b66d512d
Tests/RSA: update test for master branch
2017-05-29 06:34:06 -05:00
terrafrost
6ca7323401
Merge branch '2.0'
2017-05-29 06:33:24 -05:00
terrafrost
fe8f1bba7b
Tests/RSA: update unit test for 2.0 branch
2017-05-29 06:33:01 -05:00
terrafrost
a4cd384bab
Merge branch '1.0' into 2.0
2017-05-29 06:32:23 -05:00
terrafrost
f089aa4eb9
Tests/RSA: add unit test for loading bad key after loading good key
2017-05-29 06:20:46 -05:00
terrafrost
eb459daeaf
add DSA implementation
2017-02-02 20:20:47 -05:00
terrafrost
9ae5206588
RSA: setEngine -> setPreferredEngine (make it like SymmetricKey)
2016-12-11 09:59:50 -06:00
terrafrost
863ff6789b
RSA: refactor PKCS1/PKCS8 to facilitate re-use
2016-11-17 08:09:10 -06:00
terrafrost
1e7bfe75b1
Tests/RSA: fix bad merge
2016-06-22 09:47:56 -05:00
terrafrost
4516227f13
Merge branch '2.0'
2016-06-21 22:55:33 -05:00
terrafrost
9ce8a39204
Tests/RSA: update unit test to work on 2.0 branch
2016-06-21 22:39:33 -05:00
terrafrost
b08f17f514
Merge branch '1.0' into 2.0
2016-06-21 22:39:05 -05:00
terrafrost
5b8985447c
Tests/RSA: update unit test to work with 1.0 branch
2016-06-21 22:38:37 -05:00
andrewbelcher
dd754283bb
Fix zero salt length RSA signatures.
2016-06-21 22:33:47 -05:00
terrafrost
80e9d663cf
Tests/RSA: update unit test for master branch changes
2016-06-04 23:24:49 -05:00
terrafrost
5714875b71
Merge branch '2.0'
2016-06-04 23:22:24 -05:00
terrafrost
706dcfb8d6
RSA: update unit test for 2.0 branch
2016-06-04 23:22:02 -05:00
terrafrost
6b66c1cd52
Merge branch '2.0'
2016-06-04 22:56:55 -05:00
terrafrost
87040bc518
Merge branch '1.0' into 2.0
2016-06-04 22:56:49 -05:00
terrafrost
942d194d0a
RSA: don't attempt to use the CRT when zero value components exist
2016-05-09 13:46:28 -05:00
terrafrost
398a795e1f
Revert "undo merging of master to 2.0 branch"
...
This reverts commit 8fb4c3363d
.
2016-04-30 16:23:35 -05:00
terrafrost
8fb4c3363d
undo merging of master to 2.0 branch
2016-04-28 15:34:10 -05:00
terrafrost
b4cf10fc94
Revert "Merge branch '2.0'"
...
This reverts commit be5f4ef6b19c82f6c898708cc8e1828b05e3d4e8, reversing
changes made to 638fe6971c
.
2016-04-10 11:30:59 -05:00
terrafrost
4b69dcb1ca
Revert "Merge remote-tracking branch 'bantu/bootstrap'"
...
This reverts commit ef04c870e9
, reversing
changes made to cd57bf31ae
.
2016-04-10 11:25:31 -05:00
terrafrost
a3000aac28
Tests/RSA: CS adjustment
2016-04-03 22:56:48 -05:00
terrafrost
383bceb1a9
Tests/RSA: fix bad merge
2016-04-03 22:07:49 -05:00
terrafrost
9cf93a02b3
Merge branch '2.0'
2016-04-03 21:37:52 -05:00
terrafrost
8f614a0538
RSA: update macdabby's changes to work on 2.0 branch
2016-04-03 21:35:33 -05:00
terrafrost
a7f2a5d9c9
Merge branch '1.0' into 2.0
2016-04-03 21:34:45 -05:00
terrafrost
ac97ce5d69
RSA: backport macdabby's changes
2016-04-03 21:34:11 -05:00
terrafrost
3b37619279
Tests/RSA: add unit test for setPrivateKey
2016-04-03 21:16:37 -05:00
terrafrost
5d85d5eca1
RSA: error out when encrypting strings that are too long
2016-01-17 09:45:13 -06:00
terrafrost
806249c7e9
RSA: changes to how encryption / signatures work
2015-12-25 11:28:24 -06:00
Andreas Fischer
3793f34876
Merge branch '2.0'
...
* 2.0:
RSA: fix issue with loading PKCS8 specific keys
Tests/RSA: add unit test for loading PKCS8 specific keys
2015-11-10 10:13:32 +01:00
terrafrost
c34be16c3a
Merge branch 'rsa-pkcs8-fix' into rsa-pkcs8-fix-2.0
...
Conflicts:
phpseclib/Crypt/RSA.php
2015-11-09 23:10:21 -06:00
terrafrost
e8d75b2e8d
Tests/RSA: add unit test for loading PKCS8 specific keys
2015-11-09 22:10:08 -06:00
terrafrost
43165d976c
RSA: changes to OpenSSH and PuTTY plugins
2015-10-24 15:54:34 -05:00
terrafrost
7b1b7c22e2
RSA: throw an exception if the modulo is too small
2015-10-23 13:45:35 -05:00
terrafrost
1522e6606b
RSA: add getSupportedFormats() and getLoadedFormat()
2015-10-22 10:57:05 -05:00
terrafrost
e2fcd9d951
RSA: misc fixes to select plugins
2015-10-21 21:24:12 -05:00
terrafrost
6eb5ea3ef7
RSA: add support for the microsoft BLOB key format
2015-10-20 23:17:11 -05:00
terrafrost
ad55d3cd75
RSA: fixes to last non-merge commit
2015-10-16 14:04:17 -05:00
terrafrost
31c14063fa
RSA: updates to raw plugin
2015-10-16 09:36:49 -05:00
terrafrost
cfcf554531
RSA: changes to putty plugin and rm comment methods from rsa etc
2015-10-01 23:11:55 -05:00
terrafrost
fb22529c44
Tests/RSA: add unit test for new functionality
2015-10-01 20:11:11 -05:00
terrafrost
ec3fe7277b
RSA: move key format handling to plugins
2015-10-01 15:41:11 -05:00
Andreas Fischer
54a1aeeefe
Merge branch '1.0' into 2.0
...
* 1.0:
Tests/RSA: add PSS test
RSA: fix regression for PSS signatures
2015-08-13 14:37:15 -04:00
terrafrost
f591962fc4
Tests/RSA: add PSS test
2015-08-11 11:47:19 -05:00
terrafrost
ab489801fe
Tests/RSA: pack expected result
2015-05-31 10:07:18 -05:00
terrafrost
2536d224ee
Tests/RSA: pack expected result
2015-05-31 10:06:13 -05:00
terrafrost
6bce2c79ac
Tests/RSA: re-added accidentally removed $rsa initialization
2015-05-31 09:20:03 -05:00
terrafrost
1316fd45f4
Tests/RSA: use correct constant
2015-05-31 09:17:53 -05:00
terrafrost
0166d3a7ec
Tests/RSA: fix error
2015-05-31 02:20:16 -05:00
terrafrost
71104e8120
Merge branch 'rsa-none-1.0' into rsa-none-2.0
...
Conflicts:
tests/Unit/Crypt/RSA/ModeTest.php
2015-05-31 02:19:06 -05:00
terrafrost
26d528855a
Tests/RSA: hard-coded key and result
2015-05-31 02:13:11 -05:00
terrafrost
30260f3321
Merge branch 'rsa-none-1.0' into rsa-none-2.0
...
Conflicts:
phpseclib/Crypt/RSA.php
2015-05-25 22:36:10 -05:00
terrafrost
1d924cfc7b
RSA: add "none" encryption mode
2015-05-25 22:30:38 -05:00
terrafrost
f19bf7a07d
RSA: backport getPublicKeyFingerprint from Lukas-W's PR
2015-05-06 22:55:12 -05:00
Lukas W
a67f4df164
RSA: Add support for calculating a public key's fingerprint
2015-05-04 09:21:37 +02:00
terrafrost
d00e20a140
Merge remote-tracking branch 'graham/1.0-phpdoc' into 2.0-phpdoc
...
Conflicts:
phpseclib/Crypt/Base.php
phpseclib/Net/SCP.php
tests/Unit/File/ASN1Test.php
2015-04-16 00:42:53 -05:00
Graham Campbell
e50cbacd4e
Fixed some phpdocs
2015-03-29 17:07:17 +01:00
Clint Nelissen
fe742e18d7
Namespaced Crypt Package
2014-12-16 16:16:54 -08:00
Andreas Fischer
c4b103468c
Merge pull request #549 from bantu/fix-547
...
Change copyright years from roman numeral to decimal numbers.
* bantu/fix-547:
Change copyright years from roman numeral to decimal numbers.
Conflicts:
phpseclib/System/SSH_Agent.php
2014-12-10 00:06:08 +01:00
Andreas Fischer
0efae5a91e
Change copyright years from roman numeral to decimal numbers.
2014-12-10 00:04:08 +01:00
Clint Nelissen
0305a4827c
Moved globally defined constants to class constants
2014-12-09 10:46:30 -08:00
terrafrost
f6bd3542b3
RSA: syntax error in unit tests
2014-09-09 00:43:28 -05:00
terrafrost
e092733808
RSA: make unit tests perform string comparisons sans white space chars
2014-09-09 00:34:41 -05:00
terrafrost
c489852332
RSA: update unit test
2014-09-09 00:28:38 -05:00