| 0 | 1 ** client.exe の機能 ************************************************************ | 
|  | 2 | 
|  | 3 * client で画像取得 | 
|  | 4 	> client.exe 192.168.0.1:3910 0800012345 20170105 | 
|  | 5 | 
| 4 | 6 * client でアップロード | 
| 13 | 7 	> client.exe -a 192.168.0.1:3910 localfile  # /upload へ | 
|  | 8 	> client.exe -m 192.168.0.1:3910 localfile	# /db ヘ | 
| 4 | 9 | 
|  | 10 * バージョンアップ | 
|  | 11     + パスワード機能を追加 ( ver1.11 ) | 
|  | 12     + ヘッダ拒否機能を追加 ( ver1.2 ) | 
|  | 13 | 
| 0 | 14 ** crypto/crypto.exe の機能 ***************************************************** | 
|  | 15 	+ auth 用 ( ハッシュ化 ) | 
| 3 | 16 		* -a で plaintext を暗号化	# server/client | 
|  | 17 			> crypto.exe -a plaintext -s salt | 
|  | 18 		* -b で auth.csv を暗号化	# server | 
| 0 | 19 			> crypto.exe -b auth.csv -s salt > auth.db | 
| 3 | 20 		* -c で 認証チェック		# gui | 
| 0 | 21 	   		> crypto.exe -c auth.db -s salt user passwd | 
| 4 | 22 			+ user/passwd が一致したら "valid user" を表示し、"39" を返す | 
| 0 | 23 			+ 認証なしのテストのときは user/passwd: test/test | 
|  | 24 		+ auth.db のための salt は gui に内蔵する | 
|  | 25 	+ hhs 用 ( 双方向、キーは crypto.go と gui に内蔵 ) | 
| 3 | 26 		* -d で復号化、-e で暗号化	# server | 
|  | 27 			> crypto.exe -d hhs.db  key > hhs.csv | 
|  | 28 			> crypto.exe -e hhs.csv key > hhs.db | 
|  | 29 		* -f で 認証チェック		# gui | 
| 2 | 30 			> crypto.exe -f hhs.db hhs key | 
| 3 | 31 			+ hhs/key が一致したら hhs の情報を返す | 
| 13 | 32 		* -o で ファイル出力 | 
|  | 33 | 
|  | 34 ** extsql.exe の機能 ************************************************************ | 
|  | 35 	searcher03.exe で作成される hhs.db と index.db から | 
|  | 36 	re:searcher 用の hhs.db と index.db を作成する. | 
|  | 37 	client.exe(guiから) でサーバにアップロードする. | 
| 0 | 38 | 
|  | 39 ** imgtgz の機能 **************************************************************** | 
|  | 40 * jpeg を 1.jpg, ..., 5.jpg とリネームし tgz にする. | 
|  | 41 | 
|  | 42 ** server の機能 **************************************************************** | 
|  | 43 * 単なる web-server | 
| 4 | 44 * バージョンアップ | 
| 10 | 45     + log 機能を強化(user-id) ( ver1.x ) | 
|  | 46     + ヘッダ拒否機能を追加 ( ver1.x ) | 
| 2 | 47 | 
|  | 48 ** grsearcher の機能 **************************************************************** | 
| 4 | 49 * バージョンアップ | 
| 10 | 50     + サテライトウィンドウのマウスジェスチャー(close) | 
|  | 51     + キャッシュを使わずメモリで | 
| 4 | 52     + client に pw | 
|  | 53     + 10分間 Idle なら password | 
| 6 | 54     + green-mode の搭載 ( green, green/b, beige, gray ) | 
| 4 | 55     + プライベートフォルダに写真 userid/startup.jpg, default.jpg, avatar.jpg | 
| 0 | 56 | 
|  | 57 ** その他 *********************************************************************** | 
|  | 58 * IP Address | 
|  | 59 	Seibu		kai-cl11	192.168.31.202	75-1130 | 
|  | 60 	Rokugo		kai-cl26	192.168.14.201	88-8404 | 
| 2 | 61 	Nishiki		kai-cl??	192.168.16.203	49-6210 | 
| 0 | 62 	#Nishiki	kai-cl25	192.168.16.201 | 
| 2 | 63 	Isono					192.168.21.151          # nginx:3910 | 
|  | 64 	Fuguta					192.168.21.153          # server:3910 | 
| 0 | 65 | 
|  | 66 * server ( FreeBSD ) | 
|  | 67  server_root/server, crypto, imgtgz | 
|  | 68             + db/auth.db, hhs.db, index.db | 
| 13 | 69             + release/grsearcher.exe, client.exe, crypto.exe, manual.pdf | 
| 0 | 70             + images/20180707/0800012345.tgz, ... | 
|  | 71 | 
|  | 72 * client ( Windows ) | 
| 13 | 73  rsearcher_root/grsearcher.exe, client.exe, crypto.exe (, sqlite3.exe, extsql.exe ) | 
| 0 | 74                 auth.db, hhs.db, index.db | 
| 4 | 75                + .cache/20180707_1, ... | 
| 2 | 76                + image/*.png, *.jpg | 
| 0 | 77 | 
|  | 78 __DONE__ | 
|  | 79 | 
|  | 80 * server は rc で起動する(cron は電源入れ忘れがあるからダメ) | 
|  | 81 	+ Handbook の 11.2 | 
|  | 82 | 
| 8 | 83 * DB情報の取得を gui で | 
|  | 84 	> client -u 192.168.0.1:3910 と同等機能 | 
|  | 85     # GET /db/auth.db, /db/hhs.db, /db/index.db (14day) | 
|  | 86 	+ GUI(grsearcher) 終了時に auth.db と hhs.db は削除 | 
|  | 87 	* auth.db は任意の、hhs.db は月一のアップデートだが、漏洩防止のため毎回削除 | 
| 13 | 88     * 毎月13日と28日に index.db を取得 | 
| 8 | 89 | 
| 13 | 90 * 自動バージョンアップ | 
|  | 91     # upgrade.bat | 
|  | 92     client -r 192.168.0.1:3910 | 
|  | 93     # GET /release/grsearcher.exe, /release/crypto.exe, /release/client1.exe | 
|  | 94 	#     /release/manual.pdf | 
|  | 95     copy client1.exe client.exe | 
|  | 96 |