SymmetricInfinity / push_package

A gem for creating Safari push notification push packages.
symmetricinfinity.com/push_package
MIT License
31 stars 14 forks source link

Add windows compatibility #18

Closed mihaicrisanbodea closed 5 years ago

mihaicrisanbodea commented 5 years ago

When trying to create the pushPackage.zip in windows, due to the certificate being read as text, an error is thrown when creating an actual PKCS12 Certificate.

PKCS12_parse: mac verify failure (OpenSSL::PKCS12::PKCS12Error)

The fix is reading the certificate file as binary.

snatchev commented 5 years ago

Thanks @mihaicrisanbodea!

adamvduke commented 5 years ago

I pushed 0.5.2 to rubygems

mihaicrisanbodea commented 5 years ago

Excellent! Thanks a lot