Commit Graph

3931 Commits

Author SHA1 Message Date
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
5ea7be57da Merge branch '3.0' 2020-03-30 07:50:05 -05:00
terrafrost
542bb6cca1 Merge branch '2.0' into 3.0 2020-03-30 07:36:43 -05:00
terrafrost
61398e0fbf Merge branch '3.0' 2020-03-30 00:42:08 -05:00
terrafrost
fc87edce6e PKCS8: throw an exception when no ASN1 maps can be used 2020-03-30 00:19:45 -05:00
terrafrost
5d5ed4a449 RSA: fix for RSA PKCS1 public keys masquerading as public keys 2020-03-29 23:31:13 -05:00
terrafrost
7b5356bf86 RSA: add unit test for public key masquerading as private key 2020-03-29 23:12:52 -05:00
terrafrost
7e67f882ee Merge branch '1.0-mkdir-mode-adjustment' into 2.0-mkdir-mode-adjustment 2020-03-28 18:05:49 -05:00
terrafrost
5e2951f83a SFTP: change the mode with a SETSTAT instead of MKDIR 2020-03-28 18:04:26 -05:00
terrafrost
688cc2ddf3 Merge branch '3.0' 2020-03-12 23:15:56 -05:00
terrafrost
fa4ab86913 Merge branch '2.0' into 3.0 2020-03-12 23:15:48 -05:00
terrafrost
09655fcc1f Merge branch '1.0' into 2.0 2020-03-12 23:15:39 -05:00
terrafrost
645dc5c817 BACKERS: Jan Slabon -> Setasign 2020-03-12 23:15:34 -05:00
terrafrost
6cfa4a7ef2 Merge branch '3.0' 2020-03-12 08:27:48 -05:00
terrafrost
1004bf5ac1 Merge branch '2.0' into 3.0 2020-03-12 08:27:42 -05:00
terrafrost
7102751a8a Merge branch '1.0' into 2.0 2020-03-12 08:27:34 -05:00
terrafrost
97d0e4164b BACKERS: add Jan Slabon 2020-03-12 08:26:51 -05:00
terrafrost
90842f90fa Merge branch '3.0' 2020-03-09 20:07:58 -05:00
terrafrost
ef04a176dd Merge branch '2.0' into 3.0 2020-03-09 20:02:17 -05:00
terrafrost
63a76e88a1 Merge branch '1.0' into 2.0 2020-03-09 19:49:37 -05:00
terrafrost
229f6af1ca SFTP: re-use SSH2 login method 2020-03-09 19:49:20 -05:00
terrafrost
4375d13574 Merge branch '3.0' 2020-03-07 22:22:07 -06:00
terrafrost
c47ffe187a Merge branch 'master-speed-up-uploads' 2020-03-07 22:22:03 -06:00
terrafrost
2ba26e5490 Merge branch '2.0' into 3.0 2020-03-07 22:21:51 -06:00
terrafrost
0a6f457d14 Merge branch '3.0-speed-up-uploads' into 3.0 2020-03-07 22:21:48 -06:00
terrafrost
8f6a69a32d Merge branch '1.0' into 2.0 2020-03-07 22:21:35 -06:00
terrafrost
5f30f59d53 Merge branch '2.0-speed-up-uploads' into 2.0 2020-03-07 22:21:31 -06:00
terrafrost
69840093be Merge branch '1.0-speed-up-uploads' into 1.0 2020-03-07 22:21:21 -06:00
terrafrost
f15f8d7d17 Merge branch '3.0' 2020-03-07 21:36:30 -06:00
terrafrost
b1a1fb5a08 Merge branch '2.0' into 3.0 2020-03-07 21:36:06 -06:00
terrafrost
21c5aa3de3 Merge branch '1.0' into 2.0 2020-03-07 21:35:34 -06:00
terrafrost
95d189ca72 SSH2: try logging in with none as an auth method first 2020-03-07 21:34:38 -06:00
terrafrost
a9a8f69bc5 Merge branch '3.0' 2020-03-07 21:19:36 -06:00
terrafrost
ddd5a08c5f SSH2: update identifier to 3.0 2020-03-07 21:19:00 -06:00
terrafrost
6e55470431 Merge branch '2.0' into 3.0 2020-03-02 10:57:07 -06: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
fc0832ae99 ASN1: fix for malformed ASN1 strings 2020-03-02 10:18:30 -06:00
terrafrost
935fa407e3 ASN1: add unit test for malformed ASN1 strings 2020-03-02 10:03:02 -06:00
terrafrost
0b5eeac6a4 Merge branch '3.0-speed-up-uploads' into master-speed-up-uploads 2020-02-25 20:45:46 -06:00
terrafrost
053e856a47 Merge branch '2.0-speed-up-uploads' into 3.0-speed-up-uploads 2020-02-25 20:45:18 -06:00
terrafrost
a563ee6704 Merge branch '1.0-speed-up-uploads' into 2.0-speed-up-uploads 2020-02-25 20:42:32 -06:00
terrafrost
08e4096e7c SFTP: speed up uploads 2020-02-25 20:37:20 -06:00
terrafrost
0915176a3e Merge branch '3.0' 2020-02-25 00:09:19 -06:00
terrafrost
8c8e805c73 Merge branch '2.0' into 3.0 2020-02-25 00:00:25 -06:00
terrafrost
c18159618e Merge branch '1.0' into 2.0 2020-02-24 22:16:50 -06:00
terrafrost
db6ce986f3 Revert "SFTP: don't buffer up download requests (PuTTY doesn't)"
This reverts commit 333e2e4c2b.
2020-02-24 22:14:28 -06:00
terrafrost
f1661a7dc2 Merge branch '3.0' 2020-02-24 19:57:11 -06:00
terrafrost
59a7b1166b SSH2: use RFC8332 auth even if host key algo isn't RSA 2020-02-24 19:43:32 -06:00
terrafrost
056cc32868 Merge branch '3.0' 2020-02-24 18:18:11 -06:00