Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Crypt] Crypter une partition (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
-KuRGaN-
Veteran
Veteran


Joined: 05 Dec 2004
Posts: 1142
Location: Besançon (25) [FRANCE]

PostPosted: Fri Jan 12, 2007 7:25 pm    Post subject: [Crypt] Crypter une partition (résolu) Reply with quote

bonjoir à vous, honorables membres du forum Gentoo !!!! :lol:

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
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Fri Jan 12, 2007 7:53 pm    Post subject: Reply with quote

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 ;)
_________________
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
View user's profile Send private message
-KuRGaN-
Veteran
Veteran


Joined: 05 Dec 2004
Posts: 1142
Location: Besançon (25) [FRANCE]

PostPosted: Fri Jan 12, 2007 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Fri Jan 12, 2007 7:54 pm    Post subject: Reply with quote

-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
View user's profile Send private message
-KuRGaN-
Veteran
Veteran


Joined: 05 Dec 2004
Posts: 1142
Location: Besançon (25) [FRANCE]

PostPosted: Fri Jan 12, 2007 7:55 pm    Post subject: Reply with quote

LOL, j'ai vu ton message après avoir posté, merci guilc pour ton aide.
_________________
Knight Gent00 Industries RiDeR !!!!
Back to top
View user's profile Send private message
-KuRGaN-
Veteran
Veteran


Joined: 05 Dec 2004
Posts: 1142
Location: Besançon (25) [FRANCE]

PostPosted: Fri Jan 12, 2007 8:02 pm    Post subject: Reply with quote

Mouai bon il faut que le LVM soit en module, merci pour ton aide.
_________________
Knight Gent00 Industries RiDeR !!!!
Back to top
View user's profile Send private message
grosnours
Apprentice
Apprentice


Joined: 05 Jun 2006
Posts: 210
Location: Belgium

PostPosted: Fri Jan 12, 2007 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
-KuRGaN-
Veteran
Veteran


Joined: 05 Dec 2004
Posts: 1142
Location: Besançon (25) [FRANCE]

PostPosted: Sat Jan 13, 2007 12:28 am    Post subject: Reply with quote

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:
_________________
Knight Gent00 Industries RiDeR !!!!
Back to top
View user's profile Send private message
grosnours
Apprentice
Apprentice


Joined: 05 Jun 2006
Posts: 210
Location: Belgium

PostPosted: Sat Jan 13, 2007 12:57 am    Post subject: Reply with quote

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 :)
_________________
grosnours
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Sat Jan 13, 2007 12:27 pm    Post subject: Reply with quote

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 :)
_________________
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
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sat Jan 13, 2007 12:36 pm    Post subject: Reply with quote

Et truecrypt (dispo dans portage) :?:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum