It is currently Thu May 24, 2018 11:24 pm - A Symmetric Cipher Encryption/Decryption program.

All times are UTC - 6 hours

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 PostPosted: Tue Aug 21, 2007 1:28 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 693
Location: Des Moines, Iowa
# A Symmetric Cipher Encryption/Decryption program made using Zenity
# Copyright (C) 2007 Dave Crouse - <dave atnospam> -All rights reserved
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

You can view a demo of it here:

 Profile WWW  
 PostPosted: Mon Feb 11, 2008 5:09 am   

Joined: Tue Feb 05, 2008 8:24 am
Posts: 14
crouse wrote:
decryptz () {
gpg --quiet --no-verbose --expert --passphrase "$decryption_key" --decrypt encrypted.txt  | zenity --text-info --title="Symmetric Cipher Decryption - Decrypted Message" --width=600 --height=500

Thank you for sharing your work, Crouse!

However, I think that using bash-scripted GUI for encryption software is not something to advocate. I am not a security expert, but I think that using such scripts is potentially dangerous.

For example, --passphrase "$decryption_key" means that any other user on a multiuser machine can see the password with simple ps o args.

 Profile WWW  
 PostPosted: Sat Feb 16, 2008 7:25 am   

Joined: Tue Jan 29, 2008 7:22 pm
Posts: 2
Maybe that problem can be solved using this code before call 'gpg' to encrypt/decrypt:

passphrase = echo "$passphrase" | md5sum -

Edited: Sorry, I was wrong, this will solve nothing, bad idea.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours

Who is online

Users browsing this forum: No registered users and 6 guests

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 post attachments in this forum

Jump to:  

BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group