aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add support for ECDSA P-384 and P-521Kenny Root2013-02-064-34/+158
|
* Use RSA CRT keys for speedKenny Root2013-02-041-5/+9
|
* Add ECDSA supportKenny Root2013-02-045-48/+433
|
* Remove J2ME compatibility layer for keysKenny Root2013-02-0322-1756/+544
| | | | | | Use JCE instead of the DIY crypto library that is in Trilead. This was apparently for J2ME devices. Well, I'm sorry, J2ME devices, you're dead to me.
* Attempt to fix CLOSE_WAIT problemKenny Root2011-05-055-14/+15
|
* Make 'zlib' compression work.Matt Johnston2011-01-255-7/+55
| | | | | Previously all compression was the equivalent of zlib@openssh.com since TransportConnection enforced that.
* License contributed works as APL 2.0, 2nd passKenny Root2010-02-086-87/+104
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@472 df292f66-193f-0410-a5fc-6d59da041ff2
* Expand compression buffers if needed for JZlibKenny Root2009-12-172-29/+35
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@439 df292f66-193f-0410-a5fc-6d59da041ff2
* Support SOCKS 4a extension for resolving hostnames remotelyKenny Root2009-07-091-15/+8
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@363 df292f66-193f-0410-a5fc-6d59da041ff2
* Do not rely on jsocks ProxyServer; implement our ownKenny Root2009-07-091-28/+120
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@361 df292f66-193f-0410-a5fc-6d59da041ff2
* Add confirm-use and lifetime constraints to individual pubkeysKenny Root2009-06-262-4/+27
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@334 df292f66-193f-0410-a5fc-6d59da041ff2
* Clean up auth agent forwarder, add auth agent lockingKenny Root2009-06-262-67/+146
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@332 df292f66-193f-0410-a5fc-6d59da041ff2
* Add authentication agent forwardingKenny Root2009-06-255-1/+563
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@331 df292f66-193f-0410-a5fc-6d59da041ff2
* Reduce allocations in read and write path, pass 1 (there is still more ↵Kenny Root2009-06-011-4/+5
| | | | | | allocation badness in insertLine to take care of) git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@252 df292f66-193f-0410-a5fc-6d59da041ff2
* Fix to SSH library to allow SSH protocol debuggingKenny Root2009-04-151-0/+2
|
* Temporary compatibility fix for old OpenSSH servers (2.0-2.5.2)Kenny Root2009-03-121-1/+1
|
* Comply with RFC 4254 on window-change packetKenny Root2009-01-233-18/+33
| | | | | | * Always send false for "want reply" * We don't need to wait since a reply should not be sent. * Allow the sending of (informational) pixel dimensions.
* Bug scrubKenny Root2009-01-201-2/+0
| | | | | | | * Try to be better about unsynchronized accesses * Don't expose references to arrays in our beans * Make sure we don't dereference null pointers * Update version string before calling aapt
* * Add compression option to hostsKenny Root2008-11-119-4/+362
|
* * Add dynamic port forwarding.Kenny Root2008-11-083-0/+318
|
* * added "in-memory" function to backend service so that unlocked keys can be ↵Jeffrey Sharkey2008-11-023-6/+8
| | | | | | | | | | | | | | stored there. this is also disable-able from settings * "use any key" for a host will only look through unlocked in-memory keys * implemented "load on start" functionality in backend service * implemented "import key" which lets you select any openssh-formatted key (including passworded-ones) from simple /sdcard browser * cleaned up context menu in pubkeylist, now includes toggle checkbox for "load at start" but only available when password-less and non-imported * clicking a key in pubkeylist will toggle its backend status (decrypt and put in memory, or remove from memory) * created preference for screen orientation forcing versus auto, but still need to test * created preference for camera button behavior, but still need to test
* * First pass at publickey authentication.Kenny Root2008-10-291-0/+52
| | | | | | | | * RSA and DSA keys can be generated (not imported yet). * RSA and DSA keys can be copied to the clipboard and deleted. * Encrypted keys are not tried right now, only unencrypted. * Restore Marcus's name (Jeffrey, fix your editor!) * Fix a typo in the EULA.
* * WARNING: this build is broken lolJeffrey Sharkey2008-09-111-1/+2
| | | | | | | | | | * moving more stuff over to new frontend gui in org.connectbot * found out that we dont need a contentprovider to make desktop shortcuts, will be easy to add ssh://user@host/ uri shortcut handling * new host-editing backend that uses preferences hack, will blog about this technique later today * using colors to categorize hosts (does this work?) * moved host-specific options (like disconnect/edit/delete) to long-tap menu instead of main menu
* * moved all terminal logic into a Service backend. connections are held in ↵Jeffrey Sharkey2008-08-273-0/+81
| | | | | | | | | | | | | | | | | | place by a TerminalBridge, which keeps the connection alive and renders the screen to a bitmap if provided. a Console creates TerminalViews for each bridge while it is active, and handles panning back/forth between them. * volume up/down controls will change console font size * extended trilead library to support resizePTY() command * left/right screen gestures will pan between various open consoles * up/down screen gestures on right-half will look through scrollback buffer * up/down screen gestures on left-half will trigger pageup/down keys * broke ctrl+ keyboard mapping, will need to bring back over from older code
* Update Trilead SSH-2 for Java from build 211 to build 213Kenny Root2008-08-2623-383/+808
|
* Added preferences, touch entropy, fixes to SoftFont.Kenny Root2007-11-211-2/+8
|
* Initial import.Kenny Root2007-11-17122-0/+19276