Node.js safari loading notifications with broken signature

I am using the safari-push-notifications v 0.3.0 module to create the push package required by Safari. Sometimes I get an error Signature verification of push package failed

from Safari.

I noticed that there are some garbled / invalid characters in the failed signatures. I tried to render them out and use the signature, but it still doesn't work.

My cert, key, intermediate and manifest are the same every time.

Most of the time the signature works very well, but it fails from time to time.

Has anyone else experienced this and knows a way to fix it?

+3


source to share


1 answer


I also opened an issue in the github registry for this issue and the owner pushed the fix. If you have this problem, just update to version 0.3.1 or higher.



0


source







All Articles