glebd / cocoafob

A set of registration code generation and verification helpers for Obj-C, Ruby (Potion Store), PHP and FastSpring
Other
469 stars 57 forks source link

Ruby: replace obsolete DSS1 algorithm #45

Closed DivineDominion closed 4 years ago

DivineDominion commented 4 years ago

See e.g. https://github.com/sparkle-project/Sparkle/issues/1132 -- OpenSSL dropped DSS1.

Apparently, SHA1 works just as well. Tested it with my apps and it works so far. No clue why that would be, though.

The PHP signature algorithm probably has to be replaced with OPENSSL_ALGO_SHA1 as well, but if it ain't broke, don't fix it :)