LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2014, 11:32 AM   #1
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Rep: Reputation: 1
Post Bash cryptography frontend


Hi everyone,
for the 5th June event Reset the Net, I'm preparing a tool that implements an easy to use frontend to many cryptography tasks.

Mainly it is born to simplify the standard use of cryptsetup LUKS encryption both to help creating encrypted devices and encrypted storages in a file.
After that I've added frontends to gpg symmetric and asymmetric cryptograhy. (I know this maybe is more easy to write directly the command needed or usign Kgpg for example... but I've added these features just for completition).

All the interface in implemented via "dialog" use.

I've tested all the functionalities but the program is really in a kind of alpha stage and many controls are unimplemented, so use it with the awareness that you can do lots of damage on the system if you don't know what you are doing.

to run the suite, launch
$ /bin/bash tccf.sh

or launch the subsystem you want or simply the script you want: every action runs in a script, so you can run simply the script for one action bypassing the main menu!

Advices and critics are well accepted.
Thanks for your attention.

https://github.com/LCyberspazio/TwoCentsCryptoFrontend
 
Old 05-12-2014, 08:53 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
only looked over one of the scripts, but very nice. thank you.
 
Old 05-13-2014, 08:48 AM   #3
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Original Poster
Rep: Reputation: 1
Thank you very much!
Please, take a look at the rest of the suite and if you have a suggestions, I'll do my best to implement it after adding some control logic and a main code refactoring.

I'm going also to add disk and file wiping frontends.

Regards
 
Old 05-13-2014, 05:41 PM   #4
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Original Poster
Rep: Reputation: 1
Hi!
I've added the module to assist the secure deletion (wiping) procedures.

OBVIOUSLY IF YOU TRY THIS SCRIPT I'M NOT RESPONSIBLE OF ANY DAMAGE OF DATA [I'm not howling just making the warning more visible]

The new module contains two scripts:
* wipe device
* wipe file

The first is used to wipe a single whole partition. It uses 7 /dev/urandom overwriting passes.

The second wipe a single file. If installed on the system it uses /usr/bin/srm (secure-delete) while if srm is not installed executes the same /dev/urandom copy but for 50 passes and then delete the file.

https://github.com/LCyberspazio/TwoCentsCryptoFrontend

Launch the script
$ bash tccf.sh
to have access to the main wizard.

Regards.
 
Old 05-14-2014, 05:04 PM   #5
linuzfreak
LQ Newbie
 
Registered: Apr 2014
Posts: 21

Rep: Reputation: Disabled
Quote:
Originally Posted by Blizzard View Post
Hi everyone,
for the 5th June event Reset the Net, I'm preparing a tool that implements an easy to use frontend to many cryptography tasks.

Mainly it is born to simplify the standard use of cryptsetup LUKS encryption both to help creating encrypted devices and encrypted storages in a file.
[off topic] There is a GUI front-end for cryptosetup called zuluCrypt. It can encrypt a file to act like a storage container and a block device/partition and do secure wipe. There is an article/tutorial on zuluCrypt.

Anyway, good luck on your project

Last edited by linuzfreak; 05-14-2014 at 05:50 PM.
 
1 members found this post helpful.
Old 05-14-2014, 05:25 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
nice info both of you.
 
Old 05-14-2014, 05:49 PM   #7
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Original Poster
Rep: Reputation: 1
@linuzfreak: I've missed this one! Good to know!!!
Thanks!
 
Old 06-08-2014, 06:22 PM   #8
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Original Poster
Rep: Reputation: 1
Please check the new release of Two Cents Crypto Frontend.
It's a major change (v0.3), now is more firendly and clean and I've added functions for digital signature.

https://github.com/LCyberspazio/TwoCentsCryptoFrontend

Feedbacks are well accepted.

Have a nice week!
Giovanni
 
Old 07-23-2014, 12:11 PM   #9
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Original Poster
Rep: Reputation: 1
Hi,
I suggest to everyone who is interested, to get the new update of TCCF that add the tool to automatically encrypt all the files of a given directory and all subdirectories.

This tool may be useful to everyone needs to backup a large number of files to DVD or other media that may be accessible on other OSes that does not support the LUKS encrypted filesystem. This way you can count on a mirror of your directory with all the files encrypted, and you'll be able to get back using gpg or other pgp software that is widely available on all the mail systems.

* Soon I'll make the reverse script
* I discourage the use of this function on system used by more than one user, because the passphrase used in the process may be visible on top and ps output.
* Launch this function on a copy of your original directory. The function secure deletes (in the fast way, less secure) each file in clear form, leaving the same directory tree but with only the .asc encrypted files.

So you're adviced!
Download the zip or update here
https://github.com/LCyberspazio/TwoCentsCryptoFrontend

Have a nice, secure day!
 
Old 07-24-2014, 08:26 AM   #10
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Original Poster
Rep: Reputation: 1
I've added the directory decryption and also fixed some serious issues.
So if you've downloaded yesterday's version, update asap. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the cryptography amitrathore General 2 01-03-2012 08:25 AM
Slackware+Cryptography netpumber Linux - Software 2 01-12-2009 05:30 PM
Cryptography wwnexc Linux - Security 1 03-29-2006 09:21 PM
html/php frontend for bash rookiepaul Linux - General 5 03-05-2006 04:20 PM
Cryptography Libraries makk0 Programming 4 09-21-2004 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration