August 22, 2014, 04:57 PM
WFtESTERThe user which is running has access to the share. By the way it should encrypt a file which was prior created on this share within the same fex.
Since the user is also in the local admin group of the webfocus server I did a test with a local file and the result is the same:
gpg: E:\\temp\\test.txt: encryption failed: no public key
August 24, 2014, 05:37 PM
WazI would suggest checking gpg help or suppport on the no public key error, to see what it means.
Can you log into the server with the user that WebFOCUS uses ? and try encrypting/decrypting something ?
August 25, 2014, 01:02 AM
StuBouyerBasically the error message is stating that GPG doesn't have a public key for the recipient you are trying to use - MyGPGID
If you hve created you key pairs then you can see the keys available with
gpg --list-keys
Remember that GPG is user independant, so you must import the keys you need as the user that WebFOCUS Reporting Server is running as.
Cheers
Stu
September 24, 2014, 06:27 AM
WFtESTERI did some more tests and know why it is/was not working.
It was not enough to install it under the application user which was running all the webfocus services. In addition I did the import of the keys via Developer Studio (fex). Otherwise it was creating the keychain under C:\gnupg\ instad of the users profile: %appdata%\gnupg\
! gpg --import e:\path\to\key\public.gpg
So after deleting all the keys under C:\gnupg\ and creating the new one via WF DevStudio it was working fine from DevStudio.
----
Now I did the first test with Report Caster and there I got the message that there is no key in C:\gnupg\ *lol*.
At least I konw know where to search...
and hopefully someone can use this information.
Thank you all for your support.