How store secret keys on removable pendrive?

How store secret keys on removable pendrive?
Is it possible?
How?
Thanks.

Hi,

yes that is possible. You can configure the GnuPG “home” directory through a registry key or through an environment variable so that the keys can be located on a pendrive.

Alternatively you can create a fully portable version where the keys are also stored in the portable directory with the tool “mkportable” (see: https://www.gpg4win.org/download.html )

For improved security it would be better though to use a “Smartcard” for your secret keys. That way you can be sure that no malicous app on your system can read or copy your secret key.

Just do a websearch on any of the topics I’ve mentioned here for more details.

Best Regards,
Andre

Many thanks.

You wrote:
“You can configure the GnuPG “home” directory through a registry key or through an environment variable so that the keys can be located on a pendrive.”

Could you help me in configuring the GnuPG “home” directory through a registry key or through an environment variable so that the keys can be located on a pendrive?

Many thanks.