From 463b5dbe7a4052dd6f38bc0a6d1ae52fd8ece811 Mon Sep 17 00:00:00 2001 From: kflux Date: Sun, 21 Sep 2014 00:37:17 +0200 Subject: [PATCH] Update register-handler.py added "application/x-pkcs7-signature" type --- register-handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register-handler.py b/register-handler.py index 237e042..a2e7490 100644 --- a/register-handler.py +++ b/register-handler.py @@ -41,7 +41,7 @@ if __name__ == "__main__": sign_part = None for msg_part in register_msg.walk(): - if msg_part.get_content_type().lower() == "application/pkcs7-signature": + if msg_part.get_content_type().lower() == "application/pkcs7-signature" or msg_part.get_content_type().lower() == "application/x-pkcs7-signature": sign_type = 'smime'; sign_part = msg_part break