特殊:Badtitle/NS100:TruecryptHiddenVolume:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的6个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/TruecryptHiddenVolume}} | {{From|https://help.ubuntu.com/community/TruecryptHiddenVolume}} | ||
{{Languages|UbuntuHelp:TruecryptHiddenVolume}} | {{Languages|UbuntuHelp:TruecryptHiddenVolume}} | ||
#title Hidden encrypted volume with Truecrypt (command line) | |||
{|border="1" cellspacing="0" | |||
There is [ | | {i} Please refer to [[UbuntuHelp:EncryptedFilesystems|EncryptedFilesystems]] for further documentation. | ||
|} | |||
For instructions on using the new [[UbuntuHelp:TrueCrypt|TrueCrypt]] GUI, please see [[UbuntuHelp:TrueCrypt|TrueCrypt|GUI]] | |||
There is [[UbuntuHelp:Security|a|lot of documentation]] on how to create an encrypted volume. However, a significant problem caused by most of the existing implementations is that the owner of the data may be forced to reveal the password used to encrypt the data. | |||
To address this, different projects exist to implement some [http://en.wikipedia.org/wiki/Steganography steganography] mechanisms, but at the time of writing, only [http://www.truecrypt.org Truecrypt] is full-featured and production quality. | To address this, different projects exist to implement some [http://en.wikipedia.org/wiki/Steganography steganography] mechanisms, but at the time of writing, only [http://www.truecrypt.org Truecrypt] is full-featured and production quality. | ||
[http://www.truecrypt.org Truecrypt] is a free open-source disk encryption software available on Ubuntu. | [http://www.truecrypt.org Truecrypt] is a free open-source disk encryption software available on Ubuntu. | ||
It offers a convenient hidden volumes management that includes protection against damages. | It offers a convenient hidden volumes management that includes protection against damages. | ||
More information is available at [http://www.truecrypt.org/hiddenvolume.php]. | More information is available at [http://www.truecrypt.org/hiddenvolume.php]. | ||
This page is mostly based on the ''man page'' of ''truecrypt 4.3a'' and intents to give a short recipe to implement [http://www.truecrypt.org Truecrypt] hidden volumes on Ubuntu. | This page is mostly based on the ''man page'' of ''truecrypt 4.3a'' and intents to give a short recipe to implement [http://www.truecrypt.org Truecrypt] hidden volumes on Ubuntu. | ||
== Truecrypt hidden volumes == | == Truecrypt hidden volumes == | ||
<ol><li> | <ol><li>Download and install [http://www.truecrypt.org Truecrypt] | ||
</li><li>Create an outer volume (ex: on ''/dev/sdb1''):<pre><nowiki> | </li><li>Create an outer volume (ex: on ''/dev/sdb1''):<pre><nowiki> | ||
truecrypt --filesystem none --type normal --encryption AES --hash SHA-1 --random-source /dev/urandom -c /dev/sdb1 | truecrypt --filesystem none --type normal --encryption AES --hash SHA-1 --random-source /dev/urandom -c /dev/sdb1 | ||
#In truecrypt 5.1a: | |||
truecrypt --text --filesystem=none --volume-type=normal --encryption=AES --hash=SHA-1 --random-source=/dev/urandom -c /dev/sdb1 | |||
</nowiki></pre> | </nowiki></pre> | ||
</li><li>Map the corresponding volume (ex: on ''/dev/sdb1''), but do not mount it:<pre><nowiki> | </li><li>Map the corresponding volume (ex: on ''/dev/sdb1''), but do not mount it:<pre><nowiki> | ||
truecrypt /dev/sdb1 | truecrypt /dev/sdb1 | ||
truecrypt --text --list #To see where was this mounted (/dev/mapper/truecrypt0 or /dev/loop0) | |||
</nowiki></pre> | </nowiki></pre> | ||
</li><li>Format outer volume '''with FAT''':<pre><nowiki> | </li><li>Format outer volume '''with FAT''':<pre><nowiki> |
2009年5月18日 (一) 17:57的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/TruecryptHiddenVolume }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/af | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Afrikaans| [[::TruecryptHiddenVolume/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ar | • {{#if: UbuntuHelp:TruecryptHiddenVolume|العربية| [[::TruecryptHiddenVolume/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/az | • {{#if: UbuntuHelp:TruecryptHiddenVolume|azərbaycanca| [[::TruecryptHiddenVolume/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/bcc | • {{#if: UbuntuHelp:TruecryptHiddenVolume|جهلسری بلوچی| [[::TruecryptHiddenVolume/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/bg | • {{#if: UbuntuHelp:TruecryptHiddenVolume|български| [[::TruecryptHiddenVolume/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/br | • {{#if: UbuntuHelp:TruecryptHiddenVolume|brezhoneg| [[::TruecryptHiddenVolume/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ca | • {{#if: UbuntuHelp:TruecryptHiddenVolume|català| [[::TruecryptHiddenVolume/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/cs | • {{#if: UbuntuHelp:TruecryptHiddenVolume|čeština| [[::TruecryptHiddenVolume/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/de | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Deutsch| [[::TruecryptHiddenVolume/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/el | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Ελληνικά| [[::TruecryptHiddenVolume/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/es | • {{#if: UbuntuHelp:TruecryptHiddenVolume|español| [[::TruecryptHiddenVolume/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/fa | • {{#if: UbuntuHelp:TruecryptHiddenVolume|فارسی| [[::TruecryptHiddenVolume/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/fi | • {{#if: UbuntuHelp:TruecryptHiddenVolume|suomi| [[::TruecryptHiddenVolume/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/fr | • {{#if: UbuntuHelp:TruecryptHiddenVolume|français| [[::TruecryptHiddenVolume/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/gu | • {{#if: UbuntuHelp:TruecryptHiddenVolume|ગુજરાતી| [[::TruecryptHiddenVolume/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/he | • {{#if: UbuntuHelp:TruecryptHiddenVolume|עברית| [[::TruecryptHiddenVolume/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/hu | • {{#if: UbuntuHelp:TruecryptHiddenVolume|magyar| [[::TruecryptHiddenVolume/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/id | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Bahasa Indonesia| [[::TruecryptHiddenVolume/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/it | • {{#if: UbuntuHelp:TruecryptHiddenVolume|italiano| [[::TruecryptHiddenVolume/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ja | • {{#if: UbuntuHelp:TruecryptHiddenVolume|日本語| [[::TruecryptHiddenVolume/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ko | • {{#if: UbuntuHelp:TruecryptHiddenVolume|한국어| [[::TruecryptHiddenVolume/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ksh | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Ripoarisch| [[::TruecryptHiddenVolume/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/mr | • {{#if: UbuntuHelp:TruecryptHiddenVolume|मराठी| [[::TruecryptHiddenVolume/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ms | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Bahasa Melayu| [[::TruecryptHiddenVolume/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/nl | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Nederlands| [[::TruecryptHiddenVolume/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/no | • {{#if: UbuntuHelp:TruecryptHiddenVolume|norsk| [[::TruecryptHiddenVolume/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/oc | • {{#if: UbuntuHelp:TruecryptHiddenVolume|occitan| [[::TruecryptHiddenVolume/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/pl | • {{#if: UbuntuHelp:TruecryptHiddenVolume|polski| [[::TruecryptHiddenVolume/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/pt | • {{#if: UbuntuHelp:TruecryptHiddenVolume|português| [[::TruecryptHiddenVolume/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ro | • {{#if: UbuntuHelp:TruecryptHiddenVolume|română| [[::TruecryptHiddenVolume/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/ru | • {{#if: UbuntuHelp:TruecryptHiddenVolume|русский| [[::TruecryptHiddenVolume/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/si | • {{#if: UbuntuHelp:TruecryptHiddenVolume|සිංහල| [[::TruecryptHiddenVolume/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/sq | • {{#if: UbuntuHelp:TruecryptHiddenVolume|shqip| [[::TruecryptHiddenVolume/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/sr | • {{#if: UbuntuHelp:TruecryptHiddenVolume|српски / srpski| [[::TruecryptHiddenVolume/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/sv | • {{#if: UbuntuHelp:TruecryptHiddenVolume|svenska| [[::TruecryptHiddenVolume/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/th | • {{#if: UbuntuHelp:TruecryptHiddenVolume|ไทย| [[::TruecryptHiddenVolume/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/tr | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Türkçe| [[::TruecryptHiddenVolume/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/vi | • {{#if: UbuntuHelp:TruecryptHiddenVolume|Tiếng Việt| [[::TruecryptHiddenVolume/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/yue | • {{#if: UbuntuHelp:TruecryptHiddenVolume|粵語| [[::TruecryptHiddenVolume/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/zh | • {{#if: UbuntuHelp:TruecryptHiddenVolume|中文| [[::TruecryptHiddenVolume/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/zh-hans | • {{#if: UbuntuHelp:TruecryptHiddenVolume|中文(简体)| [[::TruecryptHiddenVolume/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:TruecryptHiddenVolume | UbuntuHelp:TruecryptHiddenVolume | {{#if: | :}}TruecryptHiddenVolume}}/zh-hant | • {{#if: UbuntuHelp:TruecryptHiddenVolume|中文(繁體)| [[::TruecryptHiddenVolume/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:TruecryptHiddenVolume|:TruecryptHiddenVolume|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :TruecryptHiddenVolume/zh | | {{#ifexist: TruecryptHiddenVolume/zh | | {{#ifeq: {{#titleparts:TruecryptHiddenVolume|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:TruecryptHiddenVolume|1|-1|}} | zh | | }}
- title Hidden encrypted volume with Truecrypt (command line)
{i} Please refer to EncryptedFilesystems for further documentation. |
For instructions on using the new TrueCrypt GUI, please see TrueCrypt|GUI There is a|lot of documentation on how to create an encrypted volume. However, a significant problem caused by most of the existing implementations is that the owner of the data may be forced to reveal the password used to encrypt the data. To address this, different projects exist to implement some steganography mechanisms, but at the time of writing, only Truecrypt is full-featured and production quality. Truecrypt is a free open-source disk encryption software available on Ubuntu. It offers a convenient hidden volumes management that includes protection against damages. More information is available at [1]. This page is mostly based on the man page of truecrypt 4.3a and intents to give a short recipe to implement Truecrypt hidden volumes on Ubuntu.
- Download and install Truecrypt
- Create an outer volume (ex: on /dev/sdb1):
truecrypt --filesystem none --type normal --encryption AES --hash SHA-1 --random-source /dev/urandom -c /dev/sdb1 #In truecrypt 5.1a: truecrypt --text --filesystem=none --volume-type=normal --encryption=AES --hash=SHA-1 --random-source=/dev/urandom -c /dev/sdb1
- Map the corresponding volume (ex: on /dev/sdb1), but do not mount it:
truecrypt /dev/sdb1 truecrypt --text --list #To see where was this mounted (/dev/mapper/truecrypt0 or /dev/loop0)
- Format outer volume with FAT:
sudo mkfs.vfat /dev/mapper/truecrypt0
- Dismount the volume:
truecrypt -d
- Create a (ex: 50M) hidden volume within the outer volume (ex: on /dev/sdb1):
truecrypt --filesystem none --type hidden --size 50M --encryption AES --hash SHA-1 --random-source /dev/urandom -c /dev/sdb1
- Map the corresponding hidden volume (ex: on /dev/sdb1), but do not mount it:
truecrypt /dev/sdb1 # (use the hidden password)
- Format the hidden volume with a filesystem recognised by mount(8):
sudo mkfs.xfs /dev/mapper/truecrypt0
- Dismount the hidden volume:
truecrypt -d
- Mount the outer volume (ex: /dev/sdb1 on /mnt/tc) with the hidden volume protected:
truecrypt -P /dev/sdb1 /mnt/tc
- Copy files to the outer volume:
cp outer_volume_file.txt /mnt/tc
- Dismount the outer volume:
truecrypt -d
- Mount either volume (ex: /dev/sdb1 on /mnt/tc) and enjoy:
truecrypt /dev/sdb1 /mnt/tc # (use the password relevant to the volume you want to mount)