View previous topic :: View next topic |
Author |
Message |
Sodom n00b
Joined: 02 Jun 2004 Posts: 58 Location: Dusseldorf, Germany
|
Posted: Fri Aug 11, 2006 1:48 pm Post subject: [Script] create|(u)mount|burn encrypted cds/dvds |
|
|
Hi,
after reading this wiki article I wrote an (interactive) bash script which does this for me in a satisfactory manner.
Features:
[*] create encrypted iso
[*] mount encrypted iso or cd/dvd
[*] umount encrypted iso or cd/dvd
[*] burn encrypted iso to cd/dvd
[*] after succesfully creating iso, you can choose to mount and test the iso and/or burn it directly
Code: |
usage: backupdvd <option> <dir|iso|device>
c(reate) <directory with data you like to encrypt>
m(ount) <iso-image|device>
u(mount) <iso-image|device>
b(urn) <iso-image>
|
Download backupdvd.tar (10kb)
Please give me feedback:
[*] usability
[*] code
ToDo:
There is only one prompt to type the encryption password, which must be at least 20 characters. This is bad, because typing errors will - if iso is not mounted and tested - lead to data loss, the burned cd/dvd will be trash.
Thanks for reading and testing.
Hopefully someone besides me can use this script.
Sodom _________________ "The only way...to avoid moral corruption would be to have an OS that is free." Richard M. Stallman
Last edited by Sodom on Mon Aug 14, 2006 3:11 pm; edited 1 time in total |
|
Back to top |
|
|
Sodom n00b
Joined: 02 Jun 2004 Posts: 58 Location: Dusseldorf, Germany
|
Posted: Mon Aug 14, 2006 2:28 pm Post subject: |
|
|
hmm ... 100 views and no comments? Sry for bumping ...
Screenshot _________________ "The only way...to avoid moral corruption would be to have an OS that is free." Richard M. Stallman |
|
Back to top |
|
|
bdm Guru
Joined: 20 Jan 2006 Posts: 305 Location: Canada, Barrie, Ontario
|
Posted: Mon Aug 14, 2006 9:31 pm Post subject: |
|
|
Looks pretty neat!
I'll have to check it out once I actually get Gentoo running properly.
Hahaha, "... so drink your coffee and watch some pr0n". |
|
Back to top |
|
|
Pixelbrei n00b
Joined: 25 Apr 2003 Posts: 62
|
Posted: Fri Aug 18, 2006 12:29 am Post subject: |
|
|
Cool idea, gonna try it...
Telling from the WIKI page, it only uses AES... i think support for other algorithms would be nice.
I am using serpent for my hard disks.
... and i just had the idea, perhaps this could be done via device-mapper, too?
P.S.
you're an Eisregen fan? Me too! |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Sun Aug 03, 2008 9:53 am Post subject: |
|
|
If someone still reads this old topic...
Does this script need root priviliges to mount iso images? I've been searching something that could mount disk images to user's home directory (or to /media or /mnt) without root priviliges. Then it would be really easy to integrate it with Konqueror/dolphin.
I once made a bash script to do that thing for me, but for security reasons setting suid for bash script (to be able to run it with root priviliges (was it suid? :D)), does not do the thing I wanted. The script will always run as regular user priviliges. I could consider changing bash settings to overrride that for my home computer, but not for any computer where other people can access to it (server).
I know the mountISO project - a Konqueror plugin to mount disk images. It might be just the tool for me, but I'd like something that could do the thing from cli also... _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
|