tacruc / gpgmailer

Send encryped emails to registered users
GNU Affero General Public License v3.0
15 stars 4 forks source link

Digital signature - file signature.asc empty when Signing only #25

Open l00v3 opened 2 years ago

l00v3 commented 2 years ago

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!

tacruc commented 2 years ago

I'm not aware of this bug. I will habe to check when I'm back from vacation.