December 05, 2005

加密式檔案系統

自從前兩天可愛小硬碟入手後,我將它放入 USB Mobie Disk,不久,就發現一件悲慘的事情。

我的 USB Mobie Disk 不愛穿衣服!

一但我將 USB Mobie Disk 的上蓋蓋起來,USB 連接線一接上 X31,X31 馬上發瘋似地重開機,履試不爽。現在,只好讓它脫了上蓋,給它一個清涼,但外觀看起來就是沒這麼漂亮有質感啊!

好吧,不愛穿衣服就算了。我又想到萬一某天,這顆備份資料用的小硬碟,不小心遺失了的話,我可不希望裡頭一些私密資料讓人看光光。於是乎,我就想試試 Linux 的加密式檔案系統。

只不過,試了半天才發現,我現在用的 Linux 系統(MDK LE 2005)並不支援 AES Multi Key (V2=64 keys / V3=65 keys)。所以,底下的步驟是建立一個 10G 的加密式檔案系統,並利用 AES 128 加密。

1. 建立一個約 10G 的大型檔案,檔案內容塞滿亂數資料

# dd if=/dev/urandom of=mystuff bs=1M count=10000

2. 產生單一 AES Single Key 並用 GPG 加密起來
# head -c 2925 /dev/urandom | uuencode -m - | head -n 66 | tail -n 1 | gpg --symmetric -a > /etc/fskey.gpg

3. 將 mystuff 檔案利用 aes-128 加密並掛上 /dev/loop0
# losetup -e aes-128 -K /etc/fskey.gpg /dev/loop0 mystuff

4. 格式化
# mkfs.ext3 /dev/loop0
# tune2fs -m0 /dev/loop0

5. 將 aes-128 加密的檔案系統掛載上 /mnt/crypto
# mkdir /mnt/crypto
# mount -t ext3 /dev/loop0 /mnt/crypto
# df-h
Filesystem 容量 已用 可用 已用% 掛載點
/dev/loop0 9.7G 33M 9.6G 1% /mnt/crypto

如果你有些敏感資料或很隱私的內容,需要以加密的方式儲存時,Linux 的加密式檔案系統將是一個不錯的選擇。

參考資料:
1. Cryptoloop-HOWTO
2. loop-AES.README

由 發表於 December 5, 2005 03:19 PM
迴響

bestcrypt也是一个懒人的选择 :)
http://www.xfocus.net/tools/200603/1140.html

Posted by: baoz 發表於 March 12, 2006 06:58 PM

csIt is there - http://dogsex.pornfilmssales.com/teen-bestiality-bestiality.html
zoo sex clips
download video zoofilia
animal sex comics
http://dogsex.pornfilmssales.com/how-to-have-sex-with-dog.html
beast sex zoo
http://dogsex.pornfilmssales.com/brazilian-bestiality.html
animal sex galleries
http://dogsex.pornfilmssales.com/bestiality-photos.html
http://dogsex.pornfilmssales.com/rapidshare-bestiality.html

Posted by: irgy 發表於 September 5, 2006 05:12 AM

csLook this http://livecam.searchpaysites.net/yahoo-cam-girls.html
mardi gras web cams
live strippers
female strippers chatrooms
http://livecam.searchpaysites.net/hot-girl-cams.html
http://livecam.searchpaysites.net/adult-free-streaming-cams.html
pool dressing room cam
good charlotte - i just wanna live
http://livecam.searchpaysites.net/brownie-camera.html
http://livecam.searchpaysites.net/tournee-du-chat-noir.html

Posted by: boris 發表於 October 1, 2006 10:00 PM

csIt is there - upskirt creampies
just cream pies
http://creamonpussy.donnatos.net/chocolate-cream-pies.html
sexual cream pies free pictures
mature asian creampie tgp
cuckold creampie femdom clips free
creampie hardcore sex
heathers amatuer creampie video
bukkake creampies
http://creamonpussy.donnatos.net/housewives-creampies.html

Posted by: nik 發表於 October 6, 2006 02:21 PM

csHi. Cool theme, but this is interesting too: girl bathroom cam
free sex web cam
http://livewebcam.hotsitessearch.com/hidden-bathroom-cams.html
http://livewebcam.hotsitessearch.com/webcam-boobs.html
free to watch adult web cams
http://livewebcam.hotsitessearch.com/tg-chat.html
hot dorm cam
chat rooms for teens
sexy cam
http://livewebcam.hotsitessearch.com/cam-girls-live.html

Posted by: george 發表於 October 7, 2006 01:06 PM

csHi. Cool theme, but this is interesting too: bondage comic|http://hentaiporn.midnightgalls.com/bondage-comic.html
free flash hentai games|http://hentaiporn.midnightgalls.com/free-flash-hentai-games.html
sexy comic|http://hentaiporn.midnightgalls.com/sexy-comic.html
love hina free hentai|http://hentaiporn.midnightgalls.com/love-hina-free-hentai.html
zoo sex cartoon|http://hentaiporn.midnightgalls.com/zoo-sex-cartoon.html
xxx comic|http://hentaiporn.midnightgalls.com/xxx-comic.html
funny adult cartoons|http://hentaiporn.midnightgalls.com/funny-adult-cartoons.html
sexy cartoon girls|http://hentaiporn.midnightgalls.com/sexy-cartoon-girls.html
cartoon bitches|http://hentaiporn.midnightgalls.com/cartoon-bitches.html
anime spanking|http://hentaiporn.midnightgalls.com/anime-spanking.html

Posted by: tanita 發表於 October 13, 2006 04:51 AM

csMy URLs is http://supermom.upmba.org/wife-watch-cuckold.html
http://supermom.upmba.org/wife-voyeur.html
old ladies naked
http://supermom.upmba.org/enema-wife-punish.html
http://supermom.upmba.org/milf-facial.html
mature dildo
fiesta readers wives
http://supermom.upmba.org/horny-older-mothers-women.html
http://supermom.upmba.org/milf-avenue.html
santa claus and his old lady

Posted by: alex 發表於 October 13, 2006 08:07 AM
發表迴響









記住我的資訊?