festplatte verschlüsseln

S

sm4rty

Foren As
Hallo,

will meine HDD verschlüsseln.

wollte es aber so machen, dass ein container auf der HDD erstellt wird, wie bei truecrypt, welcher dann gemeountet wird.

Da ich nur nen kleinen vServer hab mit 10GB wollt ich dort nur nen 9GB Container erstellen, welcher immer gemountet wird.

Kann leider keine komplette partition verschlüsseln.

truecrypt bekomme ich aber net eingerichtet auf der box.

is nen debian 4

und truecrypt kompiliert nich vollständig weil er die wxGTK dinger net findet obwohl ich die hab.

hat jemand ne alternative zu truecrypt welche einfach zu handhaben ist?
 
ok.

kann ich die auch mit dmcrypt erstellen die images?
 
@sm4rty
Du kannst auch dein Komplettes System verschlüsseln, aber wenn du nur die 9GB verschlüsseln willst, gibt es auch unter Linux verfahren um einen Container zu erstellen udn dann zu verschlüsseln.
Schau meal bei Google uner Linux und Verschlüsslung gibt massenhaft Artikel zu diesem Thema.


gruß,
Psykoman
 
so wollte den erstellten container jetzt mit losetup einhängen

/dev/loop0: Keine Berechtigung


dann kommt aber das....

losetup /dev/loop0 /root/testcontainer
is der befehl den ich eingehämmert hab
 
Ich würde die Verwendung von cryptsetup empfehlen.

- sicherstellen dass kernelseitig alles geladen ist
Code:
modprobe aes
modprobe dm-crypt
modprobe dm-mod
- Sicherstellen dass der Device-Mapper läuft, indem du schaust ob die Datei /dev/mapper/control existiert
- 'cat /proc/crypto' sollte ausgeben, dass AES zur Verfügung steht
- Image mittels 'dd' erstellen
- mit 'cryptsetup -y create ...' einen Crypt-Device-Mapper für das Image erstellen
- Dateisystem auf dem Mapper-Device erstellen

Details siehe Manpages oder z.B. http://wiki.debianforum.de/CryptoFsMitDmcrypt (einfach anstatt dem HD-Device immer die Image-Datei verwenden, bis das Mapper-Device steht und ab dort ganz normal wie in der Anleitung fortfahren)
 
~# cryptsetup -y create test test
Aufruf fehlgeschlagen: Incompatible libdevmapper 1.02.08 (2006-07-17)(compat) and kernel driver

ich nehme an mein debian hat keinen crypt support
 
Das ist ein vServer? Je nach Virtualisierung ist es wahrscheinlicher dass du einfach keinen Zugriff hast auf die benötigten devices.. Eventuell kannst du truecrypt kompilieren, wenn du die X Komponenten weglässt. Was gibt configure --help aus?
 
bis configure komme ich netmal

ich komem netmal über make, da er am ende nicht fertig kompiliert

