| 0 | 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 | 
| 2 | 11     # GET /db/auth.db, /db/hhs.db, /db/index.db (10day) | 
|  | 12 	+ GUI(grsearcher) 終了時に auth.db と hhs.db は削除 | 
| 0 | 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 用 ( ハッシュ化 ) | 
| 3 | 23 		* -a で plaintext を暗号化	# server/client | 
|  | 24 			> crypto.exe -a plaintext -s salt | 
|  | 25 		* -b で auth.csv を暗号化	# server | 
| 0 | 26 			> crypto.exe -b auth.csv -s salt > auth.db | 
| 3 | 27 		* -c で 認証チェック		# gui | 
| 0 | 28 	   		> crypto.exe -c auth.db -s salt user passwd | 
| 3 | 29 			+ user/passwd が一致したら "valid user を表示し "39 を返す | 
| 0 | 30 			+ 認証なしのテストのときは user/passwd: test/test | 
|  | 31 		+ auth.db のための salt は gui に内蔵する | 
|  | 32 	+ hhs 用 ( 双方向、キーは crypto.go と gui に内蔵 ) | 
| 3 | 33 		* -d で復号化、-e で暗号化	# server | 
|  | 34 			> crypto.exe -d hhs.db  key > hhs.csv | 
|  | 35 			> crypto.exe -e hhs.csv key > hhs.db | 
|  | 36 		* -f で 認証チェック		# gui | 
| 2 | 37 			> crypto.exe -f hhs.db hhs key | 
| 3 | 38 			+ hhs/key が一致したら hhs の情報を返す | 
| 0 | 39 | 
|  | 40 ** imgtgz の機能 **************************************************************** | 
|  | 41 * jpeg を 1.jpg, ..., 5.jpg とリネームし tgz にする. | 
|  | 42 | 
|  | 43 ** server の機能 **************************************************************** | 
|  | 44 * 単なる web-server | 
| 2 | 45     + upload 機能を追加 ( ver1.1 ) | 
|  | 46     + log 機能を追加 ( ver1.2 ) | 
| 3 | 47     + log 機能を強化(user-id) ( ver1.3 ) | 
| 2 | 48 | 
|  | 49 ** grsearcher の機能 **************************************************************** | 
|  | 50  * 10分間 Idle なら password | 
|  | 51  * mouse gesture 次、前のタブへ | 
|  | 52  * dark-mode の搭載 | 
|  | 53  * プライベートフォルダに写真 userid/startup.jpg, default.jpg, avatar.jpg | 
| 0 | 54 | 
|  | 55 ** その他 *********************************************************************** | 
|  | 56 * IP Address | 
|  | 57 	Seibu		kai-cl11	192.168.31.202	75-1130 | 
|  | 58 	Rokugo		kai-cl26	192.168.14.201	88-8404 | 
| 2 | 59 	Nishiki		kai-cl??	192.168.16.203	49-6210 | 
| 0 | 60 	#Nishiki	kai-cl25	192.168.16.201 | 
| 2 | 61 	Isono					192.168.21.151          # nginx:3910 | 
|  | 62 	Fuguta					192.168.21.153          # server:3910 | 
| 0 | 63 | 
|  | 64 * server ( FreeBSD ) | 
|  | 65  server_root/server, crypto, imgtgz | 
|  | 66             + db/auth.db, hhs.db, index.db | 
| 2 | 67             + release/grsearcher.exe, client.exe | 
| 0 | 68             + images/20180707/0800012345.tgz, ... | 
|  | 69 | 
|  | 70 * client ( Windows ) | 
|  | 71  rsearcher_root/grsearcher.exe, client.exe, crypto.exe | 
|  | 72                 auth.db, hhs.db, index.db | 
|  | 73                + .cache/20180707_1.jpg, ... | 
| 2 | 74                + image/*.png, *.jpg | 
| 0 | 75 | 
|  | 76 __DONE__ | 
|  | 77 | 
|  | 78 * server は rc で起動する(cron は電源入れ忘れがあるからダメ) | 
|  | 79 	+ Handbook の 11.2 | 
|  | 80 |