Mailing List Archive

How to set up GPG4win to run from local system account?
Hi,

I have installed gpg4win on windows server. I have admin rights and when i installed, i run exe as administrator.
i created keys in kleopatra. When i run batch files by double clicking on it, it works fine. If same batch file execute by other user then it does not work. It seems exe search for public or private key here => C:\Users\dharav\AppData\Roaming\gnupg
If any user import this public keys through kleopatra then it works for that user as well.

Is there a way that we can install ones and system account (service runs on system account) and other user can access this?

I export both public and private keys and stored in the E:\Test\ folder.
My gpg exe file stored in E:\Software\PGPWin\GnuPG\bin\ location

code in batch file:

set path=%path%;"E:\Software\PGPWin\GnuPG\bin\"
gpg --logger-file "D:\gpglog.log" --pinentry-mode loopback --batch --no --force-mdc --passphrase-file "D:\PassCode.txt" -d -o "D:\ERP_Export.txt" "D:\Encrypt_ERP.txt"

Being a new bee, i am not able to understand the workflow of the GPG4WIN and its set up.

Please Advise.

Thank You
Dharav


Regards,

DHARAV PATEL
TM1Developer@outlook.com
347-652-6310

[cid:35eb8383-41cb-4a5c-8714-f4c278756c70]<https://linkedin.com/in/tm1developer><https://linkedin.com/in/tm1fintech>
Re: How to set up GPG4win to run from local system account? [ In reply to ]
DHARAV PATEL via Gnupg-users <gnupg-users@gnupg.org> writes:

> I have installed gpg4win on windows server. I have admin rights and
> when i installed, i run exe as administrator.

> Being a new bee, i am not able to understand the workflow of the
> GPG4WIN and its set up.

The best place start with is /The GNU Privacy Handbook/. Refer
specifically to the section
[[https://gnupg.org/gph/en/manual.html#INTRO][Getting Started]]

For your case, that is if you want to use shared key encryption, then
look for symmetric ciphers in section~2. Private keys are not meant to
be shared among users.

--
Pankaj Jangid

GnuPG Fingerprint => 0B62 7424 3B26 A911 052A DDE6 7C95 6E6F F858 7689

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users