Info(int) constâ:
UserInterface.h:66: error: âmessageâ was not declared in this scope
UserInterface.h: In member function âvirtual void TrueCrypt::UserInterface::ShowWarning(const std::exception&) constâ:
UserInterface.h:67: error: âExceptionToMessageâ was not declared in this scope
UserInterface.h: In member function âvirtual void TrueCrypt::UserInterface::ShowWarning(const char*) constâ:
UserInterface.h:68: error: no match for âoperator[]â in âTrueCrypt::LangString[langStringId]â
UserInterface.h: In member function âvirtual void TrueCrypt::UserInterface::ShowString(int) constâ:
UserInterface.h:69: error: âstrâ was not declared in this scope
UserInterface.h: In member function âvirtual void TrueCrypt::UserInterface::ShowWarning(int) constâ:
UserInterface.h:70: error: âmessageâ was not declared in this scope
Application.h: At global scope:
Application.h:21: error: ISO C++ forbids declaration of âwxAppâ with no type
Application.h:21: error: expected â;â before â*â token
Application.h:22: error: ISO C++ forbids declaration of âwxAppâ with no type
Application.h:22: error: expected â;â before â*â token
Application.h:23: error: expected â,â or â...â before â&â token
Application.h:23: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:25: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:26: error: ISO C++ forbids declaration of âwxMenuItemâ with no type
GraphicUserInterface.h:26: error: âwxMenuItemâ declared as a âvirtualâ field
GraphicUserInterface.h:26: error: expected â;â before â*â token
GraphicUserInterface.h:27: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:27: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:31: error: âwxWindowâ has not been declared
GraphicUserInterface.h:33: error: ISO C++ forbids declaration of âwxHyperlinkCtrlâ with no type
GraphicUserInterface.h:33: error: expected â;â before â*â token
GraphicUserInterface.h:36: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:38: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:38: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:39: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:39: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:40: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:40: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:41: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:41: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:43: error: âwxWindowâ has not been declared
GraphicUserInterface.h:44: error: ISO C++ forbids declaration of âwxTopLevelWindowâ with no type
GraphicUserInterface.h:44: error: âwxTopLevelWindowâ declared as a âvirtualâ field
GraphicUserInterface.h:44: error: expected â;â before â*â token
GraphicUserInterface.h:46: error: âwxWindowâ has not been declared
GraphicUserInterface.h:47: error: âwxWindowâ has not been declared
GraphicUserInterface.h:49: error: âwxFontâ does not name a type
GraphicUserInterface.h:50: error: âwxStringâ does not name a type
GraphicUserInterface.h:51: error: ISO C++ forbids declaration of âwxFrameâ with no type
GraphicUserInterface.h:51: error: âwxFrameâ declared as a âvirtualâ field
GraphicUserInterface.h:51: error: expected â;â before â*â token
GraphicUserInterface.h:52: error: expected `;' before âvirtualâ
GraphicUserInterface.h:52: error: âwxWindowâ has not been declared
GraphicUserInterface.h:53: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:54: error: âwxStringâ does not name a type
GraphicUserInterface.h:57: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:59: error: expected â,â or â...â before â*â token
GraphicUserInterface.h:59: error: ISO C++ forbids declaration of âwxWindowâ with no type
GraphicUserInterface.h:63: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:67: error: âwxWindowâ has not been declared
GraphicUserInterface.h:67: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:67: error: ISO C++ forbids declaration of âwxFileNameâ with no type
GraphicUserInterface.h:68: error: âwxWindowâ has not been declared
GraphicUserInterface.h:68: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:68: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:69: error: âwxWindowâ has not been declared
GraphicUserInterface.h:70: error: âwxWindowâ has not been declared
GraphicUserInterface.h:72: error: âwxWindowâ has not been declared
GraphicUserInterface.h:73: error: âwxWindowâ has not been declared
GraphicUserInterface.h:73: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:73: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:74: error: âwxWindowâ has not been declared
GraphicUserInterface.h:74: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:74: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:75: error: âwxWindowâ has not been declared
GraphicUserInterface.h:76: error: âwxFrameâ has not been declared
GraphicUserInterface.h:78: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:79: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:80: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:82: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:82: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:84: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:84: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:86: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:86: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:87: error: âwxListCtrlâ has not been declared
GraphicUserInterface.h:91: error: âwxControlWithItemsâ was not declared in this scope
GraphicUserInterface.h:91: error: âcontrolâ was not declared in this scope
GraphicUserInterface.h:91: error: expected `;' before âconstâ
GraphicUserInterface.h:98: error: data member âGetSelectedDataâ cannot be a member template
GraphicUserInterface.h:101: error: âwxCloseEventâ has not been declared
GraphicUserInterface.h:107: error: expected â,â or â...â before â&â token
GraphicUserInterface.h:107: error: ISO C++ forbids declaration of âwxStringâ with no type
GraphicUserInterface.h:110: error: ISO C++ forbids declaration of âwxFrameâ with no type
GraphicUserInterface.h:110: error: expected â;â before â*â token
GraphicUserInterface.h:115: error: ISO C++ forbids declaration of âwxFrameâ with no type
GraphicUserInterface.h:115: error: expected â;â before â*â token
GraphicUserInterface.h:116: error: âwxSingleInstanceCheckerâ was not declared in this scope
GraphicUserInterface.h:116: error: template argument 1 is invalid
GraphicUserInterface.h: In member function âvirtual void TrueCrypt::GraphicUserInterface::BeginBusyState() constâ:
GraphicUserInterface.h:30: error: âwxBeginBusyCursorâ was not declared in this scope
GraphicUserInterface.h: In member function âvirtual void TrueCrypt::GraphicUserInterface::EndBusyState() constâ:
GraphicUserInterface.h:42: error: âwxEndBusyCursorâ was not declared in this scope
GraphicUserInterface.h: In member function âvirtual void TrueCrypt::GraphicUserInterface::SetActiveFrame(int*)â:
GraphicUserInterface.h:76: error: âActiveFrameâ was not declared in this scope
GraphicUserInterface.h: In member function âvirtual void TrueCrypt::GraphicUserInterface::ShowErrorTopMost(char*) constâ:
GraphicUserInterface.h:81: error: no match for âoperator[]â in âTrueCrypt::LangString[langStringId]â
GraphicUserInterface.h: In member function âvirtual void TrueCrypt::GraphicUserInterface::ShowInfoTopMost(char*) constâ:
GraphicUserInterface.h:83: error: no match for âoperator[]â in âTrueCrypt::LangString[langStringId]â
GraphicUserInterface.h: In member function âvirtual void TrueCrypt::GraphicUserInterface::ShowWarningTopMost(char*) constâ:
GraphicUserInterface.h:85: error: no match for âoperator[]â in âTrueCrypt::LangString[langStringId]â
GraphicUserInterface.h: At global scope:
GraphicUserInterface.h:126: error: expected `)' before â*â token
GraphicUserInterface.h:136: error: ISO C++ forbids declaration of âwxWindowâ with no type
GraphicUserInterface.h:136: error: expected â;â before â*â token
GraphicUserInterface.h: In destructor âTrueCrypt::FreezeScope::~FreezeScope()â:
GraphicUserInterface.h:133: error: âWindowâ was not declared in this scope
GraphicUserInterface.h: At global scope:
GraphicUserInterface.h:139: error: expected constructor, destructor, or type conversion before â(â token
TextUserInterface.h:24: error: expected â,â or â...â before â&â token
TextUserInterface.h:24: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:25: error: expected â,â or â...â before â&â token
TextUserInterface.h:25: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:26: error: expected â,â or â...â before â&â token
TextUserInterface.h:26: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:28: error: expected â,â or â...â before â&â token
TextUserInterface.h:28: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:29: error: expected â,â or â...â before â&â token
TextUserInterface.h:29: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:30: error: expected â,â or â...â before â&â token
TextUserInterface.h:30: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:37: error: expected â,â or â...â before â&â token
TextUserInterface.h:37: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:38: error: expected â,â or â...â before â&â token
TextUserInterface.h:38: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:39: error: expected â,â or â...â before â&â token
TextUserInterface.h:39: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:40: error: expected â,â or â...â before â&â token
TextUserInterface.h:40: error: ISO C++ forbids declaration of âwxStringâ with no type
TextUserInterface.h:61: error: âwxFFileInputStreamâ was not declared in this scope
TextUserInterface.h:61: error: template argument 1 is invalid
TextUserInterface.h:62: error: âwxTextInputStreamâ was not declared in this scope
TextUserInterface.h:62: error: template argument 1 is invalid
TextUserInterface.h:69: error: expected initializer before â*â token
Application.cpp:21: error: expected constructor, destructor, or type conversion before â*â token
Application.cpp:29: error: expected constructor, destructor, or type conversion before â*â token
Application.cpp:37: error: expected â,â or â...â before â&â token
Application.cpp:37: error: ISO C++ forbids declaration of âwxStringâ with no type
Application.cpp: In static member function âstatic TrueCrypt::FilePath TrueCrypt::Application::GetConfigFilePath(int)â:
Application.cpp:39: error: âwxStandardPathsâ was not declared in this scope
Application.cpp:39: error: expected `;' before âstdPathsâ
Application.cpp:49: error: âstdPathsâ was not declared in this scope
Application.cpp:55: error: âcreateConfigDirâ was not declared in this scope
Application.cpp:58: error: âconfigFileNameâ was not declared in this scope
Application.cpp:58: error: âwxFileNameâ was not declared in this scope
Application.cpp: In static member function âstatic TrueCrypt::DirectoryPath TrueCrypt::Application::GetExecutableDirectory()â:
Application.cpp:64: error: âwxStandardPathsâ was not declared in this scope
Application.cpp:64: error: âwxFileNameâ was not declared in this scope
Application.cpp: In static member function âstatic TrueCrypt::FilePath TrueCrypt::Application::GetExecutablePath()â:
Application.cpp:69: error: âwxStandardPathsâ was not declared in this scope
Application.cpp: In static member function âstatic void TrueCrypt::Application::Initialize(TrueCrypt::UserInterfaceType::Enum)â:
Application.cpp:78: error: âwxAppInitializerâ was not declared in this scope
Application.cpp:78: error: expected `;' before âwxTheAppInitializerâ
Application.cpp:85: error: âwxAppInitializerâ was not declared in this scope
Application.cpp:85: error: expected `;' before âwxTheAppInitializerâ
make[1]: *** [Application.o] Fehler 1


