pyvserv
所属分类:Python编程
开发工具:C
文件大小:0KB
下载次数:0
上传日期:2024-01-01 20:56:39
上 传 者:
sh-1993
说明: python中的零知识enc客户端服务器。
(Zero knowledge enc Client Server in python.)
文件列表:
.pyserv/
DEBIAN/
bluepy/
client/
common/
docs/
ecdsa/
gui/
pycrypto-2.6.1/
pycrypto/
server/
study/
test/
tools/
utils/
INSTALL
Makefile
PROTOCOL
UTILS
build-deb.sh
clean.sh
cleankeys.sh
description-pak
iterproj.py
md5sums.txt
# Python vServer
## Python fully encrypted server
PyvServ is a fully fledged encrypting TCP/IP server written in Python. The
encryption algorithm is bluepy. The server can be fully administered from
the protocol side.
PyvServ contains protocol level encryption, which can be switched on by
instructing the server to use an encryption key.
PyvServ contains key exchange protocol, so the new session keys
can be transmitted securely, even with zero knowledge.
PyvServ internally generates random keys, and spools asymmetric key generation,
so communication data is always distinctive.
Project is still in motion, not much is usable yet.
Dependencies:
Most linux system have all the dependencies by default. Some dependencies
may need adding, like the following:
sudo apt install python3-psutil
sudo apt install python3-bcrypt
The firewall needs to be opened for incoming connections on port 9999.
For example (assuming port 6666):
sudo iptables -A INPUT -p tcp --dport 6666
sudo iptables -A INPUT -p tcp --sport 6666
### Working so far:
Bluepoint2. The subdir bluepy contains the 'c' code and the python binding.
make build; # operational
make test; # operational
Only py3 supported. Disabled py2
#### Partially Working:
Server. subdir: server -- Server has 50% of the commands done
Client. subdir: client -- quarter of the commands
Test Suite. subdir: test
Studies. subdir: study -- testing subsystems
subdir: pycrypto -- test crypto functions
#### Version-ing.
The 'C' module has a date API, that is generated automatically. Use it to
distinguish algorithm version.
print( "Builddate: ", bluepy.builddate())
#### Quick start:
open terminal window
navigate to server subdir
type ./pyvserv.py
open another terminal window
navigate to client subdir
type ./pycli_hello.py
The following should be printed on command line:
./pycli_hello.py
Server initial: OK pyserv ready
Server response: OK Hello
The best way to learn about the operation of the server is to look at the
sample client examples in the client source tree. (Files named pycli_*)
All tests are base on python3, most (not all) modules do function on both py2 and py3.
4/12/22 No py2 support
Peter Glen
近期下载者:
相关文件:
收藏者: