0

I am using apns-client (Note: not apnswrapper, so please don't close it as duplicate)

I am able to send push notifications with bypassing the passphrase. But i want to use passphrase to make it secure. I can't understand from the example on where to add the passphrase in the code

http://apns-client.readthedocs.org/en/latest/apnsclient.html

user2574872
  • 945
  • 2
  • 11
  • 23

1 Answers1

0

I figured it out

con = session.get_connection("push_production", cert_file=key_path, passphrase=pphrase)

user2574872
  • 945
  • 2
  • 11
  • 23