Home GnuPG

Export MainWindow and save token in environment variable

Description

Export MainWindow and save token in environment variable

This will be picked up by Pinentry, which can then parent itself to the window.
It's important to unexport the window when closing it (when not also quitting the application),
as otherwise, the export will no longer work.

Details