genesluder / python-apns

A library for interacting with APNs using HTTP/2 and token-based authentication.
MIT License
90 stars 50 forks source link

wrapping the auth_key to 64 char lines on Windows #10

Closed JohnAherne closed 3 years ago

JohnAherne commented 6 years ago

On windows it seems you need to comment out the wrap_private_key code in client.py and it processes the .p8 fine. If you leave the wrap code in, you get the error 'Could not deserialize key data'