YAD (ex zenity) front-end for mcrypt and mdecrypt
Please tell me your opinion about this script on pastebin :
http://pastebin.com/aq9FW97f I have been considering writing more of these script front-ends for Zenity and Yad and could not decide for any real task. File-encryption finally gives me enough inspiration to try out all those nifty controls. Runs with YAD 0.33.1 (GTK+ 3.18.6), but probably also with previous versions. Cheerio, Michael |
I was intrigued by zenity/yad in the beginning.
But for day-to-day stuff, it's not for me "for any real task". zenity/yad is "cute" but in the end, I'd only write something for end users. Your script comments look good and are plentiful and well-placed. Erm... # Remove pre-existing files if we are about to replace them anyway. Should that happen after the encrypt? |
Hi.
Thank you for the comment. YAD is just there to be used or not. What I do is basically avoid the command-line for mcrypt where I sometimes forget options and have to repeat my actions. Quote:
Quote:
No, but what I was really aiming for (not with YAD but) with this thread was your comments on mcrypt and the possible uses. I admit, that I could have been more specific but the question is not really clear to myself... The information that something is wrong with mcrypt does not satisfy me and having my problems with gpg2 -c or crypting stuff with OpenSSL, mcrypt is still my utility of choice. I never understood the problem, nor if the library or only the executable program was affected. I have an encrypted partition, but admit that I have almost or actually no use for it. Moving encrypted files around is much more interesting for me than to store them for good and possibly destroy them all at once, in case of (what?) emergency... In conclusion, if mcrypt is useable and nice, my YAD script might ... make it even better, I guess.., or something. |
Code:
yad --image "dialog-error" --title "ERROR" --text="$FILE is not a valid file for $ACTIONion! Aborting." Code:
yad --image "dialog-error" --title "ERROR" --text="$FILE is not a valid file for ${ACTION}ion! Aborting." Code:
# find the default algorithm and mark it Code:
AL=${ALGOS[*]/$DEF_ALGO/^$DEF_ALGO} Quote:
|
mcrypt and mdecrypt may be related to security but your initial post is not. To make your thread get the attention it deserves I've moved it to the Linux General forum. Have fun!
|
Quote:
@unSpawn: Okay, I will have to open another thread on mcrypt (alone) in the security-forum, as the question still bugs me. [Done. New thread: mcrypt, what is the problem?] @ntubski: Code:
AL=${ALGOS[*]/$DEF_ALGO/^$DEF_ALGO} |
All times are GMT -5. The time now is 05:21 AM. |