genesluder / python-apns

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

make key wrapping configurable for systems where it runs into problems #13

Closed sbusch-mobivention closed 6 years ago

sbusch-mobivention commented 6 years ago

While not being a particularly elegant solution, this offers a workaround #8, #10 and #11 while also offering the previously implemented fix

afreisthler commented 6 years ago

While waiting (hoping) for merge here, I fixed this with the following in my application:

from gobiko.apns import client
def wrap_private_key_override(private_key):
    return private_key
client.wrap_private_key = wrap_private_key_override
cal5k commented 6 years ago

Any word on when this might be merged?

genesluder commented 6 years ago

Hi All, I apologize this has been sitting for so long. I unknowingly stopped receiving notifications for this repo. Thanks for reaching me by other means. Looks good!