I know there has to be an easy answer for this.
You use to be able to call tpm2_rsadecrypt and not give an output file and the result
would go to stdout.
But on version 3.1.3 it gives an error if you do not use the -o filename parameter.
And if you do something like **-o /dev/stdout** or **-o >(/dev/stdout)** it give you an
error that the file already exist.
I do not want to put the encrypted data into a file and then read it because even if it is
erased it still can be recovered and it has the decrypted material in it.
So what is the solution to get the result of tpm2_rsadecrypt to the stdout?
Show replies by date