Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ea3f92

Browse files
committed
added notes about security
1 parent 54175f7 commit 6ea3f92

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Demo/pdist/README

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Filesystem, RCS and CVS client and server classes
22
=================================================
33

4+
*** See the security warning at the end of this file! ***
5+
46
This directory contains various modules and classes that support
57
remote file system operations.
68

@@ -23,6 +25,8 @@ RCSProxy.py RCS interface classes
2325
client.py Client class
2426
server.py Server class
2527

28+
security.py Security mix-in class (not very secure I think)
29+
2630
cmdfw.py CommandFrameWork class
2731
(used by rcvs, should be used by rrcs as well)
2832

@@ -82,3 +86,15 @@ instantiate a client.
8286

8387
The modules client and server should probably be renamed to Client and
8488
Server in order to match the class names.
89+
90+
91+
*** Security warning: this version requires that you have a file
92+
$HOME/.python_keyfile at the server and client side containing two comma-
93+
separated numbers. The security system at the moment makes no guarantees
94+
of actuallng being secure -- however it requires that the key file
95+
exists and contains the same numbers at both ends for this to work.
96+
(You can specify an alternative keyfile in $PYTHON_KEYFILE).
97+
Have a look at the Security class in security.py for details;
98+
basically, if the key file contains (x, y), then the security server
99+
class chooses a random number z (the challenge) in the range 10..100000
100+
and the client must be able to produce pow(z, x, y) (i.e. z**x mod y).

0 commit comments

Comments
 (0)