You are not logged in.
Pages: 1
hi,
does Arch include the AES256 loop and , if it doesn't, is there a way to install it?
I use AES256 to create a small encrypted file on a USB pendrive on Debian and would like to do the same using Arch.
Thanks
thanks
tuxman
Offline
I know this is very basic but hey, here we go.
I tried to install loop-AES on arch, downloaded the tar.bz2 package and the suggested library
aespipe-latest.tar.bz2
loop-AES-latest.tar.bz2
then I went through the usual procedure
#tar -xjf aespipe-latest.tar.bz2
#cd aespipe-v2.3b
#./configure
#make
#make install
so far so good, then
#tar -xjf loop-AES-latest.tar.bz2
#cd loop-AES-v3.1b
now there is no configure file in the direcotry so i cant go on
with the install.
what would be the correct procedure to install loop-AES?
thanks
thanks
tuxman
Offline
now there is no configure file in the direcotry so i cant go on
with the install.
what would be the correct procedure to install loop-AES?
Is there a Makefile in the directory?
Offline
yes, should I skip ./configure?
thanks
tuxman
Offline
Yes. Just run:
# make
# make install
If that doesn't work, post the error message.
Offline
tahnks,
I tried make and then make install and then got this error emssage:
make[2]: *** [loop.ko] Error 134
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-ARCH'
make: *** [all] Error 2
[root@tuxman loop-AES-v3.1b]# make install
make: *** No rule to make target `install'. Stop.
[root@tuxman loop-AES-v3.1b]#
thanks
tuxman
Offline
by the way, loop-AES is such a great and versatile tool for Linux I think it should be among the arch packages.
I have seen it's in AUR, unfortunatedly I dont know how to use it.
LOL
thanks
tuxman
Offline
Have installed loop-AES on a few Arch boxes. Not sure how far you want to go with it, though.
For example, have installed loop-AES for several mortgage brokers and banks so they could keep personal information (SSN, and other ID) on their central file servers and not worry about theft.
Have a set of scripts I run after an Arch install that automates the setup (if you're interested).
Offline
tahnks,
I tried make and then make install and then got this error emssage:make[2]: *** [loop.ko] Error 134
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-ARCH'
make: *** [all] Error 2
This is not really the error message. Look at the output before what you posted. There's probably a better description of the error in it.
Offline
hi,
as you say, the first part might not be an error, I posted it just to make sure.
where I get a problem is when I try the make install command
[root@tuxman loop-AES-v3.1b]# make install
make: *** No rule to make target `install'. Stop.
[root@tuxman loop-AES-v3.1b]#
I dont know what "No rule to make target install" means of if I am missing something.
Regarding my use for loop-AES, I basically use it to read an encrypted file I use as backup on a USB drive, Knoppix style.
As Im migrating to Arch, Im trying to get the same functionality.
thanks
tuxman
Offline
You first need to fix the errors that you get when you run
# make
Run make, check the output and post the error messages.
We'll worry about make install afterwards.
Offline
Thanks Snowman.
here goes what happens when I try the make command
[root@tuxman loop-AES-v3.1b]# make
cd /usr/src/linux-2.6.13-ARCH && make SUBDIRS=/root/loop-AES-v3.1b modules Q='@cd /root/loop-AES-v3.1b && if [ "$@" = "modules" ]; then make modules; fi; # '
make[1]: Entering directory `/usr/src/linux-2.6.13-ARCH'
Building modules, stage 2.
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f -r test-dir1 tmp-d-kbuild
rm -f patched-loop.[ch]
cp loop.c-2.6.patched patched-loop.c
cd /usr/src/linux-2.6.13-ARCH && gcc -m32 -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -DOLD_REQUEST_MODULE_INTERFACE -DX86_ASM -DKBUILD_BASENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c /root/loop-AES-v3.1b/patched-loop.c -o /root/loop-AES-v3.1b/patched-loop.o
cd /usr/src/linux-2.6.13-ARCH && gcc -m32 -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -DOLD_REQUEST_MODULE_INTERFACE -DX86_ASM -DKBUILD_BASENAME=glue -DKBUILD_MODNAME=loop -c /root/loop-AES-v3.1b/glue.c -o /root/loop-AES-v3.1b/glue.o
cd /usr/src/linux-2.6.13-ARCH && gcc -m32 -D__ASSEMBLY__ -Iinclude/asm-i386/mach-default -c /root/loop-AES-v3.1b/aes-x86.S -o /root/loop-AES-v3.1b/aes-x86.o
cd /usr/src/linux-2.6.13-ARCH && gcc -m32 -D__ASSEMBLY__ -Iinclude/asm-i386/mach-default -c /root/loop-AES-v3.1b/md5-x86.S -o /root/loop-AES-v3.1b/md5-x86.o
ld -m elf_i386 -m elf_i386 -r patched-loop.o glue.o aes-x86.o md5-x86.o -o loop.o
cd /usr/src/linux-2.6.13-ARCH && ./scripts/mod/modpost vmlinux /root/loop-AES-v3.1b/loop.o >/dev/null 2>&1
/bin/sh: line 1: 5411 Aborted ./scripts/mod/modpost vmlinux /root/loop-AES-v3.1b/loop.o >/dev/null 2>&1
make[2]: *** [loop.ko] Error 134
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-ARCH'
make: *** [all] Error 2
[root@tuxman loop-AES-v3.1b]#
thanks
tuxman
Offline
this is the output of the make on another archlinux box.
[root@myhost loop-AES-v3.1b]# make
cd /usr/src/linux-2.6.10-ARCH && make SUBDIRS=/root/loop-AES-v3.1b modules Q='@c d /root/loop-AES-v3.1b && if [ "$@" = "modules" ]; then make modules; fi; # '
make[1]: Entering directory `/usr/src/linux-2.6.10-ARCH'
Building modules, stage 2.
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f -r test-dir1 tmp-d-kbuild
rm -f patched-loop.[ch]
cp loop.c-2.6.patched patched-loop.c
cd /usr/src/linux-2.6.10-ARCH && gcc -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c ommon -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary =2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration -after-statement -DMODULE -DOLD_REQUEST_MODULE_INTERFACE -DX86_ASM -DKBUILD_BA SENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c /root/loop-AES-v3.1 b/patched-loop.c -o /root/loop-AES-v3.1b/patched-loop.o
/root/loop-AES-v3.1b/patched-loop.c:211: warning: pointer targets in initializat ion differ in signedness
cd /usr/src/linux-2.6.10-ARCH && gcc -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c ommon -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary =2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration -after-statement -DMODULE -DOLD_REQUEST_MODULE_INTERFACE -DX86_ASM -DKBUILD_BA SENAME=glue -DKBUILD_MODNAME=loop -c /root/loop-AES-v3.1b/glue.c -o /root/loop-A ES-v3.1b/glue.o
/root/loop-AES-v3.1b/glue.c: In function 'transfer_aes':
/root/loop-AES-v3.1b/glue.c:486: warning: pointer targets in passing argument 2 of 'aes_decrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:486: warning: pointer targets in passing argument 3 of 'aes_decrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:501: warning: pointer targets in passing argument 2 of 'aes_decrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:501: warning: pointer targets in passing argument 3 of 'aes_decrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:555: warning: pointer targets in passing argument 3 of 'aes_encrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:565: warning: pointer targets in passing argument 3 of 'aes_encrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:581: warning: pointer targets in passing argument 3 of 'aes_encrypt' differ in signedness
/root/loop-AES-v3.1b/glue.c:589: warning: pointer targets in passing argument 3 of 'aes_encrypt' differ in signedness
cd /usr/src/linux-2.6.10-ARCH && gcc -D__ASSEMBLY__ -Iinclude/asm-i386/mach-defa ult -c /root/loop-AES-v3.1b/aes-x86.S -o /root/loop-AES-v3.1b/aes-x86.o
cd /usr/src/linux-2.6.10-ARCH && gcc -D__ASSEMBLY__ -Iinclude/asm-i386/mach-defa ult -c /root/loop-AES-v3.1b/md5-x86.S -o /root/loop-AES-v3.1b/md5-x86.o
ld -m elf_i386 -r patched-loop.o glue.o aes-x86.o md5-x86.o -o loop.o
cd /usr/src/linux-2.6.10-ARCH && ./scripts/mod/modpost -m vmlinux /root/loop-AES -v3.1b/loop.o >/dev/null 2>&1
/bin/sh: line 1: 4733 Aborted ./scripts/mod/modpost -m vmlinux /root/loop-AES-v3.1b/loop.o >/dev/null 2>&1
make[2]: *** [loop.ko] Error 134
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-ARCH'
make: *** [all] Error 2
[root@myhost loop-AES-v3.1b]#
thanks
tuxman
Offline
Soloport,
did you have any trouble installing loop-AES in the terms I described above?
and yes I'd like to try your scripts albeit the install in one box shouldnt be such a big thing as it seems to be in my case, LOL
thanks
tuxman
Offline
Soloport,
did you have any trouble installing loop-AES in the terms I described above?
and yes I'd like to try your scripts albeit the install in one box shouldnt be such a big thing as it seems to be in my case, LOL
Let me look over the scripts and compare them with what you're doing, above. It might be something simple -- usually is, for me. When I have an extra minute, I'll post the scripts. They contain other items I would need to strip out, etc., to be generally useful as a stand-alone loop-AES installation script. Perhaps a WiKI entry is in order?
Offline
thank you Soloport,
just my two cents, loop-AES is one of the coolest features of the linux system and should be included in the Arch base system or at least available as a package.
thanks
tuxman
Offline
just my two cents, loop-AES is one of the coolest features of the linux system and should be included in the Arch base system or at least available as a package.
Yes, I agree. I wish someone more knowledgeable than I would explain whether the current "default" crypt system in Linux is as good, better, worthless compared to loop-AES.
Offline
are you questioning the loop-aes faculty, or the encryption standard?
I can comment on encryption standards to some degree...but not on the faculty (since I dont use it).
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I havent tried the new linux encryption stuff yet.
A comparison based on extended testing would be interesting, above all if it consider the integration between old and new modules and the practical motivation behind new encryption aplications.
I have used loop-AES for about 2 years now, its very fast, steady, flexible and secure.
the encrypted home directory can be treated just as ani image file, backed up, copied, etc.
loop-AES is also very lightweight, for instance minmal distros like damnsmalllinux include it in their base system.
thanks
tuxman
Offline
Pages: 1