aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Telnet: ensure port number is below maximumKenny Root2015-04-171-2/+2
| | | | Closes #62
* Keep TerminalManager alive even during rebindKenny Root2015-04-161-15/+11
|
* Use DateUtils.getRelativeTimeSpanStringPeter Collingbourne2015-04-141-13/+3
| | | | Closes #2
* 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
* Provide more context for SSH connection failuresKenny Root2015-04-051-1/+5
| | | | | | | | | | Since the Trilead SSH stack throws IOException on failures and then higher levels of the stack catch those, we need to descend into the causes of each Exception to give the user more context. Unfortunately this information is not localized. Change-Id: I8b1fdf9eab65e5d2f6f1956562cbf9f56a2adb9d
* 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
* Break circle since connectionLost should not call closeKenny Root2015-04-031-2/+2
|
* Fix JavaDoc (okay, not much of an improvement)Kenny Root2015-04-031-1/+2
|
* Return empty port forward list if host arg is nullKenny Root2015-03-291-1/+4
| | | | | There would be a NullPointerException if the host passed in was null, so just preclude it by checking.
* Fix last merge request to not undo final of bridgeKenny Root2015-03-281-4/+1
| | | | Change-Id: I47a0d6a0dfcdf735f26dcc09dc4b98d58cb0aa33
* Fix indentation in last pull requestKenny Root2015-03-282-4/+5
| | | | Change-Id: Ib80ec5184ae7b329979580fd0a0c187f8ac01fbf
* Merge pull request #60 from sblackshear/service_npe_fixKenny Root2015-03-291-1/+3
|\ | | | | Fix possible NPE in HostListActivity.onCreateContextMenu
| * Fix possible NPE in HostListActivity.onCreateContextMenuSam Blackshear2015-03-201-1/+3
| |
* | Merge pull request #61 from sblackshear/pubkeylist_npe_fixKenny Root2015-03-291-2/+2
|\ \ | | | | | | Fixing possible NPE in PubkeyListActivity
| * | Fixing possible NPE in PubkeyListActivitySam Blackshear2015-03-251-2/+2
| |/
* | Localize numbers in ColorsActivityKenny Root2015-03-281-1/+5
| |
* | Do not try to resize local PTY before connectionKenny Root2015-03-271-0/+5
| | | | | | | | | | | | | | At that point shellFd is null and trying to get a field from it via JNI will cause the runtime to abort. Fixes #65
* | Use a sane default font sizeKenny Root2015-03-273-58/+74
| | | | | | | | | | | | | | This will also try to scale existing host entries down by the appropriate amount. Fixes #44
* | Add a close-on-disconnect optionmendhak2015-03-273-5/+21
| | | | | | | | | | | | | | | | Defaults to off to preserve previous behavior. Original patch by Jeff King (@peff) Fixes #23
* | Make the color picker scale with display densityKenny Root2015-03-272-132/+182
| | | | | | | | | | | | | | | | The UberColorPickerDialog was written when there was only one display density (mdpi). Scale all of the values appropriately for modern multi-density displays. Fixes #64
* | Only enable right modifier directory shortcuts on Dream.Torne Wuff2015-03-223-4/+12
| | | | | | | | | | Disable right modifier directory shortcut keys by default unless running on a Dream.
* | Handle the ins/del/home/end/pageup/pagedown keysPaul "LeoNerd" Evans2015-03-221-0/+31
| |
* | Make sticky modifiers an option, off by default.Torne Wuff2015-03-214-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | Users with near-full-size keyboards (tablet docks/cases, or usb/bluetooth keyboards) probably don't want sticky modifier keys. Make it an option that's off by default (except on the Dream where it's likely desirable). Also, include a third state to make only "alt" sticky, for the benefit of the crazy keyboard driver on the TF101/201 that doesn't emit real key events for alt+key pressed together. Also, implement stickiness for the control key on physical keyboards that have one, for consistency.
* | Remove update frequency preference.Torne Wuff2015-03-211-5/+0
| | | | | | | | | | The update checker code was already removed; remove the now-unused pref that controlled it.
* | Cope with keymaps that don't understand ALT modifier by falling back on the ↵Paul "LeoNerd" Evans2015-03-211-1/+5
|/ | | | un-modified Unicode char if it is unknown with
* Disable EC generation when no supportKenny Root2014-10-181-0/+7
| | | | Change-Id: I1d03afa0a37cfa2779e1264aaf16052c6539640f
* Add class hiding for KeyEvent debuggingKenny Root2014-10-181-3/+54
| | | | Change-Id: Id34acf00f9ec538d81b72b970ae1990c6ed36510
* Add preference to control action bar autohide.Torne Wuff2014-10-172-5/+19
| | | | Disabled by default so that people will be able to find the menu.
* Fix emulated key show/hide timeout.Torne Wuff2014-03-021-25/+37
| | | | | | Keep track of the previous timeout event and cancel it if we already dismissed the emulated keys, to avoid the case where the emulated keys vanish immediately after opening them when used just beforehand.
* Add key dumping code (commented).Torne Wuff2014-03-012-0/+100
| | | | | We might expose this as an advanced option later; for now just check it in as a commented line for dev purposes.
* Fix ctrl key on hardware keyboards.Torne Wuff2014-03-011-3/+7
| | | | | | | We were only masking off META_CTRL_ON before calling getUnicodeChar, which caused many keymaps to return 0 since one of the other ctrl key bits was still set. Masking off *all* the ctrl bits makes it return the actual character for the key pressed, and then we handle it right.
* Re-use title_colors for the colours menu item.Darren Salt2013-10-061-1/+1
| | | | This allows translation etc. – I get to see "Colours" instead of "Colors".
* 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
* Hopefully fix the majority of keyboard issues.Torne Wuff2013-09-303-8/+36
| | | | | | | | | | | | | It seems that the majority of keyboard issues were caused by quirks implemented for the convenience of the HTC Dream (shift+numbers generating function keys on the hardware keyboard and ctrl+numbers generating function keys on the software keyboard). Turn these into settings, which are disabled by default unless the device is indeed a HTC Dream. Also, add a setting (defaulting to on) which determines whether the volume keys change the font size. Disabling this restores normal volume control functionality.
* Rewrite key input handler to be clearer.Torne Wuff2013-08-253-212/+176
| | | | | | | Misc. improvements to layout of key input handler. Probably doesn't fix any existing major bugs, but introduces several booleans that control special cases that can later be hooked to device detection or settings, and generally makes more sense.
* Move PublicKey decoding out of PubkeyBeanKenny Root2013-04-164-63/+48
|
* Extract common key generation functionKenny Root2013-04-161-51/+28
|
* Get rid of useless encoding methodsKenny Root2013-04-142-18/+11
|
* Split recoverKeyPair method for testingKenny Root2013-04-141-12/+15
|
* No need to have HandlerKenny Root2013-04-142-31/+16
|
* PubkeyUtils should not be instantiatedKenny Root2013-04-141-0/+4
|
* Add tests for PubkeyUtils#recoverKeyPairKenny Root2013-04-142-98/+100
| | | | It turns out it helps to be in the right coordinate format.
* Get KeyFactory by algorithm name instead of OIDKenny Root2013-04-141-22/+31
|
* Fix PKCS#8 key importKenny Root2013-04-131-44/+33
| | | | This uses the SimpleDERReader to inspect the key algorithm.
* Partial support for importing EC keysKenny Root2013-04-135-6/+194
|
* Use Keyczar EcCore for scalar multiplyKenny Root2013-04-1211-1674/+687
|