title: Clear GPG Cache/Password after Encryption in Linux Terminal
body: <p>I am very annoyed with the GPG encryption process in the Linux terminal, I encrypt files with GPG from the terminal with the following command:</p>
  
  <p><code>gpg --output file_out --symmetric --cipher-algo AES256 file_in</code></p>
  
  <p>This command has been recommended here since GPG is a reliable encryption package.</p>
  
  <p>The problem is that after enter the password and encrypt the file, the password doesn't get deleted. So anyone who has access to the PC can decrypt this file, and it doesn't get deleted only after I restart the computer.</p>
  
  <p>So if I enter the decryption command right after:
  <code>gpg --output file_in --decrypt file_out</code></p>
  
  <p>It will give this message</p>
  
  <pre><code>gpg: AES256 encrypted data
  gpg: encrypted with 1 passphrase
  </code></pre>
  
  <p>And it will decrypt this automatically. So the password is stored somewhere and it doesn't get deleted until I restart the computer.</p>
  
  <p><strong>Is there any way to clear/wipe the password right after the encryption is finished?</strong></p>