terrafrost
9de5f3f8ed
X509: always parse the first cert of a bundle
2021-01-07 20:21:27 -06:00
terrafrost
360afd93c8
fix bad merge
2020-12-12 22:15:40 -06:00
terrafrost
0676524dfd
Merge branch '1.0-class-rename' into 2.0-class-rename
2020-12-12 21:41:10 -06:00
terrafrost
e6abc61f45
rm adding of dupe classes (they break annotations)
2020-12-12 21:39:58 -06:00
terrafrost
185139f5c8
Merge branch '1.0' into 2.0
2020-12-12 17:39:38 -06:00
terrafrost
95432478c0
fix bad merge
2020-12-12 17:39:32 -06:00
terrafrost
245a84b57f
make unit tests pass without gnu parallel
2020-12-12 17:26:44 -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
42b84143e7
Merge branch '1.0' into 2.0
2020-11-02 19:54:25 -06:00
terrafrost
d9196e4a83
X509: fix unit test for multi-cert pems
2020-11-02 19:54:11 -06:00
terrafrost
a72e0e7456
Tests/X509: update unit test for 2.0 branch
2020-10-29 21:35:59 -05:00
terrafrost
da96fbd212
Merge branch '1.0' into 2.0
2020-10-29 21:35:41 -05:00
terrafrost
00c9edc058
X509: don't attempt to parse multi-cert PEMs
2020-10-29 21:30:01 -05:00
terrafrost
0cdae704b6
Tests/X509: update unit test for 2.0
2020-03-02 10:34:52 -06:00
terrafrost
6f0e3d22d6
Merge branch '1.0' into 2.0
2020-03-02 10:34:06 -06:00
terrafrost
935fa407e3
ASN1: add unit test for malformed ASN1 strings
2020-03-02 10:03:02 -06: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
4027717852
Merge branch '1.0' into 2.0
2019-09-18 08:42:47 -05:00
Remi Collet
17610d105c
fix tests for 5.3
2019-09-18 08:03:35 -05:00
terrafrost
bd6dbd0695
Merge branch '1.0' into 2.0
2019-09-15 17:20:11 -05:00
terrafrost
11fea7d004
fix bug with toBytes() with fixed precision negative numbers
2019-09-15 17:19:35 -05:00
terrafrost
d51b07597a
Merge branch '1.0' into 2.0
2019-08-02 22:55:22 -05:00
terrafrost
511f55de3d
X509: fix issue with explicit time tags whose maps expect implicit
2019-08-02 22:00:33 -05:00
terrafrost
e26fcce1f4
Merge branch '1.0' into 2.0
2019-07-30 08:07:51 -05:00
terrafrost
19ad5d27da
X509: ips in nameconstraints ext include netmask
2019-07-30 07:37:16 -05:00
terrafrost
d2085db7b7
Merge branch '1.0' into 2.0
2019-06-19 22:34:11 -05:00
terrafrost
d0014cbb20
Tests/BigInteger: add two more divide tests
2019-06-19 22:21:24 -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
3ca5b88d58
Merge branch '1.0' into 2.0
2019-05-26 15:38:34 -05:00
terrafrost
677ae387b0
BigInteger: backport GMP fixes from master branch
2019-05-26 15:38:18 -05:00
terrafrost
fae6542efc
Merge branch '1.0' into 2.0
2019-05-26 12:17:27 -05:00
terrafrost
ade48c2cb1
Tests/BigInteger: GMP engine didn't always return 1 or -1
2019-05-26 12:13:54 -05:00
terrafrost
77ffe153a0
Merge branch '1.0' into 2.0
2019-05-26 11:42:01 -05:00
terrafrost
e9d99a6683
Tests/BigInteger: add unit test for 0 loaded as base-10
2019-05-26 11:41:41 -05:00
terrafrost
6fa2174fff
Tests/X509: update unit test to work on 2.0
2019-05-26 10:29:15 -05:00
terrafrost
7d4b724749
Merge branch '1.0' into 2.0
2019-05-26 10:28:50 -05:00
terrafrost
9e31808f61
Tests/X509: fix for last unit test
2019-05-26 10:28:21 -05:00
terrafrost
3d7acde183
Tests/X509: add unit test for long tags
2019-05-26 03:10:43 -05:00
terrafrost
98cbccc81a
Merge branch 'oid-revamp' into oid-revamp-2.0
2019-05-02 07:18:37 -05:00
terrafrost
e793461543
ASN1: revamp how OIDs are handled
2019-05-01 09:17:53 -05:00
terrafrost
ec7454dd78
Tests/X509: update test for 2.0
2018-11-22 13:23:02 -06:00
terrafrost
0cb026f5a2
Merge branch '1.0' into 2.0
2018-11-22 12:50:04 -06:00
terrafrost
431b3570fa
Tests/X509: add validatedate unit test
2018-11-22 12:40:32 -06:00
terrafrost
32ce6a0d3e
Tests/ASN1: update unit test to work on 2.0
2018-09-17 00:27:42 -05:00
terrafrost
48aa55b7f6
Merge branch '1.0' into 2.0
2018-09-17 00:27:25 -05:00
Michiel Brandenburg
b4e66d343e
Fixes #1296 parsing invalid certificate
2018-09-17 00:25:55 -05:00
terrafrost
82967a40d4
Merge branch '1.0-dsas' into 2.0
2018-08-18 15:03:25 -05:00
Dean Sas
6fcd8f3a6e
Remove needless assertion in rawlist test
2018-08-18 08:36:40 -05:00
Dean Sas
426dbdbfcd
Ensure SFTP::rawlist gives same results regardless of statcache
...
Previously SFTP::rawlist gave different results depending on whether the
stat cache was enabled or not. With the stat cache turned off it did not
treat directories correctly, as it relied on the stat cache even though
it was not populated.
2018-08-18 08:36:16 -05:00
terrafrost
bbc651f0b6
Merge branch '1.0' into 2.0
2018-04-15 10:27:46 -05:00
terrafrost
7fc3cf69f8
Tests/ASN1: add test for commit 6dc7b3e
2018-04-15 08:30:02 -05:00
terrafrost
4548b45b9e
Merge branch '1.0' into 2.0
2018-04-09 23:57:25 -05:00
terrafrost
48e50fe8fa
Tests/BigInteger: add test for conversion of 48 to signed hex
2018-04-09 23:36:36 -05:00
Jakob Gahde
8e6948fdd2
Backport CFB8 support from master
2018-03-27 04:32:16 +02:00
terrafrost
40730d2977
X509: update intermediate cert changes to work on 2.0 branch
2018-03-03 07:46:03 -06:00
terrafrost
87decbe94b
Merge branch 'authority-info-access-1.0' into authority-info-access-2.0
2018-03-03 00:15:29 -06:00
terrafrost
4438336d44
Tests/X509: add unit test for itermediate cert additions
2018-03-02 13:15:46 -06:00
terrafrost
364e05babf
Merge branch '1.0' into 2.0
2018-01-22 07:22:29 -06:00
terrafrost
8879fa0018
Tests/BigInteger: add bitwise_xor test
2018-01-22 00:18:55 -06:00
terrafrost
bb3798c731
Tests/X509: update tests for 2.0 branch
2018-01-21 12:39:38 -06:00
terrafrost
c419f1121f
Merge branch '1.0' into 2.0
2018-01-21 12:38:35 -06:00
terrafrost
c8829e7865
Tests/X509: add unit test for #1243
2018-01-21 12:14:08 -06:00
terrafrost
b02d78e92a
Merge branch '1.0' into 2.0
2017-12-14 23:49:10 -06:00
Remi Collet
8dc8642473
allow PHPUnit 4, 5 and 6
2017-12-14 23:25:30 -06:00
terrafrost
446652099a
Merge branch 'validation-1.0' into 2.0
2017-12-13 19:50:37 -06:00
terrafrost
340deffc98
Tests/X509: update tests to work with #1213 in 1.0
2017-12-13 19:23:12 -06:00
mdelikat
d9195ea5bd
validateSignature if subjectKeyIdentifier is not set and check serial number if is set
2017-12-13 19:05:06 -06:00
terrafrost
1587c5498b
Merge branch '1.0-travis-exp' into 2.0-travis-exp
2017-12-03 20:22:57 -06:00
terrafrost
2e2c22b921
Travis: enable PHP 7.2 support
2017-12-03 15:33:15 -06:00
terrafrost
12090c138e
Tests/X509: update 1.0 test to work on 2.0
2017-11-05 11:42:33 -06:00
terrafrost
d218020747
Merge branch '1.0' into 2.0
2017-11-05 11:42:08 -06:00
terrafrost
ffcff461c4
X509: URL validation didn't work ( #1203 )
2017-11-05 11:36:41 -06:00
Martijn Smit
b3add4491d
Replace extension_loaded with forward compatible function exists check
2017-09-29 21:33:57 +01:00
terrafrost
74d3a51183
Merge branch 'ssh2-fix-multi-channel-1.0' into ssh2-fix-multi-channel-2.0
2017-09-06 00:27:52 -05:00
terrafrost
ed3846a7a2
Tests/SSH2: add unit test for #1167
2017-09-06 00:27:07 -05:00
terrafrost
a9cd28d8fd
Tests/ANSI: update test for 2.0 branch
2017-08-08 21:53:37 -05:00
terrafrost
a4c79db37a
Merge branch '1.0' into 2.0
2017-08-08 21:53:07 -05:00
terrafrost
89188ec570
Tests/ANSI: add test for #1161 E_NOTICE in ANSI
2017-08-08 21:35:48 -05:00
terrafrost
ce2bfd984e
Tests: fix CS errors
2017-07-16 12:09:45 -05:00
Matej Kravjar
47c419545a
Fixed #632 Fatal error: Cannot access self:: when no class scope is active
2017-06-20 12:43:42 +02: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
5e2afe3a73
Merge branch '1.0' into 2.0
2017-05-28 09:10:58 -05:00
terrafrost
9bccc01b97
Tests/SSH2: add unit test for #1009
2017-05-28 08:58:00 -05:00
terrafrost
f4ae2cf3d3
Merge branch '1.0' into 2.0
2017-04-09 10:23:20 -05:00
Moritz Fain
7fd1eefd66
Fixed ASN.1 UTCTime parsing
2017-04-09 10:15:40 -05:00
terrafrost
91a0866fdc
Tests/X509: add unit test for issue involving multiple domain names
2017-03-07 21:54:41 -06:00
terrafrost
062ee6b5b5
Tests: crypt_random_string -> Random::string
2017-01-27 12:35:48 -06:00
terrafrost
ac2b7ef76c
Merge branch '1.0' into 2.0
2017-01-27 12:17:04 -06:00
terrafrost
1bde98fc42
Crypt: OpenSSL apparently supports variable size keys
2017-01-27 11:20:22 -06:00
Andreas Fischer
f5d8377cdb
Backport tests/bootstrap.php from 2.0 / master onto 1.0.
2016-10-20 21:30:42 +02:00
terrafrost
6dc50cc5c9
ASN1: update unit test for 2.0 branch
2016-08-28 10:45:31 -05:00
terrafrost
281cfcdcea
Merge branch '1.0' into 2.0
2016-08-28 10:45:04 -05:00
terrafrost
5c2ffd2544
ASN1: fix infinite loop during ASN1 decode process
2016-08-28 10:43:33 -05:00
terrafrost
c547ee16c7
Merge branch '1.0' into 2.0
2016-08-04 00:31:15 -05:00