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 Mon 15 Sep 2014, 00:26
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Encryption for 2.14
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
kirk

Joined: 11 Nov 2005
Posts: 1404
Location: florida

PostPosted: Wed 21 Feb 2007, 18:25    Post subject:  Encryption for 2.14  

I've updated pup_save encryption for 2.14. Finaly got a computer that boots from usb flash. So encryption works there too. Posted on the other forum:

http://www.puppyos.net/forum/?1172086471
Back to top
View user's profile Send private message 
jam


Joined: 14 Jul 2006
Posts: 245

PostPosted: Thu 22 Feb 2007, 15:03    Post subject: 2.14 Encryption  

Great work Kirk....check with WhoDo so he can *hopefully* incorporate this into the Puppy 2.15 CE "Viz" edition. I've always been of the opinion that this should be a standard feature or option in the base release.
_________________
Jam
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1404
Location: florida

PostPosted: Thu 22 Feb 2007, 19:28    Post subject:  

Thanks Jam,

I think It should probably be in the base distro too. It's quite small and offers security for usb flash and for multiple users on the same computer.
Back to top
View user's profile Send private message 
jfkfield2

Joined: 27 Feb 2007
Posts: 6

PostPosted: Tue 27 Feb 2007, 22:51    Post subject: New user WIFI and WAP
Subject description: User experience with puppy and wifi with WAP
 

I've tried puppy linux at the encouragement of my brother previously but I couldn't get wifi to work. The last time, it was better but I had just gone up to WPA from WEP and that wasn't there. So I hadn't used it to speak of.
I downloaded 2.14, burned an iso to a CD-RW and started up again. I had a little trouble with the WPA, it wasn't clear to me what numbers I really should be using for password and whatnot, that's not a fault of they puppy system but a lot of stuff you get with SBC Yahoo is "idiot proofed" and you don't really need to know much. But I looked it up.
When you're trying to get the WPA window up it's a little non-intuitive. You have to poke around a bit to get the right sequence of things. I lucked out the first time (beginners luck). It was working fine and that proved it COULD be done. That was helpful because I messed up and thought I could get the CD-RW to load the "change file" when I powered down but that's a no-no I found out.
Anyhow, I had to start over when I powered up and that time I had a bit more trouble with the auto help wizard thing. Having had it work once though kept me going 'cause I knew it could be done!
Turns out you really really need to use the scan thing. But it's a little tricky to select WPA then scan just right before it'll even see a WPA wifi node. Once it does, then just enter the key and you're there.
I'm using an ACER laptop with 802.11g. It's a Travelmate with a Pentium M and CD burner/DVD reader combo.
Back to top
View user's profile Send private message 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Fri 02 Mar 2007, 06:14    Post subject: appreciation  

Just a little appreciation note for all the great work you have submitted to Puppy as regards encryption Kirk.

This puts Puppy even further ahead of all the other Linux distros if it wasn't already.

Best from Tronkel

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
kirk

Joined: 11 Nov 2005
Posts: 1404
Location: florida

PostPosted: Fri 02 Mar 2007, 18:22    Post subject:  

Thanks Tronkel,

I didn't do that much. But it's nice to get a pat on the back. Very Happy
Back to top
View user's profile Send private message 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Sun 04 Mar 2007, 08:09    Post subject:  

Jam wrote:

Quote:
Great work Kirk....check with WhoDo so he can *hopefully* incorporate this into the Puppy 2.15 CE "Viz" edition. I've always been of the opinion that this should be a standard feature or option in the base release.


I second that.

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sun 04 Mar 2007, 15:53    Post subject:  

Me2
Back to top
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Fri 09 Mar 2007, 17:34    Post subject:  

kirk wrote:
I think It should probably be in the base distro too. It's quite small and offers security for usb flash and for multiple users on the same computer.

Ok, I've got most of the bugs sorted in Beta1 and I'm ready to try something new for Puppy 2.15CE Beta2. Save file encryption is an obvious feature choice and I'd like to include it. Can you let me know what I need to do to the next unleashed build of the 2.15 initrd.gz file to have encryption installed? Thanks, kirk.
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 09 Mar 2007, 18:05    Post subject:  

I've uploaded my save-file-wizard also WhoDo. Just so you know. When you get encryption sorted, let me know if it has any errors and I'll take a gander.
http://www.murga-linux.com/puppy/viewtopic.php?t=16249

But for now I'd better go test my homework before I leave for the weekend (I wrote and tested it in Puppy with g++, but it will be graded with Visual Studio, so I have to make sure that works too).


As for adding encryption, the basic run-down is edit /sbin/init with a couple lines, and add the aes and cryptoloop modules, which these guys can explain. Also nice is the option to encrypt the file when you first create it. I'll be working on that next week as I port Pizzapup to 2.14. I'd just give you the scripts I used with 2.12, but Puppy's shutdown has changed since then (for the better).

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
kirk

Joined: 11 Nov 2005
Posts: 1404
Location: florida

PostPosted: Fri 09 Mar 2007, 23:30    Post subject:  

Quote:
Ok, I've got most of the bugs sorted in Beta1 and I'm ready to try something new for Puppy 2.15CE Beta2. Save file encryption is an obvious feature choice and I'd like to include it. Can you let me know what I need to do to the next unleashed build of the 2.15 initrd.gz file to have encryption installed?



I've posted the details here:

http://www.puppyos.net/forum/?1172086471

That's for a modified 2.14 initrd.gz. I've noticed that fsck is now taking up more than half of my boot time. Fsck takes me about 30sec with 512MB save file that has 93MB free in it. Right now the encryption mod is using ext2 like the rest of puppy. I'm thinking we should go back to ext3, or at least make it an option. I never had a problem with ext3 on the loopback device.

I posted the fsck time problem on the other forum, Barry has changed init script to fsck only if it's ext2. Barry seems to always be working on the init script. Might want to see if we can use his current working version.

If you need more info or you've got another init script and you want me to apply these changes to it, let me know.

I'd like to here others thoughts about ext2/3.
Back to top
View user's profile Send private message 
Bill_Gates


Joined: 31 Jan 2007
Posts: 154
Location: Medina, Washington

PostPosted: Sun 11 Mar 2007, 23:50    Post subject:  

hello kirk

I’m having difficulty using your app to encrypt my pup_save file. I follow the directions and all seems to go well and the new pup_save_crypt file is created. On reboot I have the option to select the new pup_save_crypt.2fs file but then I get the following error:

Mounting /pup_save_crypt.2fs on /pup_rw…
Dumping last lines of /tmp/bootinit.log…
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck –b 8193 <device>

mount: Mounting /dev/loop1 on /pup_rw failed: Invalid argument

Dumping last lines of kernel log…
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: RRIP_1991A
VFS: Can’t find an ext2 filesystem on dev loop1

Pausing for 60 seconds


I’m booting off a live CD v2.14 and have both pup_save.2fs and pup_save_crypt.2fs on hda3 (vfat). I tried using both the ext2 & ext3 filesystem with similar outcome.

Also I can't get it to work while booting off a 1gig USB drive with the pup_save_crypt.2fs on the USB drive.

What am I doing wrong? Confused

_________________
-Bill

"Who needs M$ - Puppy Rules!" Razz
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 12 Mar 2007, 01:50    Post subject:  

You've gotta edit initrd.gz. That means using isomaster to edit the iso before burning it to a cd, or else replacing the initrd.gz file on the usb-drive. I think the instructions said about it.

Gotta go sleep now. Sorry for no details, but already past bed-time.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
kirk

Joined: 11 Nov 2005
Posts: 1404
Location: florida

PostPosted: Mon 12 Mar 2007, 11:57    Post subject:  

Yes, make sure you've replaced you initrd.gz.
Back to top
View user's profile Send private message 
Bill_Gates


Joined: 31 Jan 2007
Posts: 154
Location: Medina, Washington

PostPosted: Mon 12 Mar 2007, 12:06    Post subject:  

Thank You Pizzasgood and kirk, that was it. Guess I missed that! Embarassed
_________________
-Bill

"Who needs M$ - Puppy Rules!" Razz
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.1084s ][ Queries: 12 (0.0328s) ][ GZIP on ]