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

S/MIME encrypted and opaque signed not visible #1450

Closed
pepemadalena opened this issue Feb 24, 2024 · 10 comments
Closed

S/MIME encrypted and opaque signed not visible #1450

pepemadalena opened this issue Feb 24, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@pepemadalena
Copy link

Describe the bug
I'm using Nextcloud and I've seen that Snappymail in its version 2.35 has implemented S/MIME encryption, but when trying to load the certificates from Snappymail settings, it does not allow them to be incorporated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Setup' in app Snappymail
  2. Click on 'Security'
  3. Scroll down to 'S/MIME Certificates'
  4. See error

Screenshots
image

Thanks

@the-djmaze
Copy link
Owner

Correct. Next release will have an import button.

@the-djmaze the-djmaze added the enhancement New feature or request label Feb 24, 2024
@pepemadalena
Copy link
Author

Hi,
Decryption still does not work; it only allows the import of the public certificate and does not permit the import of the private key.
Thanks

@the-djmaze
Copy link
Owner

Correct. Your private key should go in Settings -> Accounts -> Identity (the key belongs to)

@pepemadalena
Copy link
Author

Hi,
Thank you very much for the prompt response.
I have put the private key and the certificate in the identity,
image

and it still does not decrypt the email.
image

image

It does not show the content of the message.

Thanks

@the-djmaze
Copy link
Owner

You did it wrong.
It should be PEM format.

I will modify the screen to prevent invalid data.

@pepemadalena
Copy link
Author

Hi,
I have no choice; it's an email received from an official body and comes in that format. From other email clients, I can view it correctly by incorporating the S/MIME certificates.

@the-djmaze
Copy link
Owner

the-djmaze commented Mar 13, 2024

The message did decrypt as the bar is green.
Can you open your browser developer toolbar and then the network tab.
Then decrypt the message and see the request and response.

Screenshot is in dutch, but you get the idea:
afbeelding

Maybe the response data is something SnappyMail doesn't understand.

@the-djmaze the-djmaze reopened this Mar 13, 2024
@the-djmaze the-djmaze added needs feedback Further information is requested and removed enhancement New feature or request labels Mar 16, 2024
@the-djmaze
Copy link
Owner

Thanks for the email. I've figured out what the problem is.
Will make a solution for it.

@the-djmaze the-djmaze added bug Something isn't working and removed needs feedback Further information is requested labels Mar 17, 2024
@the-djmaze the-djmaze changed the title Problema enable S/MIME Problem S/MIME encrypted and opaque signed not visible Mar 17, 2024
@the-djmaze the-djmaze changed the title Problem S/MIME encrypted and opaque signed not visible S/MIME encrypted and opaque signed not visible Mar 17, 2024
@pepemadalena
Copy link
Author

Hi,
I have updated to version 2.36.0 of Snappymail in Nextcloud and the email encrypted with S/MIME still does not work. Now it shows these characters:
image

@the-djmaze the-djmaze reopened this Mar 28, 2024
the-djmaze pushed a commit that referenced this issue Mar 31, 2024
@pepemadalena
Copy link
Author

Hi,
After updating to version 2.36.1 of Snappymail in Nextcloud, the email has been decrypted perfectly.
Thank you very much.

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

2 participants