-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mail Signing & Encryption Module with Docker Setup #153
Comments
Sounds like you are close. There is likely a couple other folders that would need to be persisted to survive reboots related to gpg .. I don't have the plugin so I have no way to test sadly. Maybe another user will respond? |
i got it to work. i proceeded as follows On the Host: Added the Env for GnuOG to my docker-compose.yml:
In the Container:
Gnupg is now importing the key and creating the files in the persistent folder /data/keys/.gnupg folder. In the FreeScout Web Gui at the settings page i put in: Path to GPG Keys Folder: /data/keys/.gnupg/ Now i send a test mail but i didnt worked. I thought i cloud be the folder permissions... I went into the container again:
Back in the FreeScout Web Gui:
Buuuut... Is it safe to have this permissions on this folder? |
If the application somehow has a security issue then someone would have full access to your GPG private key, so it would be a good idea to use a seperate one from your daily driver perhaps. You may want to ensure that there are only read permissions for that folder. Perhaps (off the top of my head here):
That should only give read access to the www-group, not the ability to write more keys. I'm not entirely sure if the folder needs to be written to to store other recipients keys, so this may need some adjustment. |
these permissions gave me this error while using the Test-Mail-Action at the configuration site in the webgui: Unable to find an active key to sign for [email protected], try importing keys first. |
Hey,
i would like to use the Mail Signing and Encryption module in my Docker setup from Freescout, but I can't get it to work at the moment because folders have to be created in the Docker container that are not in the volume area. And keys have to be imported, which probably won't survive the restart of the container either, as they are not persistent either.
Unfortunately, the instructions in the official repository didn't really help me:
freescout-help-desk/freescout#1081
I proceeded as follows:
When I now want to send a test e-mail, I get the following message:
Unable to find an active key to sign for [email protected], try importing keys first.
Do you have any ideas how I can fix this error or proceed differently?
Thanks and best regards
Lukas
The text was updated successfully, but these errors were encountered: