Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How does the triple des encryption work?, No password required to restore backup< Next Oldest | Next Newest >
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 16 2005,20:40 QUOTE

Hi!

I thought the possibility of encrypting the backup-file would be a nice feature for me. Sometimes I have to deal with highly confidential information so it would come in handy. I've tried it out but when I reboot I'm not prompted to enter a password as I supposed. It just restores the backup.tar.gz just like before. Am I doing something wrong? When I type the password it is accepted so everything seems OK so far, but is it really encrypting the backup-file? I would appreciate any help with this. Thanks in advance!

Have fun Y'all out there playing around with DSL,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
Caspar_s Offline





Group: Members
Posts: 105
Joined: Jan. 2005
Posted: May 16 2005,22:27 QUOTE

From the f3 menu:  (or the text file in the iso...)
dsl secure                               Prompt for root and dsl passwords    
dsl protect                              Password encrypted backup            
dsl host=xxxx                            Set hostname to xxxx        

And to check if it is working... try and open up the backup.tar.gz in emelfm or CLI.  If it has been encrypted, it will need a password.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 17 2005,00:56 QUOTE

dsl protect

prompts for a password and then creates a backup.des file or if a backup.des already exists and the password is correct then it will be restored.

backup.tar.gz is unencrypted and probably an old one from prior use.
Back to top
Profile PM WEB 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 17 2005,07:13 QUOTE

Hi guys!

Thanks for your replies! But it still doesn't encrypt the backup-file. I just tried it again to be sure. I booted from an original DSL-cd and issued following at the boot prompt: dsl protect xsetup. I subsecuently was prompted for a password and to reenter it. It didn't restore at this bootup. I rebooted and was not prompted for any password. My settings were automatically restored just as usual. I use a usb-drive for my backup and after several tries it still is a backup.tar.gz and nothing else. So what can be wrong? I've tried different setups but my backup-file doesn't get encrypted. I'm thankful for any comments that might be of help.

As always have fun,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 18 2005,22:57 QUOTE

Meo, do we really have to have multiple treads on the same subject again?
I saw this first post, but again not enough information is given.

If you have no backup.des then you probably don't have a backup device specified via the backup/restore GUI or the actual file /opt/.backup_device.

Try this:
Boot up with your protect option
When you get to the desktop.
Click DSLpanel
Click Backup/restrore
Now tell me what DEVICE is displayed there?

If nothing is there you must of course specify a DEVICE and not a mount point.
Click backup and the backup.des is created.
You can check it by mounting the device and taking a look.

I thought that you normally run by boot from a cdrom with fromhd=/dev/sda1 qemu frugal and using the virtual device harddisk that is used by qemu.

If this is still your configuration then specify "harddisk" as the device.
Then mount /mnt/hdb and you will see the backup.des. Upon subsequent boots the option "protect" given the correct password will resotre from the backup.des file.

You will always have to boot with protect to try to create or access a backup.des file. If you don't specify  "protect" then the standard unencrypted backup.tar.gz will of course be used if one is available. You will not be prompted at the startup of restore to enter a password. It is done at boot time, or you can add the option "protect"  to isolinux.cfg, syslinux.cfg. extlinux.conf, or grub as appropriate to your installation.
Back to top
Profile PM WEB 
6 replies since May 16 2005,20:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: How does the triple des encryption work?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code