aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6 from kruton/unitTestsKenny Root2015-12-265-76/+267
|\ | | | | Unit tests
| * Add tests for ECDSASHA2VerifyKenny Root2015-12-262-75/+71
| | | | | | | | | | | | Since SimpleDERReader is now more tested and this class duplicates the functionality of that one, we will switch to using SimpleDERReader enstead.
| * Add unit tests for readOidKenny Root2015-12-251-0/+72
| |
| * Add tests for readIntKenny Root2015-12-251-0/+48
| |
| * Add length check with testKenny Root2015-12-253-1/+76
|/
* Merge pull request #5 from kruton/indirect-proxyKenny Root2015-10-084-225/+142
|\ | | | | Allow indirect proxy classes to implement their own functions
| * Move socket creation out to its own functionKenny Root2015-10-083-130/+142
| | | | | | | | | | Newer proxy types will need to have a way to create their own sockets, so move this out to its own function to allow that later.
| * Remove the authenticateWithDSA methodKenny Root2015-10-081-59/+0
| | | | | | | | | | This has been deprecated for quite a while and using DSA should be discouraged.
| * Remove tcpNoDelay settingKenny Root2015-10-082-36/+0
| | | | | | | | | | This conflicts with more advanced proxy transports that don't support this, so just remove it altogether.
* | Merge pull request #4 from kruton/doc-fixKenny Root2015-10-082-16/+17
|\ \ | | | | | | Fix some javadoc
| * | Fix typo in javadoc about encryptionKenny Root2015-10-081-1/+1
| | |
| * | Add mentions of EC keys where DSA and RSA are mentionedKenny Root2015-10-082-14/+15
| | | | | | | | | | | | | | | EC keys have been supported by this library for a while, so the documentation should be updated to reflect that fact.
| * | Add Javadoc for user argumentKenny Root2015-10-081-1/+1
| |/
* | Merge pull request #3 from kruton/ecdsa-fixKenny Root2015-10-081-7/+68
|\ \ | |/ |/| Support decoding large keys
| * Support decoding large keysKenny Root2015-10-081-7/+68
|/ | | | | | | The ASN.1 decoding routines were not accounting for keys that needed long-form length encoding. Amend the code to add long form length. Fixes connectbot/connectbot#76
* Remove now unneeded repository URLKenny Root2015-09-161-6/+0
|
* [Gradle Release Plugin] - new version commit: '2.2.2-SNAPSHOT'.Kenny Root2015-09-151-2/+2
|
* [Gradle Release Plugin] - pre tag commit: '2.2.1'.Kenny Root2015-09-151-2/+2
|
* Ignore IntelliJ IDEA filesKenny Root2015-09-151-2/+2
|
* Merge pull request #2 from kruton/simplesocksKenny Root2015-09-152-124/+39
|\ | | | | Change SOCKS library to simplesocks
| * Change SOCKS library to simplesocksKenny Root2015-09-152-124/+39
|/ | | | simplesocks only implements what we need and is 100% test covered!
* Add latest version download badgeKenny Root2015-07-181-0/+2
|
* travis-ci: remove lock files before cachingKenny Root2015-07-181-0/+1
|
* [Gradle Release Plugin] - new version commit: '2.2.1-SNAPSHOT'.Kenny Root2015-07-181-2/+2
|
* [Gradle Release Plugin] - pre tag commit: '2.2.0'.Kenny Root2015-07-181-2/+2
|
* Add wrapper to travis-ci cache as wellKenny Root2015-07-181-0/+1
|
* Add caching to travis-ci buildKenny Root2015-07-182-1/+7
|
* Rename project to sshlibKenny Root2015-07-18131-1/+1
|
* Add gradle release commandKenny Root2015-07-181-0/+4
|
* Fix various javadoc errorsKenny Root2015-07-189-15/+16
|
* Add auto-publishing via TravisKenny Root2015-07-184-1/+120
|
* Add jsocks dependencyKenny Root2015-07-181-0/+7
|
* Remove android build tools referenceKenny Root2015-07-181-2/+0
|
* Create README.mdKenny Root2015-07-181-0/+7
| | | Just an initial sketch of what this is.
* Set up initial skeleton of projectKenny Root2015-07-1810-0/+312
|
* Change MessageDigest algorithms to standard nameKenny Root2015-06-091-3/+3
| | | | | | | These message digests need a hyphen according to https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#MessageDigest Fixes #87
* ssh: try all addresses when connectingKenny Root2015-04-191-67/+15
| | | | This should satisfy the SSH part of issue #46.
* ECDH there should be no negative bigintKenny Root2015-04-052-3/+3
| | | | | | | | | Since the hash is over the canonical values of the agreed parameters when the shared secret was encoded as a negative biginteger, the two sides didn't agree. Make sure this doesn't occur by setting the bigint signum to 1. Change-Id: Ib0581cd7dc280dcce8cc3309d7102f8f5a444158
* Fix ssh-dss host key supportKenny Root2015-04-051-1/+1
| | | | | | | | This string was accidentally renamed to "ssh-dsa" during refactoring. DSA should die and go away, but the SSH standard said that was the only required algorithm when it was created. Change-Id: Ia533eac55692289de8042f6f95714b577941ca3f
* Keep order for crypto wishlistKenny Root2015-04-051-2/+3
| | | | | | | | Switch from TreeSet to LinkedHashMap since the preference is determined by iterating over the Set for both KEX_ALGS and HOST_KEY_ALGS. The order before was based on string comparisons(!) Change-Id: Ia4573d67f35a5371eb8c70dde631085d61570fe9
* Check for EC support before enabling itKenny Root2015-04-031-6/+24
| | | | Fixes #69
* Fix exception message in ECDSASHA2VerifyKenny Root2013-10-061-2/+2
| | | | Change-Id: Ib69c29588acb60b94cf710244f4c4dc76534412f
* Add diffie-hellman-group-exchange-sha256 supportKenny Root2013-10-065-36/+20
| | | | | | | | Support exchanging groups using SHA-256 as specified in RFC 4419 For more information, see https://tools.ietf.org/html/rfc4419 Change-Id: Iee5d29e7113a05cad4714a61321bf86b016624b8
* Add support for HMAC-SHA2-256 and HMAC-SHA2-512Kenny Root2013-10-061-9/+48
| | | | | | | | | This adds support for the new MAC modes using SHA-2 family of hashes as set forth in RFC 6668. See http://tools.ietf.org/html/rfc6668 for more information. Change-Id: I09dfe44efe230021a77d81546fccc6b124c958d3
* Extract common key generation functionKenny Root2013-04-161-51/+28
|
* Partial support for importing EC keysKenny Root2013-04-133-6/+167
|
* Add EC pubkey to UIKenny Root2013-04-122-7/+36
|
* Fix line endingsKenny Root2013-04-11115-18727/+18727
|
* Fix bug in EC point encodingKenny Root2013-04-112-3/+4
|
* Add ECDH supportKenny Root2013-04-1010-154/+381
| | | | | | | | Add support for the ECDH methods required by RFC 5656 ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521