Jeroen van Erp
e5ec84c06a
Merge pull request #265 from joval/master
...
Minor modifications to PKCS5KeyFile
2016-08-19 23:35:03 +02:00
David Solin
ed0156c985
Forgot to move 2 fields to the top of the file.
2016-08-19 15:54:48 -05:00
David Solin
6321685881
Moved constant declarations per codacy.
2016-08-19 15:51:07 -05:00
David Solin
f6b4d47945
Another missing import. This should be it.
2016-08-19 15:09:50 -05:00
David Solin
d198ef121c
Missing import in test.
2016-08-19 15:04:55 -05:00
David Solin
7786468875
Simplification?
2016-08-19 15:00:12 -05:00
David Solin
0847e8460a
Merge remote-tracking branch 'upstream/master'
2016-08-19 12:24:14 -05:00
David Solin
62b8726807
Fixed bug wherein PKCS5KeyFile messed up the data if a bad passphrase was used, which prevented decryption with a subsequent correct passphrase.
...
Also, made it possible for subclasses of PKCS5KeyFile to access the decrypted ASN.1 data directly (useful if you want to decrypt then store a PKCS5 key for later use elsewhere).
And I think I made the code a little prettier.
2016-08-19 12:18:49 -05:00
Jeroen van Erp
a6af27ae91
Added Codacy badge
2016-08-19 13:02:55 +02:00
Jeroen van Erp
628cbf5eba
Organized imports
2016-08-19 12:57:37 +02:00
Jeroen van Erp
e134e00574
Merge pull request #263 from joval/master
...
Modifications for working with SSH gateways
2016-08-17 08:41:33 +02:00
David Solin
1caa7ac722
For null hostnames, use the loopback InetAddress (for backward-compatibility).
2016-08-16 10:26:57 -05:00
David Solin
4183776adb
Updates per Jeroen van Erp.
2016-08-16 09:17:30 -05:00
David Solin
791f112752
Merge remote-tracking branch 'upstream/master'
2016-08-15 09:27:10 -05:00
Jeroen van Erp
233f3765c9
Added PKCS5 key file support ( #262 )
2016-08-15 15:49:47 +02:00
Jeroen van Erp
5f292d398f
Fixed toString of FileAttributes ( Fixes #258 )
2016-08-15 09:56:13 +02:00
David Solin
ba347f927d
Close any LocalPortForwarders with the SSHClient that produced them (assuming they're still open).
2016-08-15 00:17:48 -05:00
David Solin
6f9ecf69e4
Reordered connect methods so that the similar ones are grouped together.
...
Also, eliminated all use of InetAddress.getByName, because we'll want to be able to connect even when the target host is only visible to DNS from the Proxy, or the SocketFactory.
2016-08-14 14:06:40 -05:00
David Solin
e78ae4dbeb
4th time's the charm?
2016-08-13 15:11:20 -05:00
David Solin
618f2fd111
String.format error was causing tests to unexpectedly fail.
2016-08-13 14:45:00 -05:00
David Solin
8503046302
Made the pkcs8-blanks file an actual pkcs8 file (so it doesn't fail the test).
2016-08-13 14:21:59 -05:00
David Solin
c6cde27e4b
Oops, I shouldn't have encrypted the pkcs8 key file.
2016-08-13 11:00:00 -05:00
David Solin
113aa0aebd
Updated KeyProviderUtil, KeyFormat, KeyProviderUtilTest and test resources to properly differentiate between PKCS5 and PKCS8 file formats.
2016-08-13 10:24:05 -05:00
David Solin
e7c50165c7
Removed GNUmake-related files from source control
...
Removed 3rd-party JARs from source control
Re-introduced original BouncyCastle-dependent PKCS5KeyFile class
Re-named non-BouncyCastle-dependent PKCS8KeyFile class to PKCS5KeyFile, since it really only supports PKCS5 formats anyway
2016-08-13 10:03:52 -05:00
David Solin
09616c4834
Tweaks
2016-08-12 20:03:08 -05:00
David Solin
df710d8dc9
Added getFingerprint method to SSH Known Host entry API.
...
Removed BouncyCastle dependency for public key authentication.
2016-08-12 19:58:09 -05:00
David Solin
df82774ea3
Added resources and GNUmake files.
...
Updated StreamCopier class to make it compatible with older SLF4J versions.
2016-08-10 21:45:30 -05:00
Jeroen van Erp
caa6cca665
Updated README for 0.17.2 and upcoming 0.17.3 release
2016-07-19 11:36:03 +02:00
Jeroen van Erp
9a5ccefb5d
Removed dependency on net.i2p.crypto.eddsa.math classes ( Fixes #255 )
2016-07-19 11:22:13 +02:00
Jeroen van Erp
90f8c592b0
Prepped for v0.17.2 release
v0.17.2
2016-07-07 11:03:05 +02:00
Jeroen van Erp
f491e8d101
Fixed bug that crept in 0edc4a5
2016-07-07 11:01:43 +02:00
Jeroen van Erp
77c10334f1
Updated for 0.17.1 release
v0.17.1
2016-07-06 16:23:12 +02:00
Jeroen van Erp
0edc4a5787
Reimplemented parsing the identification ( Fixes #176 )
...
This ensures that any header lines sent before the identification
string do not break the identification parsing if they are longer
than the identification string should be.
2016-07-06 16:20:39 +02:00
Jeroen van Erp
b43cff07bf
Updated README
v0.17.0
2016-07-05 13:14:30 +02:00
Jeroen van Erp
1ab72b7eaf
Ensure that same name subdirs aren't omitted when doing SFTP ( #253 )
...
* Updated version string in config
* Fixed #252 with backwards compatible behaviour
* Fixed logic and expanded test
2016-07-05 12:21:51 +02:00
Juraj Oprsal
3229584a95
made classes non-final to allow mocking ( #250 )
2016-05-20 14:59:31 +02:00
Jeroen van Erp
364a82154d
Add correct source manifest headers for OSGI ( #244 ) ( Fixes #242 )
...
* Improved OSGI sources manifest
* Added correct manifest entries for OSGI source bundle (Fixes #242 )
* Removed empty sourceset
2016-04-15 11:01:50 +02:00
Jeroen van Erp
11fbf2964b
Merge pull request #243 from valery1707/badges
...
Add some useful badges with automatic version detection: Maven and Javadoc
2016-04-14 20:39:39 +02:00
Valeriy.Vyrva
a248d50301
Add some useful badges with automatic version detection: Maven and Javadoc
2016-04-14 16:42:36 +06:00
Jeroen van Erp
fddc943565
updated release notes
v0.16.0
2016-04-11 16:17:14 +02:00
Jeroen van Erp
ae834134d0
Release task depends on build and uploadArchives
2016-04-11 16:14:58 +02:00
Jeroen van Erp
bc41908694
Added gradle release and license plugins, and updated all license headers
2016-04-11 15:48:43 +02:00
Jeroen van Erp
bf1a855647
Updated README with release notes.
2016-04-11 15:08:24 +02:00
Jeroen van Erp
cd3b0a5bd6
Some cleanup
2016-04-11 15:05:54 +02:00
Jeroen van Erp
b01eccda4a
Fixed bug in Forward lookup in which we did not deal with the special cases ( Fixes #239 )
2016-04-11 15:05:27 +02:00
Jeroen van Erp
4c9ebc306d
Added OSGI manifest to -sources.jar ( Fixes #242 )
2016-04-11 10:56:18 +02:00
Jeroen van Erp
c3f75cda19
Fixed javadoc warning
2016-03-21 10:17:12 +01:00
Jeroen van Erp
1f0e2b1e69
Attempt to fix race condition if a packet is received from the server immediately after successful auth ( Fixes #237 )
2016-03-21 10:17:01 +01:00
Jeroen van Erp
8e55e50fd9
Fixed some Java7 warnings
2016-03-21 10:15:47 +01:00
Jeroen van Erp
eb8b7b51ca
Added callback to request updated password for a user in case of USERAUTH_PASSWD_CHANGEREQ ( Fixes #193 )
2016-03-18 15:24:58 +01:00