Browse Source

Updating with no caching and better cipher

Simon Waton 5 years ago
parent
commit
4cd3f0f972
1 changed files with 1 additions and 1 deletions
  1. 1 1
      encrypt

+ 1 - 1
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";