Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Sep 2014, 23:54
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Cryptsetup 1.0.5
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Tue 05 Aug 2008, 21:25    Post subject:  Cryptsetup 1.0.5
Subject description: Hard Drive Encryption
 

Note: Needs device_mapper to work.

device_mapper-1.02.27.pet
md5sum

md5sum:
Code:
d95f35cb76d8f4574b6e59fe90057130  cryptsetup-1.0.5.pet
cryptsetup-1.0.5.pet
Description  Hard Drive Encryption
pet

 Download 
Filename  cryptsetup-1.0.5.pet 
Filesize  35.14 KB 
Downloaded  672 Time(s) 

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.

Last edited by Wolf Pup on Tue 03 Feb 2009, 21:59; edited 2 times in total
Back to top
View user's profile Send private message 
gollath

Joined: 05 Aug 2008
Posts: 5

PostPosted: Tue 19 Aug 2008, 11:37    Post subject: Additional Libraries  

Hi,

thanks for that, but it complained about missing libraries.
One of it is libgcrypt, which doesn't come in your packages. Maybe you can help?

Occurs on latest Puppy 4.

Regards
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Tue 19 Aug 2008, 15:15    Post subject:  

Have a look Here.
_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
NoNameAmI


Joined: 31 Aug 2008
Posts: 77

PostPosted: Wed 01 Jul 2009, 19:12    Post subject: Re: Cryptsetup 1.0.5
Subject description: Hard Drive Encryption
 

EDIT: Problem solved
_________________
Pup2p - Puppy Linux aimed for use with the anonymous network I2P.
Released! http://www.puppylinux.org/downloads/puplets/pup2p
Back to top
View user's profile Send private message Visit poster's website 
Luluc


Joined: 16 Mar 2011
Posts: 200

PostPosted: Thu 17 Mar 2011, 06:21    Post subject:  

I can't get device mapper or libcrypt, the two links have expired. Can someone please rescue me?
Back to top
View user's profile Send private message 
Luluc


Joined: 16 Mar 2011
Posts: 200

PostPosted: Thu 17 Mar 2011, 06:39    Post subject:  

OK, I sent the hounds on the scent and they found what I asked them, I have cryptsetup installed to some extent. But it doesn't work!
Quote:

puppypc[332-251]#/lib> cryptsetup luksOpen /dev/sda10 crypthome
Enter LUKS passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sda10 contains at least 258 sectors.
Failed to read from key storage
Command failed: No key available with this passphrase.

This sucks! This absolutely sucks. Puppy is useless to me without cryptsetup. I don't understand why it is not built-in anyway. Crying or Very sad Crying or Very sad Crying or Very sad
Back to top
View user's profile Send private message 
Graf_Koks

Joined: 21 Jan 2014
Posts: 20

PostPosted: Tue 21 Jan 2014, 15:48    Post subject:  

Hello,

is there a solution to this problem? Since three years later, it is still not working:

Quote:

# sudo cryptsetup luksOpen /dev/sdb2 crypthome
Enter passphrase for /dev/sdb2:
device-mapper: reload ioctl failed: No such file or directory
Failed to setup dm-crypt key mapping for device /dev/sdb2.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Failed to read from key storage.


How to solve this issue? The encrypted partition was created using Ubuntu.

I am using precise puppy 5.7.1 and it seems that xts support is not set in the kernel:

Quote:

zcat /proc/config.gz | grep CRYPTO
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_RT2X00_LIB_CRYPTO=y
CONFIG_RTLLIB_CRYPTO_CCMP=m
CONFIG_RTLLIB_CRYPTO_TKIP=m
CONFIG_RTLLIB_CRYPTO_WEP=m
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP=m
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=m
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set
CONFIG_CRYPTO_CBC=m
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
# CONFIG_CRYPTO_LRW is not set
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_XTS is not set
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRC32_PCLMUL is not set
# CONFIG_CRYPTO_GHASH is not set
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_MICHAEL_MIC=m
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_586=m
# CONFIG_CRYPTO_AES_NI_INTEL is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_BLOWFISH_COMMON=m
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_CAST_COMMON=m
CONFIG_CRYPTO_CAST5=m
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_586 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_586 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_ZLIB=m
CONFIG_CRYPTO_LZO=m
CONFIG_CRYPTO_ANSI_CPRNG=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not set
CONFIG_CRYPTO_DEV_GEODE=m
Back to top
View user's profile Send private message 
Graf_Koks

Joined: 21 Jan 2014
Posts: 20

PostPosted: Tue 21 Jan 2014, 17:17    Post subject:  

What works under puppy is the following:

Take

http://wiki.ubuntuusers.de/LUKS

as manual (it is in german). But exchange

sudo cryptsetup luksFormat -c aes-xts-plain64 -s 512 GERÄTEDATEI

to

sudo cryptsetup luksFormat -c aes-cbc-essiv:sha256 -s 256 GERÄTEDATEI

Then it should work. However, the provided encryption is not state of the art:

