validatesns
validatesns copied to clipboard
Validate integrity of Amazon SNS messages
Hi.... could the regular expression you use to verify the certificate url comes from amazon be fooled by using an s3 bucket called 'sns' and accessing it through https??? https://sns.s3-ap-southeast-2.amazonaws.com
When a message contains any non-ASCII chars the code raises an exception while converting unicode string to 'ascii' (default) encoding with `decode()` method. And it works fine when we decode...
The response format has changed. There is no SigningCertURL ```python class SigningCertURLValidator(object): """ Validate a message's SigningCertURL is in the expected format. """ [..] def validate(self, message): if not isinstance(message,...
Im curious why there is no return value form the validates function when the validation succeeds. Is this the expected behavior?