Environment variable GNUPGHOME with Windows + MSYS2

Werner Koch wk at gnupg.org
Tue Mar 4 10:12:31 CET 2025


On Thu, 27 Feb 2025 16:32, Thomas Schweikle said:

> MSYS2 gpg uses "/c/msys/home/%USERNAME%/.gnupg". Now I had the idea to set
> GNUPGHOME so both could work with the same directory:

Please do not use an MSYS build (or a Cygwin build).  This is not
supported because GnuPG has full support for Windows and trying to build
a mix of a Unix and Window version will eventually run into problems.
Further, and more important: We have never done an analysis of such a
build regarding the random number generator.  Take care not to run into
something like the OpenSSL RNG problem Debian once had.

You should be able to build GnuPG for Windows on Windows using WSL2 with
Ubuntu or (if available Debian Bookworm).  Not tested though.



Salam-Shalom,

   Werner


-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250304/679a8a84/attachment.sig>


More information about the Gnupg-users mailing list