I have a project where I am encrypting a stream like so:
some_command | gpg --keyring tempkeyring.gpg --recipient "person" --output filename.gpg --encrypt
So while the stream is taking place and the encryption has already started, will it hurt the process to delete the currently-used keyring? The keyring is temporary and gets created anew every time the script runs. I'm GUESSING the kernel will still allow the system to access the file and once gpg is finished with it, it will free up the space. Will gpg flip out or will it finish the encryption just fine?
The operating system(s) are Linux RHEL and CentOS kernels 2.6+ if that makes a difference.