tacruc / gpgmailer Goto Github PK
View Code? Open in Web Editor NEWSend encryped emails to registered users
License: GNU Affero General Public License v3.0
Send encryped emails to registered users
License: GNU Affero General Public License v3.0
Hi, can you please tell me which libraries I am missing, or that are required to install Gpg Mailer.
I get the following error when I try to download & enable Gpg Mailer from the Nextcloud app page:
App "Gpg Mailer" cannot be installed because the following dependencies are not fulfilled: The library gnupg is not available.
My server is running:
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5
I've had a look around gnupg.org but I am unsure which specific library I require.
Any help would be great, thank you.
Hi,
nextcloud was released recently. Please make the app compatible.
Thank you!
Hey !
This app seems really great, unfortunately I can't find a way to make it works on NC21. I've installed gnupg and
php -i | grep -i gnupg
do returns :
/usr/local/etc/php/ext-20-gnupg.ini, gnupg gnupg support => enabled
Unfortunately upon clicking on "Download server Key" I get redirected to mycloud.com/index.php/apps/gpgmailer/key/download/server but I get a file not found warning
.
And on the server there is no key folder under apps/gpgmailer/
GpgMailer do send a warning in the log
[gpgmailer] Error: Creating server GPG key pair failed. Emails are not going to be signed, expect keys are server keys imported manually POST /index.php/settings/apps/enable from XX.XX.XX.XX by adrien at 2021-05-16T12:11:55+00:00
I also get two log entries : `[PHP] Error: Error: sizeof(): Parameter must be an array or an object that implements Countable at /usr/local/www/nextcloud/apps/gpgmailer/lib/Service/Gpg.php#231 at <>
GET /index.php/settings/user/security
from XX.XX.XX.XX by adrien at 2021-05-16T09:45:25+00:00`
as well as `[PHP] Error: Error: Invalid argument supplied for foreach() at /usr/local/www/nextcloud/apps/gpgmailer/lib/Service/Gpg.php#232 at <>
GET /index.php/settings/user/security
from XX.XX.XX.XX by adrien at 2021-05-16T09:45:25+00:00`
Also regarding importing my own public key, I try to copy it from thunderbird and pasting, but I get an "Error importing public key"...
`
Ubuntu 21.04, Nextcloud 21.0.1 snap from Ubuntu Software.
I installed php-gnupg with
sudo apt install php-gnupg
(php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-phpdbg php7.4-readline)
following reboot.
gnupg 2.2.20-1ubuntu1.1 installed
However, there is still the message:
App "GPG Mailer" cannot be installed because the following dependencies are not fulfilled: The library gnupg is not available. What can I do here?
Anyway, thank you for this app. It adds a lot of value to nextcloud!
Call to undefined method OC\Mail\Message::getSwiftMessage() in file '/var/www/nextcloud/apps/gpgmailer/lib/Service/GpgMessageConvertService.php' line 94"
"Exception":"Exception","Message":"Call to undefined method OC\Mail\Message::getSwiftMessage() in file '/var/www/nextcloud/apps/gpgmailer/lib/Service/GpgMessageConvertService.php' line 94","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"
I should also mention that I'm using Nextcloud 26.
App "Gpg Mailer" cannot be installed because the following dependencies are not fulfilled: The library gnupg is not available.
I am unable to install gpgmailer because it does not recognise that I have gpg2/gnupg2 installed. I also have gpg/gnupg installed as well. Thank you for making this, and anything helps.
Some basic documentation or basic set up instructions would be really useful for us still learning Linux.
Thanks.
Hello,
Application looks great! Please add newer Nextcloud support.
Cheers,
Georgiy.
Is that correct?
Hello,
this app looks very good and it makes sense to at least sign every email sent from Nextcloud.
I installed it, the server key generated normally, but when I trigger an email notification (shared file), the attached signature is empty (file 'signature.asc' is empty) and the verification fails. The server public key (file 'public.asc') is present in the attachment.
If I put the users public key to the profile, the email gets encrypted and the signature is present (file 'signature.asc' is valid).
Am I doing something wrong, if we want only signed emails? Or is this some kind of bug?
I tried on NC 23.0.4 and then on NC 24.0.1, but the problem is still present. I don't really know how to diagnose this further. There is nothing in the log.
gnupg installed: php-pecl-gnupg-1.5.1-1.el8.remi.8.0.x86_64
Thank you for your help!
After enabling the app I get the following messages in the log
[gpgmailer] Error: Creating Server GPG Key pair failed. Emails are not going to be signed, expect keys are server keys imported manually
POST /settings/apps/enable
from x.x.x.x by xxx at 2020-07-13T17:28:48+00:00
----
[gpgmailer] Warning: No server GPG key found so no signed emails are possible
POST /settings/apps/enable
from x.x.x.x by xxxx at 2020-07-13T17:28:48+00:00
I've tried reinstalling the app, but it gives the same error.
Operating system: Fedora 32
Web server: Nginx
Database: PostgreSQL
PHP version: 7.4
Nextcloud version: 19
I think something broke since I last tested. I just installed the new Nextcloud 19 release and set up your 0.0.1 build and everything looks ok, but when I try to use my key which I exported from kelopatra, it says "Key is not for email" even though that's the only thing I've used it for. Also I launched my nc 19 beta 2 virtual machine with the compiled code I tested and copied the key I uploaded to that server (it was the same key) and pasted it into my new 19.0.0 server only to get the same response. So in short, I can't upload my public key.
Hi, what about adding localization to this app?
I would recommend using https://github.com/nextcloud/nextcloud-l10n and would offer to create a PR for that.
Cannot get the app to enable. I have the gnupg 1.4 installed via pecl am and running php7.1fpm. I get an error from generator.php on line 298 about too few arguments to a function when I run sudo -u www-data make test.
latest version of nextcloud 16, debian 9 Stretch server.
Currently I'm running Nextcloud 19.0 on Ubuntu 18.04.
When I try to install the app it fails due to GnuPG not being installed. I have verified that GnuPG is installed and the command gpg
can be run by the www-data user.
Does anyone have a fix for this, or is the error mine?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.