Commit Graph

3845 Commits

Author SHA1 Message Date
terrafrost
827607575a ... 2020-07-03 13:31:37 -05:00
terrafrost
844d7ab539 X509: getPublicKey() didn't work for SPKAC 2020-06-02 08:51:04 -05:00
terrafrost
97ab584c63 Merge branch '2.0' into 3.0 2020-05-31 12:22:45 -05:00
terrafrost
51f2a9386b Merge branch 'timeout-alt-2.0' into 2.0 2020-05-31 12:22:35 -05:00
terrafrost
c2ab2a4884 X509: publicKey wasn't being loaded for CSRs / SPKACs 2020-05-31 02:11:44 -05:00
terrafrost
0bda2b4573 Merge branch '2.0' into 3.0 2020-05-29 08:36:26 -05:00
terrafrost
cc3ad79058 Crypt/Base: create_function isn't needed for PHP >= 5.3.0 2020-05-29 08:34:40 -05:00
terrafrost
ee278f3062 Merge branch 'timeout-alt-1.0' into timeout-alt-2.0 2020-05-29 08:10:36 -05:00
terrafrost
9651d075e3 SSH2: timeout after 5s for channel closures 2020-05-29 08:10:03 -05:00
terrafrost
32acf235e8 SymmetricKey: rm unused line 2020-05-16 13:19:24 -05:00
terrafrost
a82dc8e009 SymmetricKey: ECB doesn't use an IV either 2020-05-15 07:53:14 -05:00
terrafrost
f780640ecf move more common elements to StreamCipher class 2020-05-12 22:03:06 -05:00
terrafrost
995bf77315 SSH2: rm format_log_helper method 2020-05-12 08:35:45 -05:00
terrafrost
cc45f18cb8 stream ciphers don't use IVs 2020-05-12 08:15:49 -05:00
terrafrost
ce6d28789a ChaCha20: rm unused 'use' statement 2020-05-12 07:00:38 -05:00
terrafrost
85d55164a6 Merge branch '2.0' into 3.0 2020-05-10 23:52:28 -05:00
terrafrost
ceaffa8fa9 Merge branch '1.0' into 2.0 2020-05-10 23:52:20 -05:00
terrafrost
ef9785d9c5 SFTP: if /path/to/file is a file then /path/to/file/whatever errors 2020-05-10 23:51:16 -05:00
terrafrost
3bce91c2cb Merge branch '2.0' into 3.0 2020-05-10 10:27:00 -05:00
terrafrost
f79b34f75a Merge branch '1.0' into 2.0 2020-05-10 10:26:53 -05:00
terrafrost
bcaa494af2 ANSI: fix "Number of elements can't be negative" error 2020-05-10 10:25:03 -05:00
terrafrost
4af7ca4c09 Merge branch '2.0' into 3.0 2020-05-01 21:36:02 -05:00
terrafrost
2a6fc5695c Merge branch '1.0' into 2.0 2020-05-01 21:35:53 -05:00
terrafrost
a07f5bc6a2 SFTP: realpath('') produced an error 2020-05-01 21:34:44 -05:00
terrafrost
65de0f6225 Merge branch '2.0' into 3.0 2020-04-28 22:08:07 -05:00
terrafrost
3b99d23220 Merge branch '1.0' into 2.0 2020-04-28 22:07:45 -05:00
Simon Podlipsky
e29f5bda14 Fix return type hint of SSH2::read() 2020-04-28 22:07:39 -05: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
10ce0b9b21 PuTTY: comments weren't settable via toString() method 2020-04-18 10:44:15 -05:00
terrafrost
92d0cd837e PKCS8: add extractEncryptionAlgorithm() method 2020-04-17 22:51:03 -05:00
terrafrost
0f8486cc87 allow strinable objects to be loaded instead of just strings 2020-04-13 07:58:00 -05:00
terrafrost
94d3403ed3 getLoadedFormat() threw exception for loadFormat()-loaded keys 2020-04-08 06:15:46 -05:00
terrafrost
327a13d133 $key->getLoadedFormat didn't work on EC / DSA keys 2020-04-08 05:07:47 -05:00
terrafrost
ceff4cfbbc rm call_user_func() calls 2020-04-05 15:04:22 -05:00
terrafrost
d37dffdb81 SSH: use an anonymous function for logging callback 2020-04-05 10:29:57 -05:00
terrafrost
b787c33f3f Merge branch '2.0' into 3.0 2020-04-04 18:22:59 -05:00
terrafrost
34620af4df CHANGELOG: add entries for 2.0.25 and 2.0.26 release notes 2020-04-04 18:17:33 -05:00
terrafrost
9c0ad2f1f4 SFTP: optimize call to parent login method for 2.0 branch 2020-04-04 12:49:56 -05:00
terrafrost
e02b93443c Merge branch '1.0' into 2.0 2020-04-04 12:49:41 -05:00
terrafrost
c301ddf38f SFTP: make it so extending SFTP class doesn't cause a segfault 2020-04-04 12:47:30 -05:00
terrafrost
3a6be79821 Merge branch '2.0' into 3.0 2020-04-04 12:25:35 -05:00
terrafrost
91e84a24c2 SFTP: optimize call to parent login method for 2.0 branch 2020-04-04 12:20:36 -05:00
terrafrost
3f01740787 Merge branch '1.0' into 2.0 2020-04-04 12:18:34 -05:00
terrafrost
5218532739 SFTP: make it so extending SFTP doesn't cause a segfault 2020-04-04 12:17:55 -05:00
terrafrost
76f80bb0c4 Merge branch '2.0' into 3.0 2020-04-03 07:35:32 -05:00
terrafrost
e72c88cf16 Merge branch '1.0' into 2.0 2020-04-03 07:34:08 -05:00
Tyson Andre
41eb0d8012 Fix logic error reading random bytes from /dev/urandom
Fixes a bug introduced in c2be7e648

Previously, this would return those bytes if the number of bytes read
was **less than** the number of bytes this was trying to read.

In practice, I believe this would mean bytes from /dev/urandom would never
get used.  (Noticed when upgrading phpseclib)
2020-04-03 07:33:58 -05:00
terrafrost
542bb6cca1 Merge branch '2.0' into 3.0 2020-03-30 07:36:43 -05:00
terrafrost
fc87edce6e PKCS8: throw an exception when no ASN1 maps can be used 2020-03-30 00:19:45 -05:00