One way to avoid "temp file with clear text" hole is to use a pipe, so the clear passphrase is only somewhere in kernel memory, not on the disk. With dialog used in the script, the problem is that it ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results