I am currently running django-bouncy 0.2.8, and am having problems specifically when an email bounces in French.
Verification succeeds in English without issues, and the rest of my codebase further processes the new Bounce record properly. However when the initial email is sent in French, the bounce fails. Currently the message from django-bouncy is just "Verification failed %s".
I've contacted AWS support, and they confirmed that their SNS subscription does not have its message content altered in any way based on language settings. They suggested I come here to raise an issue. I've also pulled in 0.2.8 source as an installed app in my Django backend in order to add extra logging to debug via Sentry, and I get the following error: [('rsa routines', 'int_rsa_verify', 'bad signature')]. This happens in the except clause when trying crypto.verify() within the utils.verify_notification function.
From what I can see in Sentry, the certificate retrieved is identical in both languages, so I suspect somehow data isn't being escaped properly in French and the hashes aren't matching up.
Do you have any insight as to what might be causing this?
I am currently running django-bouncy 0.2.8, and am having problems specifically when an email bounces in French.
Verification succeeds in English without issues, and the rest of my codebase further processes the new
Bounce
record properly. However when the initial email is sent in French, the bounce fails. Currently the message from django-bouncy is just "Verification failed %s".I've contacted AWS support, and they confirmed that their SNS subscription does not have its message content altered in any way based on language settings. They suggested I come here to raise an issue. I've also pulled in 0.2.8 source as an installed app in my Django backend in order to add extra logging to debug via Sentry, and I get the following error:
[('rsa routines', 'int_rsa_verify', 'bad signature')]
. This happens in the except clause when tryingcrypto.verify()
within theutils.verify_notification
function.From what I can see in Sentry, the certificate retrieved is identical in both languages, so I suspect somehow data isn't being escaped properly in French and the hashes aren't matching up.
Do you have any insight as to what might be causing this?