cmdmnt / commandment

Open Source Apple MDM implemented in Python
MIT License
292 stars 61 forks source link

Fix Signature Verification in case of IOS MDM Signature #31

Closed gekco closed 2 years ago

gekco commented 3 years ago

MDM signature verification fails in case of IOS.

fixes issue https://github.com/cmdmnt/commandment/issues/18

micromdm uses pkcs7 Follow the protocol as used in pkcs7 library specifically this code (https://github.com/mozilla-services/pkcs7/blob/master/verify.go)