comparison doc/Todo @ 0:d3b8cd5aeb70

make repo.
author pyon@macmini
date Sun, 30 Sep 2018 17:27:04 +0900
parents
children 7fe3417cefc8
comparison
equal deleted inserted replaced
-1:000000000000 0:d3b8cd5aeb70
1 ** client.exe の機能 ************************************************************
2 * 手動によりバージョンアップ
3 * verup.bat をダブルクリック
4 # verup.bat
5 client -r 192.168.0.1:3910
6 # GET /release/grsearcher.exe, /release/client1.exe
7 copy client1.exe client.exe
8
9 * 毎回 clientで auth.db と hhs.db を取得
10 > client -u 192.168.0.1:3910
11 # GET /db/auth.db, /db/hhs.db, /db/index.db (5day)
12 + GUI(grsearchr) 終了時に auth.db と hhs.db は削除
13 * auth.db は任意の、hhs.db は月一のアップデートだが、漏洩防止のため毎回削除
14 * 毎月10のつく日に index.db を取得
15
16 * client で画像取得
17 > client.exe 192.168.0.1:3910 0800012345 20170105
18 # date:00000000 で最新審査会を取得する構想は廃止
19
20 ** crypto/crypto.exe の機能 *****************************************************
21 * crypto.go 作成
22 + auth 用 ( ハッシュ化 )
23 * -a で plaintext を暗号化
24 > crypto.exe -a plaintext -s salt // done.
25 * -b で auth.csv を暗号化
26 > crypto.exe -b auth.csv -s salt > auth.db
27 * -c で 認証チェック
28 > crypto.exe -c auth.db -s salt user passwd
29 + user/passwd が一致したら "39 user" を返す
30 + 認証なしのテストのときは user/passwd: test/test
31 + auth.db のための salt は gui に内蔵する
32 + hhs 用 ( 双方向、キーは crypto.go と gui に内蔵 )
33 * -d で復号化、-e で暗号化
34 > crypto.exe -d hhs.db key > hhs.csv
35 > crypto.exe -e hhs.csv > hhs.db
36 * -f と -g で 認証チェック
37 > crypto.exe -f hhs.db -g hhs key
38 + hhs/key が一致したら "39 hhs" を返す
39
40 ** imgtgz の機能 ****************************************************************
41 * jpeg を 1.jpg, ..., 5.jpg とリネームし tgz にする.
42
43 ** server の機能 ****************************************************************
44 * 単なる web-server
45 + log 機能を追加 ( ver1.1 )
46
47 ** その他 ***********************************************************************
48 * IP Address
49 Seibu kai-cl11 192.168.31.202 75-1130
50 Rokugo kai-cl26 192.168.14.201 88-8404
51 Nishiki kai-cl17 192.168.16.202 49-6210
52 #Nishiki kai-cl25 192.168.16.201
53 Isono 192.168.21.151
54 Fuguta 192.168.21.153
55
56 * server ( FreeBSD )
57 server_root/server, crypto, imgtgz
58 + db/auth.db, hhs.db, index.db
59 + release/grsearchr.exe, client.exe
60 + images/20180707/0800012345.tgz, ...
61
62 * client ( Windows )
63 rsearcher_root/grsearcher.exe, client.exe, crypto.exe
64 auth.db, hhs.db, index.db
65 + .cache/20180707_1.jpg, ...
66 + image/*.png
67
68 __DONE__
69
70 * server は rc で起動する(cron は電源入れ忘れがあるからダメ)
71 + Handbook の 11.2
72