I currently use a script to decrypt a file, but it writes it to disk. I then use wipe to clear it. Is there a way to write it to screen so it never writes it to disk?
I use the command $ echo PASSWORD | gpg file.txt.gpg
and it creates a file.txt
. Then I use wipe to erase the file. Can I extract it to my screen or tmp file system and use more/less to view it?
I know I can create a script to build a tmp file system, then decrypt to it, then view it under /tmp/ramdisk
. I could just delete the tmp/ramdisk
, but I was sure there was a program or a method to view it one time only to tmp ram system.