Open YuriHeupa opened 9 years ago
I found a similar issue. The resolution for me was to change the regex in the extract_keys.py management command to look for "BEGIN PRIVATE KEY" and "END PRIVATE KEY" rather than "BEGIN RSA PRIVATE KEY" and "END RSA PRIVATE KEY". I'm using an apple apns_sandbox certificate that was generated a day ago. I'm wondering if they changed from rsa to something else recently.
Can you check if this is solved with the latest release? https://github.com/dreipol/django-scarface/pull/8 should've fixed the issue.
The command extract_keys listed on docs does not work for me, when i run it gives the following traceback: