Skip to content
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

[9.0.1] Unable to send mails encrypt using S/MIME certificates #1090

Closed
tuxmaster5000 opened this issue May 15, 2020 · 2 comments
Closed

[9.0.1] Unable to send mails encrypt using S/MIME certificates #1090

tuxmaster5000 opened this issue May 15, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@tuxmaster5000
Copy link
Contributor

Expected behavior

That it is possible to send encrypted mails using S/MIME certificates.
Using an gpg public key works fine.

Actual behavior

No mail is generated, because the certificate is not found.

Steps to reproduce

  1. Log into gsa
  2. Import an new X.509 certificate under credentials.
  3. Add an new email alert using encrypted mail and the certificate
  4. Test the alert.

GVM versions

gsa: Greenbone Security Assistant 9.0.1

gvm: Greenbone Vulnerability Manager 9.0.1

openvas-scanner: OpenVAS 7.0.1

gvm-libs: gvm-libs 11.0.1

Environment

Operating system: CentOS 7.8

Installation method / source: Using github sources

Logfiles

/var/log/greenbone/gvmd/gvmd.log:

util gpgme:WARNING:2020-05-15 08h31.50 CEST:25464: find_email_encryption_key: No suitable key found for foo@foo.foo
util gpgme:WARNING:2020-05-15 08h31.50 CEST:25464: encrypt_stream_internal: Could not find certificate for encryption
md manage:WARNING:2020-05-15 08h31.50 CEST:25464: email_encrypt_smime: encryption failed
md manage:WARNING:2020-05-15 08h31.50 CEST:25464: email: S/MIME encryption failed

@tuxmaster5000 tuxmaster5000 added the bug Something isn't working label May 15, 2020
@bjoernricks
Copy link
Contributor

Should be re-tested with current version. If it is still valid please re-open.

@gs4711
Copy link

gs4711 commented Jun 9, 2021

Jun 9 10:47:21 iz-ad-41 gvmd[4204]: find_email_encryption_key: Found matching UID for DummyUser@h-ka.de
Jun 9 10:47:21 iz-ad-41 gvmd[4204]: g_lstat(/tmp/gvmd-gpg-V96Z15/.#lk0x000055d0335a17b0.iz-ad-41.4209) failed - No such file or directory
Jun 9 10:47:21 iz-ad-41 gvmd[4204]: Failed to remove .#lk0x000055d0335a17b0.iz-ad-41.4209 from /tmp/gvmd-gpg-V96Z15!
Jun 9 10:47:21 iz-ad-41 gvmd[4204]: email_encrypt_smime: encryption failed
Jun 9 10:47:21 iz-ad-41 gvmd[4204]: email: S/MIME encryption failed
Jun 9 10:47:21 iz-ad-41 command-wrapper[20599]: encrypt_stream_internal: gpgme_op_encrypt failed: Missing issuer certificate

Still seems to be broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants