Giter Club home page Giter Club logo

gpgmailer's People

Contributors

castillo92 avatar cnmicha avatar luticus avatar nextcloud-bot avatar tacruc avatar valdnet avatar zocker1999net avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gpgmailer's Issues

App "Gpg Mailer" cannot be installed because the following dependencies are not fulfilled

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.

App not working

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
Screenshot_20210516_140148.
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 <>

  1. <>
    OC\Log\ErrorHandler::onError(2, "sizeof(): Param ... e", "/usr/local/www/ ... p", 231, {email: "/////})
  2. /usr/local/www/nextcloud/apps/gpgmailer/lib/Service/Gpg.php line 231
    sizeof(false)
  3. /usr/local/www/nextcloud/apps/gpgmailer/lib/Settings/Personal.php line 84
    OCA\GpgMailer\Service\Gpg->getPublicKeyFromEmail("/////")
  4. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/CommonSettingsTrait.php line 138
    OCA\GpgMailer\Settings\Personal->getForm()
  5. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/PersonalSettingsController.php line 77
    OCA\Settings\Controller\PersonalSettingsController->formatSettings({10: [OCA\Settin ... ]})
  6. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/CommonSettingsTrait.php line 149
    OCA\Settings\Controller\PersonalSettingsController->getSettings("security")
  7. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/PersonalSettingsController.php line 68
    OCA\Settings\Controller\PersonalSettingsController->getIndexResponse("personal", "security")
  8. /usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 218
    OCA\Settings\Controller\PersonalSettingsController->index("security")
  9. /usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 127
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con ... {}, "index")
  10. /usr/local/www/nextcloud/lib/private/AppFramework/App.php line 157
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "index")
  11. /usr/local/www/nextcloud/lib/private/Route/Router.php line 302
    OC\AppFramework\App::main("OCA\Settings\ ... r", "index", OC\AppFramework\ ... {}, {section: "secur ... "})
  12. /usr/local/www/nextcloud/lib/base.php line 993
    OC\Route\Router->match("/settings/user/security")
  13. /usr/local/www/nextcloud/index.php line 37
    OC::handleRequest()

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 <>

  1. /usr/local/www/nextcloud/apps/gpgmailer/lib/Service/Gpg.php line 232
    OC\Log\ErrorHandler::onError(2, "Invalid argument supplied for foreach()", "/usr/local/www/ ... p", 232, {email: "/////})
  2. /usr/local/www/nextcloud/apps/gpgmailer/lib/Settings/Personal.php line 84
    OCA\GpgMailer\Service\Gpg->getPublicKeyFromEmail("/////")
  3. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/CommonSettingsTrait.php line 138
    OCA\GpgMailer\Settings\Personal->getForm()
  4. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/PersonalSettingsController.php line 77
    OCA\Settings\Controller\PersonalSettingsController->formatSettings({10: [OCA\Settin ... ]})
  5. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/CommonSettingsTrait.php line 149
    OCA\Settings\Controller\PersonalSettingsController->getSettings("security")
  6. /usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/PersonalSettingsController.php line 68
    OCA\Settings\Controller\PersonalSettingsController->getIndexResponse("personal", "security")
  7. /usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 218
    OCA\Settings\Controller\PersonalSettingsController->index("security")
  8. /usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 127
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con ... {}, "index")
  9. /usr/local/www/nextcloud/lib/private/AppFramework/App.php line 157
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "index")
  10. /usr/local/www/nextcloud/lib/private/Route/Router.php line 302
    OC\AppFramework\App::main("OCA\Settings\ ... r", "index", OC\AppFramework\ ... {}, {section: "secur ... "})
  11. /usr/local/www/nextcloud/lib/base.php line 993
    OC\Route\Router->match("/settings/user/security")
  12. /usr/local/www/nextcloud/index.php line 37
    OC::handleRequest()

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"...

`

library gnupg is not available.

Ubuntu 21.04, Nextcloud 21.0.1 snap from Ubuntu Software.

#9

#7

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 on Nextcloud 26 with php 8.1

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.

Nextcloud says that gnupg library is not accessible, but it is installed

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.

Documentation

Some basic documentation or basic set up instructions would be really useful for us still learning Linux.

Thanks.

Add NC 23 Support

Hello,

Application looks great! Please add newer Nextcloud support.

Cheers,
Georgiy.

Digital signature - file signature.asc empty when Signing only

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!

Increase textarea width on settings page

It would be great to have the width of the textareas in the admin section increased, as it is the current design in the user's settings.

I think this is a little too small:

image

If you like, I could submit a PR for that.

Creating Server GPG Key pair failed.

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.

Server configuration

Operating system: Fedora 32

Web server: Nginx

Database: PostgreSQL

PHP version: 7.4

Nextcloud version: 19

key is not for your email

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.

App will not enable

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.

Unable to install as GnuPG is not found

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.