File Encryption
Dave Pawson
dave.pawson at gmail.com
Sat Dec 20 22:27:28 CET 2014
Hi Gus. Using symmetrical encryption I do just that
on Linux, without the GUI?
With a small bash script, you could filter out just the entry you want too.
I currently do it with Python and their encryption, but want it for
my windows box and Linux, hence gpg.
e.g. unlock is
source lockp.sh # parameters
#usage="Usage $0 # creates $plnfile.txt"
if [[ ! -f ${target}/${encfile} ]]
then
echo Unable to find $1
exit 2
fi
# File $1 exists, has .gpg extension, create .txt
echo "Decrypt CAST5 encrypted file $1"
echo gpg --output ${target}/${plnfile} --decrypt ${target}/${encfile}
gpg --output ${target}/${plnfile} --decrypt ${target}/${encfile}
ckexit gpg
echo "Created ${target}/${plnfile}"
more ${target}/${plnfile}
with params shared (encrypt / decrypt) as
# params for lock.sh and unlock.sh
source ~/bin/dpFunctions.sh
target=/apps/Dropbox/fp
plnfile=test.txt
encfile=test.gpg
nb dpfunctions are pure bash.
Let me know if you want more.
HTH
On 19 December 2014 at 22:20, Gus Zernial <gus_zernial at yahoo.com> wrote:
> I'm a home user of Linux. I'm looking for an encryption utility for my
> personal password file, preferably one with a graphical user interface.
>
> After initial encryption of the file with a master password, I'd like to be
> able to decrypt and display the cleartext file, using my master password,
> without destroying the underlying encrypted file. Accordingly, when I close
> the cleartext version it ceases to exist, leaving only the pre-existing
> encrypted file.
>
> With what program and/or how can I do this?
>
> Thx, Gus
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
More information about the Gnupg-users
mailing list