Commit Graph
50 Commits
Author SHA1 Message Date
Syrone Wong 2b4b6cba07 Minor ConfigForm changes
- add event handler for KeyDown
- drop unused code, we don't support
  table and rc4 now

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-17 15:56:00 +08:00
Syrone Wong 21618ef08d Cleanup
- Drop redundant code.
  I should read code carefully, mbed TLS will set operation
  when invoking mbedtls_cipher_setkey(), the last param
  const mbedtls_operation_t operation is what we want.
- minor changes

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-14 22:29:48 +08:00
Syrone Wong 2fafc52def Refine encryption(#655)
* Refine encryption

- Add AES-CTR, blowfish and camellia ciphers

aes-256-ctr
aes-192-ctr
aes-128-ctr
bf-cfb
camellia-128-cfb
camellia-192-cfb
camellia-256-cfb

- Merge the previous PolarSSL and MbedTLS
- Switch to MbedTLS's cipher layer functions
- Add workaround to set cipher operation(encrypt/decrypt)

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>

* Add function to get MbedTLS cipher context size

and drop hard-coded ctx sizes

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-13 14:28:09 +08:00
kimw ba7bfc4a82 fixed code indent 2016-05-14 10:40:20 -04:00
kimw 3f8d5b415b fixed password mask 2016-05-14 05:24:25 -04:00
Syrone Wong 131c4940c6 add chacha20-ietf support with updated libsscrypto
ChaCha20 with an extended (96 bit) nonce and a 32-bit counter has
been implemented as crypto_stream_chacha20_ietf() from LibSodium 1.0.4

Please refer to https://tools.ietf.org/html/rfc7539 for details.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2015-12-17 18:25:13 +08:00
Gang Zhuo d24548a04f rm rc4 and table 2015-10-16 04:36:31 -04:00
Gang Zhuo 5c570fbb56 disable one-time auth when method is table or rc4 2015-09-25 21:18:15 +08:00
Gang Zhuo 204d6b856e verbiage 2015-09-21 05:28:18 -04:00
Gang Zhuo 1564e9ff81 support onetime auth 2015-09-20 15:13:11 +08:00
kimw f33fb04b89 support customize the server order 2015-08-18 23:48:52 +08:00
clowwindy 42c3776aa5 move proxy port out of group box 2015-01-18 14:30:48 +08:00
clowwindy 5d194b42bc fix #89 2014-12-21 15:52:30 +08:00
clowwindy 06b92a3c0a auto layout 2014-12-20 19:59:05 +08:00
clowwindy eaaacd398d minor fixes 2014-12-20 17:26:40 +08:00
clowwindy 52ca609e3e i18n 2014-12-20 16:56:25 +08:00
clowwindy f0920098ad sodium works 2014-12-13 10:15:15 +08:00
clowwindy 919f9b5ce3 remove blowfish 2014-11-18 20:46:54 +08:00
clowwindy 7f76141ca2 seperate tray menu from ConfigForm 2014-11-15 03:08:53 +08:00
clowwindy 3b5777d830 lint code 2014-11-12 21:40:31 +08:00
kookxiang 8c90452b90 option to start on boot 2014-11-12 21:05:22 +08:00
clowwindy 61c17f65b9 high dpi support; close #47 2014-11-11 00:44:37 +08:00
wzxjohn ac4748d6bf lint code 2014-11-09 20:41:42 +08:00
clowwindy 7faf2c992b do not expose SaveConfig to Views 2014-11-09 14:01:26 +08:00
clowwindy e4ff27a1fc share over LAN 2014-11-09 13:31:33 +08:00
clowwindy 492869fd5c move log to temp path 2014-11-09 11:56:30 +08:00
wzxjohn 9f50a5a34b add cancel button for config
Now can use esc key to cancel, and don't change focus after change
server from list
2014-11-09 02:13:35 +08:00
wzxjohn b5eac341b3 revert 2014-11-09 02:10:43 +08:00
wzxjohn 24614ba2a7 add cancel button for config
Now can use esc key to cancel, and don't change focus after change
server from list
2014-11-09 02:04:11 +08:00
wzxjohn ac21a0960f add config lock
Add a lock on config form to avoid accidental changes
2014-11-09 01:50:47 +08:00
clowwindy 040ae7981c add qrcode form 2014-11-08 21:36:20 +08:00
clowwindy c26c1dddd4 remarks should be plural 2014-11-08 17:11:56 +08:00
Sharuru 197ddd3d78 Add remark function 2014-11-08 16:41:25 +08:00
clowwindy f0b2cb49a4 auto focus IP textbox 2014-11-08 14:20:32 +08:00
clowwindy f34a4d7784 hide password 2014-11-08 14:07:05 +08:00
clowwindy 47edb40ba5 implement server switching menu 2014-11-08 13:28:53 +08:00
clowwindy afa46b63b7 implement removing server and saving 2014-11-08 12:33:00 +08:00
clowwindy ac1172c3ec implement adding server 2014-11-08 12:17:20 +08:00
clowwindy 366d08c3db remove default items in server list 2014-11-08 04:38:27 +08:00
clowwindy 4c7f393003 half way done 2014-11-08 04:37:38 +08:00
clowwindy fe6c48bdef update UI 2014-11-08 03:50:40 +08:00
clowwindy 17e71c590b update UI 2014-11-08 01:52:07 +08:00
clowwindy 3d5af1c6d8 use upper case Shadowsocks in notify icon text 2014-11-08 01:13:29 +08:00
clowwindy 04a4427cff update namespace 2014-11-08 01:02:50 +08:00
clowwindy 28b582590a update namespace 2014-11-08 01:01:30 +08:00
clowwindy 22f2a43281 update form 2014-11-08 00:58:23 +08:00
clowwindy ce6d4964be PAC edit 2014-11-07 21:46:27 +08:00
clowwindy 32cadc3c18 use different namespace 2014-11-07 03:11:14 +08:00
clowwindy b3164e5553 adjust layout 2014-11-07 02:19:53 +08:00
clowwindy 1de2d001d7 lint project 2014-11-07 01:33:36 +08:00