kommt immer als fehlermeldung
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

jetz kommt nur noch das hier:

81-89-101-242:~/truecrypt-6.1a-source# make
Compiling Application.cpp
In file included from System.h:14,
from Application.cpp:9:
SystemPrecompiled.h:18:26: warning: wx/hyperlink.h: Datei oder Verzeichnis nicht gefunden
SystemPrecompiled.h:21:22: warning: wx/power.h: Datei oder Verzeichnis nicht gefunden
GraphicUserInterface.h:33: error: ISO C++ forbids declaration of ‘wxHyperlinkCtrl’ with no type
GraphicUserInterface.h:33: error: expected ‘;’ before ‘*’ token
Application.cpp: In static member function ‘static TrueCrypt::DirectoryPath TrueCrypt::Application::GetExecutableDirectory()’:
Application.cpp:64: error: ‘class wxStandardPaths’ has no member named ‘GetExecutablePath’
Application.cpp: In static member function ‘static TrueCrypt::FilePath TrueCrypt::Application::GetExecutablePath()’:
Application.cpp:69: error: ‘class wxStandardPaths’ has no member named ‘GetExecutablePath’
make[1]: *** [Application.o] Fehler 1
make: *** [all] Fehler 2
 
Zuletzt bearbeitet:
Ähh... configure kommt vor make...

