Meteorite
d09276fe01
extract makeInetSocketAddress (by hostname) in SocketClient ( #509 )
...
to allow overriding with InetSocketAddress.createUnresolved for use with proxy
Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com >
2020-02-20 09:04:38 +01:00
Josh Soref
241c355e20
Spelling ( #547 )
...
* spelling: accommodate
* spelling: algorithms
* spelling: containing
* spelling: creating
* spelling: developed
* spelling: environment
* spelling: exception
* spelling: heartbeat
* spelling: hellman
* spelling: identifier
* spelling: initiated
* spelling: interface
* spelling: negotiated
* spelling: occurred
* spelling: possibility
* spelling: requesting
* spelling: strong
* spelling: successfully
* spelling: suspended
Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com >
2020-02-19 11:06:27 +01:00
Jeroen van Erp
56ef6c1223
Fix divide by zero in trace logging ( Fixes #550 ) ( #561 )
2020-02-19 10:27:00 +01:00
Jason
989fb8cde6
Added comment field in HostEntry for end-of-line comments in known_hosts file ( #517 )
...
* Added comment field in HostEntry for end-of-line comments in known_hosts file.
* Also modified the getLine() method to return the comment, if it exists.
* Fixed implementation
* Add CODEOWNERS file
Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com >
2020-02-14 11:40:15 +01:00
Michiel ten Hagen
d10a33ec59
Use nano time instead of current time millis. ( #552 )
...
* Use nano time instead of current time millis.
* Add license header
2020-01-22 09:40:53 +01:00
Vladimir Lagunov
327a4c4c5b
Forgive redundant spaces in OpenSSHv2 public keys and known_hosts ( #524 )
...
* Forgive redundant spaces in OpenSSHv2 public keys and known_hosts
Sometimes users copy-pastes private and public keys in text editors. It leads to redundant spaces
and newlines. OpenSSH can easily read such keys, so users expect from SSHJ the same.
* Fixed bugs in OpenSSH key file and known_hosts parsers
* OpenSSHKnownHosts should not throw errors while parsing corrupted records
2019-09-18 15:14:45 +02:00
Vladimir Lagunov
d5c045defd
Fix non-ASCII passwords
2019-09-18 14:36:20 +02:00
Tobias Gruetzmacher
02b70ef427
Minor updates ( #520 )
...
* Update Gradle Wrapper to Gradle 4.10.3
* Update test dependencies
2019-08-04 08:57:44 +02:00
Adam Iwaniuk
fdf08ef3c9
Add support for tunneling via channels ( #511 )
2019-06-03 16:33:39 +02:00
Adam Iwaniuk
633b42fec8
Added support for RSA certificates as host key ( #514 )
...
* Added support for RSA certificates as host key
* removed not needed check
* added rsa cert signature verification test
2019-05-27 10:46:01 +02:00
Adam Iwaniuk
3c594d9a1c
fix exception when parsing max possible date ( #513 )
...
* fix exception when parsing max possible date
* added test with rsa cert with large date
2019-05-27 10:12:45 +02:00
Jeroen van Erp
c2b9c0266d
Refactored out duplicate code.
2019-05-08 14:07:46 +02:00
Jeroen van Erp
0e784dd171
Merge branch 'master' into jumping
2019-03-01 21:45:09 +01:00
Jeroen van Erp
f322a4b060
Updated ed25519-java to 0.3.0
2019-03-01 21:44:18 +01:00
Michał Wyrzykowski
0cd19284ee
Fix local port forwarding disconnecting issue ( #491 )
...
* `SocketStreamCopyMonitor` closes channel after setting the one event. It doesn't wait for the second stream to finish the job.
* #317 Fix `SocketStreamCopyMonitor` to wait for all events before closing the channel.
2019-02-20 15:18:58 +01:00
Jeroen van Erp
a5017d55c8
Cleanup some code
2019-01-24 15:09:00 +01:00
Jeroen van Erp
2f7b181306
Release version: 0.27.0
v0.27.0
2019-01-24 13:21:11 +01:00
Jeroen van Erp
20223d3614
Added release notes
2019-01-24 13:19:02 +01:00
Jeroen van Erp
cac340dd43
Add support for other keytypes to openssh-key-v1 keyfiles ( #485 )
...
* Added support for RSA to openssh-key-v1 keyfile
* Fixed exception
* Added ECDSA support to openssh-key-v1
* Added integration tests for different keytypes
2019-01-17 13:01:49 +01:00
Jeroen van Erp
00cd335f47
Moved tests to spock
2018-11-27 11:27:45 +01:00
Andremoniy
e14fb2f695
Expose the numeric code of the Response.StatusCode #473 ( #474 )
...
* Expose the numeric code of the Response.StatusCode #473
* Expose the numeric code of the Response.StatusCode #473
2018-11-27 10:22:00 +01:00
Pepijn Van Eeckhoudt
b0dee02bf9
Handle server initiated global requests ( #472 )
...
* Handle server initiated global requests
* Code layout
2018-11-26 15:16:43 +01:00
Jeroen van Erp
17c09eb471
Fixed integration test
2018-11-16 12:29:45 +01:00
Jeroen van Erp
0301d4537f
Enable 'curve25519-sha256@libssh.org' in DefaultConfig ( Fixes #464 )
2018-11-16 11:48:15 +01:00
Jeroen van Erp
f71d34e106
Ignore bin/ directory
2018-11-16 11:13:09 +01:00
Jeroen van Erp
254f739ac1
Upgraded sshd to 2.1.0
2018-11-16 11:12:58 +01:00
Jeroen van Erp
aa201fa08c
Add AES256-CBC to OpenSSHKeyV1KeyFile ( Fixes #467 )
2018-11-16 10:39:20 +01:00
Jeroen van Erp
8721269d0f
Added EdDSA as first signature factory ( Fixed #470 )
2018-11-16 10:07:32 +01:00
Ben Manes
971ccf6273
Add lock timeout for remote action ( fixes #466 ) ( #468 )
...
When the remove window size is expanded, a condition is waited on until
the remote server acknowledges and completes the action. If the server
does not respond, e.g. due to a connectivity issue, then this blocks the
client indefinitely. Instead the client waits up to the connection's
timeout (500 min default) and fails. This allows users to set a reasonable
timeout, fail their operations, and retry accordingly.
2018-11-16 09:33:48 +01:00
Andremoniy
813469646e
Improving logging for KeyExchanger ( #458 )
2018-10-23 10:47:34 +02:00
OlivierSalasc
17c368f9c2
add Buffer capacity check for type UInt64 ( #454 )
2018-09-27 14:49:25 +02:00
Jeroen van Erp
4de9f8ab9f
Add support for Encrypt-then-MAC MAC Algorithms ( #450 )
2018-08-28 13:22:31 +02:00
Jeroen van Erp
deff097170
Fix SFTPClient.mkdirs to not inadvertently prefix with '/' ( #415 )
2018-08-02 13:11:09 +02:00
Jeroen van Erp
7556a7f6f6
Updated license header
2018-07-25 12:59:25 +02:00
Jeroen van Erp
c5792fe4a8
Added Kex integration test
2018-07-25 10:34:52 +02:00
Jeroen van Erp
02cfeb9a6a
Release version: 0.26.0
v0.26.0
2018-07-24 14:27:54 +02:00
Jeroen van Erp
5e771382fe
Updated license header
2018-07-24 14:24:28 +02:00
Jeroen van Erp
59e68f1ed7
Updated release plugin
2018-07-24 14:20:10 +02:00
Jeroen van Erp
7d07c1bb46
Refactored Macs and added hmac-ripemd1600@openssh.com
2018-07-24 14:18:02 +02:00
Jeroen van Erp
5bebe044aa
Code cleanup, add { to single-line if
2018-07-12 14:55:03 +02:00
Jeroen van Erp
d2a16385da
Upgraded BouncyCastle to 1.60 ( Fixes #436 )
2018-07-10 16:33:33 +02:00
Jeroen van Erp
adc0451b3f
Cleanup OpenSSHKeyFile and add Disconnection test
2018-07-10 16:29:09 +02:00
Jeroen van Erp
df5e73f1e8
Close before interrupt LocalPortForwarder ( Fixes #426 )
2018-07-10 16:28:28 +02:00
Jeroen van Erp
eeeba57c73
Code formatting improvements.
2018-07-10 16:15:37 +02:00
Jeroen van Erp
db48ff85c0
Add support for encrypted ed25519 openssh-key-v1 files ( Fixes #427 ) ( #429 )
2018-06-19 11:53:32 +02:00
Jeroen van Erp
49a450fb53
Fixed some codacy issues
2018-06-18 14:27:45 +02:00
Tom Caflisch
80d93ae8e7
Remove unnecessary nested try/finally ( #417 )
...
* Remove unnecessary nested try/finally
* This handles the case of your concern.
An even better solution would be to have SSHClient and Session implement Auto-Closable so then you don't have to worry about doing anything in the finally block!
2018-06-11 09:54:26 +02:00
Jeroen van Erp
42c52e4fe6
Fixed logging of Encoder to log correct sequence number
2018-04-30 09:30:28 +02:00
Jeroen van Erp
329966ecc4
Using UTF-8 encoding for PrivateKeyFileResource ( Fixes #413 )
2018-04-30 09:30:00 +02:00
Jeroen van Erp
10918f3201
Using forked gradle process for upload
2018-04-04 13:15:54 +02:00