http://security.stackexchange.com/questions/39306/how-secure-is-ubuntus-default-full-disk-encryption
http://code.google.com/p/cryptsetup/wiki/Cryptsetup160

So it is really necessary, that aes-xts-plain64 works out of the box.
Back to top
View user's profile Send private message 
aaa3

Joined: 02 Oct 2013
Posts: 10

PostPosted: Mon 26 May 2014, 17:13    Post subject:  
Subject description: solution
 

here are some modules i compiled as i could no way find them :(
included are xts, cbc, ripemd160, tiger whirlpool serpent etcetc... and more but not all

[s]http://www.crocko.com/B62677F0FA104A5FAC0C67FAAE3A8E8F/some_kernel_crypto_modules_made_&_Module.symvers_-_reconf_from_bk's_puppy_3.9.11-pae-i686-precise_src._5.7.1.sfs[/s] - url-ing this would hide the post for spamprot i guess - edit:replacing this goddam shitlink with another attempt: http://dfiles.eu/files/t486b922n
mounter script: http://www.murga-linux.com/puppy/viewtopic.php?t=94009

together with the dep, order & symbols files. packaged ready-for setup menu's "sfs-load on-the-fly" in precise puppy 5.7.1

also with the Modules.symvers file, which could only be generated with a complete kernel compile as per google search. i dont know if its useful as i didnt do a second try from clean just for this, but it may enable separate modules-only compiling (make modules SUBDIRS=crypto) ....

i googled days for binary packages, but neither ubuntu nor debian seems to have the exact same kernel version, except for 1 saucy package but even that doesnt work, neither does porteus. other results from diff but close version numbers didnt worked: modprobe -f is getting ignored. also i erroneously believed that its i386. now, it was a refresh to somehow get to the ibiblio mirror, its not even amongst google results, and find the right kernel bin pkg finally... only to find its exactly as configured for the distro by default! that is, includes nothing more. so there is really no way to get this from net, except compiling which i never did b4.

so anyway,s if u wanna do ur own, heres how to:
--u've got to get 100mb devx 5.7 and delta 571 from http://distro.ibiblio.org/quirky/pet_packages-precise/ and http://distro.ibiblio.org/quirky/
--get the 100mb kernel sources from http://bkhome.org/blog2/?viewDetailed=00338 {pp//lx}
--dont get scared by the readme html that u need nonfrugal: u dont! thank god not that abomination
-(and, u also dont need anything else there, goddamn scary prostuff; just grab the source sfs *relieve!*)
--when mounted the stuff, just copy the whole /usr/src into any folder on a mounted real drive with at least 1,1GB free space. this will occupy ca 450mb atm. and from now on run everything from there! (googling how to change make output: some questionaire site linked to some multiarch site w 3 solutions, simplest is just copy)
--use make menuconfig or whatever it is, can view "make help" as well...
tick the stuff u want to; with googling told me m=module, y=in-kernel (dont!) and commented-out = obvious. actuially u could just edit the config file, dont see really any reason for the warning not to edit it.
--then, try to just do the module dir w t above command, w t above file in place (got 2 mount my sfs for that as well), and if the resulting binaries it doesnt work (u might need 2try aft a reboot if "no such m fnd" then it'll see it) after copying em to the real /lib/"whatever their place is at ull find this easy" - dmesging after modprobing - , then you too do the full "make". that will occupy 1000mb of stuff when all is done.
--u r basically done, copy/package the *.ko stuff whereever u want, optionally delete the now unneeded stuff, unmount etc... but. some more notes:
--ure free to remove many (but not all) the shit this process will also contaminate your /lib/xxx folder. either use judgement+trialnerror based on file contents, or just see whats in my sfs and whats there in a pristine savefile (nowadays im keeping one around for reference purposes - made right after the clean boot -, its just 1 mb xzpped (after clearing locale & dochtml trash)). keep the set's union:)
--before using cryptmount, uve also got to "pkill udev" per ggsrch-somearchorgentooforum result, or else it hangs. it also hangs before the whole shit weve been doing as some have noted, but then with a different dmesg :)
--also, doin this whole shit presupposes some decent ofm file manager like double commander instead of wtf?!rox to allow comfortable working, also for daily use (except for handling symlinks, for which reverse)

and finally:
--the ppm lists a cryptsetup with a SHITLOAD of dependencies baecause it offers 1.4 only, but very remarkably, if u install the 1.1 (also in the ubu repo, also working with our version, but uve got 2 get that from launchpad web), it has no dependencies altogether! (all the shit is already in t defo distro)

huh!

Last edited by aaa3 on Sun 01 Jun 2014, 14:22; edited 1 time in total
Back to top
View user's profile Send private message 
Graf_Koks

Joined: 21 Jan 2014
Posts: 20

PostPosted: Sun 01 Jun 2014, 10:05    Post subject: @aaa3  

Thanks Smile ! I have put your tut into a more convenient form (I guess) at http://murga-linux.com/puppy/viewtopic.php?p=780693#780693.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0813s ][ Queries: 12 (0.0049s) ][ GZIP on ]