4cd3f0f972399b3451abd74852b24114384a83be
commit 4cd3f0f972399b3451abd74852b24114384a83be
Author: Simon Waton <spw01@protonmail.com>
Date: Thu Dec 6 12:29:17 2018 -0500

Updating with no caching and better cipher

diff --git a/encrypt b/encrypt
index 04002ad..3892499 100755
--- a/encrypt
+++ b/encrypt
@@ -16,7 +16,7 @@ if ( ! defined $ARGV[0] ) {

if ( ! -f $file ) { die "File argument must be a plain file, $file is not a plain file or it cannot be found, exiting...\n" };

-system("gpg --symmetric $file") == 0 or die "Something went wrong with GPG, I didn't encrypt the file...";
+system("gpg --symmetric --no-symkey-cache --cipher-ago AES-256 $file") == 0 or die "Something went wrong with GPG, I didn't encrypt the file...";

print "Looking for encrypted file..\n";
my $newFilename = $file . ".gpg";