-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
63 lines (36 loc) · 1.46 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
All slightly incomplete and experimental, basic functionality works though.
Security
--------
Basically the system has two entities, a "key" and a "password" - they relate to each
other.
For a first time install do the following (in order, the order does matter!).
(On the server)
Step 1) "jcmakeserverpasswd"
This will make a file "/etc/jcam_passwd" containing an MD5 hash of the
password. The server will pick this up when started.
Step 2) "jcmakekey"
This produces a key file "/etc/jcam_key". This is your key and needs to
be the same on all the clients.
This is a block of random data described in ASCII hex. It is used by the
encryption between the server and its clients.
Step 3) "jcmakeclientpasswd"
Produces a file ".jcpass"
This is an encrypted form the password (same password as "jcmakeserverpasswd")
It needs the key file "/etc/jcam_key"
Clients use the key to decrypt this password and present it to the server
when connecting.
Step 4) Backup the 3 files "/etc/jcam_key" "/etc/jcam_passwd" ".jcpass" - you may need
them again sometime.
Step 5) On the client:
The two files "/etc/jcam_key" and ".jcpass" need to be copied onto the client.
".jcpass" can go in the users home directory, or if all else fails place it in
root "/"
Examples (server):
# jcmakeserverpasswd
password: *********
Created /etc/jcam_passwd
# jcmakekey
Created /etc/jcam_key
# jcamclientpasswd
password: *********
Created .jcpass