Akkariiin
|
d2f3900f68
|
fix libsodium.so.23 cannot find on some strange linux environment
that case by ```ctypes.util.find_library()``` have different find path from ```CDLL()```
|
7 years ago |
Akkariiin
|
ae6ba02163
|
use logging to replace error print
|
7 years ago |
Akkariiin
|
5d0e345b38
|
add xchacha20 and xsalsa20 support
xchacha20 only support since libsodium v1.0.12
|
7 years ago |
Akkariiin
|
11f4b47939
|
add a notice for CBC mode
|
7 years ago |
Akkariiin
|
e540ea171b
|
add aes-256-gcm to openssl
test all the method
make some format
|
7 years ago |
Akkariiin
|
ef3e455739
|
add notes to find_library_nt function
|
7 years ago |
AkaneAkaza
|
6ebd86fa48
|
fix memory leak
|
7 years ago |
破娃酱
|
d6e1f73c9f
|
fix old version of OpenSSL
|
8 years ago |
破娃酱
|
85b6930d7d
|
fix old version of OpenSSL
ignore warning
|
8 years ago |
破娃酱
|
96200d7d76
|
fix key size
|
8 years ago |
破娃酱
|
d45ba8de03
|
OpenSSL 1.1.0 compatible
|
8 years ago |
破娃酱
|
e5824be145
|
fix none encrypt key size
|
8 years ago |
破娃酱
|
a407bcc568
|
add auth_aes128
|
8 years ago |
破娃酱
|
2637c8d1c7
|
fix chacha20-ietf
|
8 years ago |
BreakWa11
|
0a7d71a393
|
using mysql.json to config mysql
|
9 years ago |
BreakWa11
|
cd6dab188c
|
avoid making mudb.json empty
test more encryptor
add rc4-md5-6
|
9 years ago |
BreakWa11
|
ce189ecd85
|
remove useless log
add openssl rand_bytes
|
9 years ago |
BreakWa11
|
b151bf815f
|
fix "chacha20-ietf"
|
9 years ago |
BreakWa11
|
ddcf7f796f
|
ignore error if not support "chacha20-ietf"
|
9 years ago |
BreakWa11
|
3dec2377bb
|
add "chacha20-ietf", libsodium version must be higher than 1.0.4, see https://github.com/jedisct1/libsodium/releases/
|
9 years ago |
Falseen
|
72001556b5
|
remove m2.py
|
9 years ago |
falseen
|
680c128c72
|
优化细节。
修复:搜索完所有路径之后再判断是否抛出错误,而不是遇到错误就抛出。主要是考虑到系统中同时存在32位和64位dll的情况,原来的代码如果第一个找到的dll文件跟系统不符的话会直接报错。
|
9 years ago |
falseen
|
b6961974ba
|
兼容py3,修正语法错误,加载libcrypto模块失败时显示详细错误。
修正语法错误:` except Exception, e: ` 是旧版本的语法,py2.6之后的版本已不再使用此语法。
加载libcrypto模块失败时显示详细错误。
|
9 years ago |
falseen
|
5a5b897578
|
兼容py3,显示详细错误。
兼容py3,显示详细错误。
|
9 years ago |
breakwa11
|
f2efed9608
|
add manyuser branch
support udp over tcp
support chacha20 & salsa20 (base on libsodium)
|
10 years ago |
clowwindy
|
6d09cd21ca
|
fix openssl
|
10 years ago |
clowwindy
|
318d88ec89
|
use string more
|
10 years ago |
clowwindy
|
ce805f0aea
|
license under Apache License v2.0
|
10 years ago |
clowwindy
|
bd22e3ef75
|
try every dll that matches by name in PATH
|
10 years ago |
clowwindy
|
af6c6f3f23
|
also search lib* for library names
|
10 years ago |
clowwindy
|
5c05a74727
|
fix a potential name conflict
|
10 years ago |
clowwindy
|
80b8bd7014
|
remove M2Crypto completely
|
10 years ago |
clowwindy
|
a4b0ea5b8f
|
fix find_library
|
10 years ago |
clowwindy
|
e582b2b929
|
rename ctypes_* and remove salsa20-ctr
|
10 years ago |
clowwindy
|
3d03dbf716
|
extract find_library
|
10 years ago |
fa08c
|
6eadfca78e
|
Removing trailing whites
|
10 years ago |
fa08c
|
3294a92a61
|
Search libcrypto.so in more locations
Some linux distro may store .so in some alternative locations. Now we
try harder to find them.
|
10 years ago |
fa08c
|
18da3554ff
|
Minor fix: never use except: unless you reraise
|
10 years ago |
fa08c
|
176e97bb45
|
Fixing some minor issues
|
10 years ago |
clowwindy
|
4598e09b78
|
now works on OpenWRT
|
10 years ago |
v3aqb
|
d91f7d85d4
|
Update ctypes_libsodium.py
|
10 years ago |
clowwindy
|
810db996cd
|
disable M2Crypto on Python 3
|
10 years ago |
clowwindy
|
e6416562fc
|
add salsa20 and chacha20
|
10 years ago |
clowwindy
|
84dcff83c1
|
add libsodium support
|
10 years ago |
clowwindy
|
5209860db1
|
fix cipher name in test
|
10 years ago |
clowwindy
|
f9ba6f7390
|
fix table test
|
10 years ago |
clowwindy
|
cbf8c6705b
|
refactor table into a single cipher plugin
|
10 years ago |
clowwindy
|
f02e9a3132
|
fix EVP_CIPHER_CTX_new's arg types
|
10 years ago |
clowwindy
|
90dc03c762
|
prefer ctypes over m2crypto in rc4-md5
|
10 years ago |
clowwindy
|
4affb56d36
|
fix test
|
10 years ago |