Kaynağa Gözat

Updating with no caching and better cipher

Simon Waton 6 yıl önce
ebeveyn
işleme
4cd3f0f972
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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";