View previous topic :: View next topic |
Author |
Message |
-KuRGaN- Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/115143642345d96ac530f8b.jpg)
Joined: 05 Dec 2004 Posts: 1142 Location: Besançon (25) [FRANCE]
|
Posted: Fri Jan 12, 2007 7:25 pm Post subject: [Crypt] Crypter une partition (résolu) |
|
|
bonjoir à vous, honorables membres du forum Gentoo !!!!
Bon voilà le topo,
Je viens de m'acheter un petit disque dur externe de 120G que je me suis empressé de scinder en deux partition, sdb1 (90Go) et sdb2 (30Go).
Je voudrais crypter la partoche sdb2.
Au début je pensais utiliser cryptoloop mais bon à ce qu'il parait c'est pas super, alors j'ai ensuite trouver un how-to sur le wiki Gentoo ou le gars utilise cryptsetup, mais j'ai un souçis lorsque j'essaie de faire cette commande:
Code: |
cryptsetup -y create cryptwd /dev/sdb2
|
Sinon concernant le how-to, il y a deux choses bizarres:
- Déja il n'y a plus le dm-crypt dans la partie LVM du kernel 2.6.19
- Ensuite, pour installer cryptsetup, j'ai dû désintaller cryptsetup-luks, c'est quoi la diffèrence entre les deux? Je n'ai pas trouvé grand chose.
Merci pour votre aide.
[edit]
Bon en lançant le cryptsetup en mode verbose, il semble que le souçis est dû à cause de dm_crypt qui n'est pas chargé .
Mais je n'ai aucun dm_crypt dans mon kernel, je ne sais pas où il est !! _________________ Knight Gent00 Industries RiDeR !!!!
Last edited by -KuRGaN- on Fri Jan 12, 2007 8:02 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Fri Jan 12, 2007 7:53 pm Post subject: |
|
|
Sisi, il a pas bougé le dm_crypt :
Code: | │ Location: │
│ -> Device Drivers │
│ -> Multi-device support (RAID and LVM) │
│ -> Multiple devices driver support (RAID and LVM) (MD [=y]) │
│ -> Device mapper support (BLK_DEV_DM [=y]) │
│ Selects: CRYPTO |
Toujours la ![Wink ;)](images/smiles/icon_wink.gif) _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
-KuRGaN- Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/115143642345d96ac530f8b.jpg)
Joined: 05 Dec 2004 Posts: 1142 Location: Besançon (25) [FRANCE]
|
Posted: Fri Jan 12, 2007 7:53 pm Post subject: |
|
|
Ben merde pourant j'ai bu qu'une bière, mais que m'arrive t'il ??? _________________ Knight Gent00 Industries RiDeR !!!!
Last edited by -KuRGaN- on Fri Jan 12, 2007 7:54 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Fri Jan 12, 2007 7:54 pm Post subject: |
|
|
-KuRGaN- wrote: | Mouai, bon en ayant vite fait cherché, j'ai bien l'impression qu'il faut utilisé les mm-sources et ça me gonfle donc ABANDON !! |
Pas du tout !
Je suis en vanilla, et j'utilise Dm_CRYPT !
Cherche bien, il n'a pas disparu... _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
-KuRGaN- Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/115143642345d96ac530f8b.jpg)
Joined: 05 Dec 2004 Posts: 1142 Location: Besançon (25) [FRANCE]
|
Posted: Fri Jan 12, 2007 7:55 pm Post subject: |
|
|
LOL, j'ai vu ton message après avoir posté, merci guilc pour ton aide. _________________ Knight Gent00 Industries RiDeR !!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
-KuRGaN- Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/115143642345d96ac530f8b.jpg)
Joined: 05 Dec 2004 Posts: 1142 Location: Besançon (25) [FRANCE]
|
Posted: Fri Jan 12, 2007 8:02 pm Post subject: |
|
|
Mouai bon il faut que le LVM soit en module, merci pour ton aide. _________________ Knight Gent00 Industries RiDeR !!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grosnours Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Jun 2006 Posts: 210 Location: Belgium
|
Posted: Fri Jan 12, 2007 8:50 pm Post subject: |
|
|
Quid d'encfs ? Les fichiers cryptés sont backupables avec un bête rsync en plus, tu peux donc effectuer le backup en clair sur le réseau. _________________ grosnours |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
-KuRGaN- Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/115143642345d96ac530f8b.jpg)
Joined: 05 Dec 2004 Posts: 1142 Location: Besançon (25) [FRANCE]
|
Posted: Sat Jan 13, 2007 12:28 am Post subject: |
|
|
Yo je te remerci grosnours mais ce n'est pas là mon problème, à moins que j'ai mal compris le sens de ta phrase.
En tout cas, merci quand même pour cette petite information ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Knight Gent00 Industries RiDeR !!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grosnours Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Jun 2006 Posts: 210 Location: Belgium
|
Posted: Sat Jan 13, 2007 12:57 am Post subject: |
|
|
Je te propose en fait autre chose que dm-crypt (que je n'ai jamais utilisé et dont j'ignore totalement le fonctionnement). L'autre chose étant encfs, que j'ai adopté depuis longtemps ![Smile :)](images/smiles/icon_smile.gif) _________________ grosnours |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Sat Jan 13, 2007 12:27 pm Post subject: |
|
|
Ce n'est pas comparable :
- encfs, ça crypte au niveau fichier, en fait, on stocke des fichiers cryptés sur un fs en clair.
- dm-crypt est un vrai volume crypté, ou TOUTE la structure du fs choisi (ça peut être n'importe lequel, fat, ext, xfs...) est chiffrée avant écriture sur le matériel, au niveau du device-mapper (utilisé aussi par les volumes RAID logiciel et par LVM).
Le chiffrement n'intervient pas au même endroit.
A mon sens, la solution dm-crypt est plus propre et plus saine au niveau architecture, après, chacun voit midi a sa porte ![Smile :)](images/smiles/icon_smile.gif) _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cylgalad Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Sat Jan 13, 2007 12:36 pm Post subject: |
|
|
Et truecrypt (dispo dans portage) ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|