EDIT: Außerdem: Bitte code Tags benutzen. Und 2. poste bitte die Ausgabe von configure --help wie ich erbeten hatte.
 
ich konnte dort im ordner von den truecryptsources kein configure ausführen.

muss morgen nochmal genauer guggn.

habs auch mal mit fuse und encfs probiert, aber selbe in grün....

ich hab das gefühl, dass es auf einem vserver nicht möglich ist die platte zu verschlüsseln.

bei encfs geht zwar alles soweit bis ich fuse benötige, da kommt permission denied...

und laden kann ich fuse genausowenig modprobe fuse gibt nur ne fehlermeldung
Code:
:~# modprobe fuse
FATAL: Could not load /lib/modules/2.6.18-92.1.13.el5.028stab059.6/modules.dep: No such file or directory

und ich hab alle abhängigkeiten aufgebaut mit apt-get build-dep libfuse2
 
'man depmod'. Allerdings kann man Kernel von VirtualServern zumeist nicht ändern. Du wirst mit dem Leben müssen, was er zur Verfügung stellt. Wenn also eine Verschlüsselung im Userspace nicht funktioniert und keine Verschlüsselung kernelseitig zur Verfügung steht, dann hast du wohl Pech gehabt und solltest ggf. einen anderen Anbieter suchen.
 
noenoe ich will ja nur nen bissl rumbasteln.

der vserver is ja kostenlos, da such ich mir keinen anderen anbieter *g*

dann hab ich halt keine verschlüsselung naja was solls
 
Zurück
Oben