jacobwb / hashover-next

This branch will be HashOver 2.0
GNU Affero General Public License v3.0
420 stars 87 forks source link

email decrypt ? #306

Open rpeveri opened 2 years ago

rpeveri commented 2 years ago

good afternoon, I want to export all the mails that are in mysql of the people who commented and I can not see them because they appear encrypted or something similar. The idea is to make a marketing campaign and this problem is not allowing me to do it. I hope someone can help me. Thanks for your help.

rpeveri commented 2 years ago

and on the other hand googlebot can index the content of the comments encrypted with base64 ?

da2x commented 2 years ago

The idea is to make a marketing campaign and this problem is not allowing me to do it.

Good. Neither the GDPR nor other international privacy regulations allow you do to it either. You can’t send people newsletters and junk unless they’ve expressly opted-in to receiving it.

Here’s the decryption function:

https://github.com/jacobwb/hashover-next/blob/7843e365ec1b490b7b5e16d6fdd894a907e71bd6/backend/classes/crypto.php#L167-L225