apple-sign-in-php-sdk icon indicating copy to clipboard operation
apple-sign-in-php-sdk copied to clipboard

Cryptographic algorithm `fh6Bs8C` is not supported

Open Nugation opened this issue 2 years ago • 2 comments

Hello,

currently we have an issue relating to the cryptographic algorithm fh6Bs8C. We are using package version 1.3.0 currently. Would it be possible to integrate this in the package? Or does it exist already?

Nugation avatar Oct 10 '22 09:10 Nugation

Which version of the package do you use? Apple switches algorithms every once a while. Latest versions of the mater and 1.1.x branches should accept all new algorithms, however.

We too had this problem at my company in the past. The latest versions seemed to solve this issue for once and for all. Maybe its worth upgrading, when you do not use the latest versions, yet.

ThomasCooks avatar Oct 10 '22 09:10 ThomasCooks

Hey @Nugation,

Thanks for reporting an issue. As @ThomasCooks wrote, please use the latest version of the library to fix that issue. More information about the issue can be found here.

hywak avatar Oct 10 '22 11:10 hywak

@hywak I am running into the same issue with 1.5.0 on PHP 7.4 I can't update to the 2.x branch, as that isn't compatible with PHP 7.4

Any advice?

WouterWidgets avatar Nov 28 '22 15:11 WouterWidgets

You can downgrade to the 1.1.x branch. That's what we did with php 7.2. Authentication works fine with the latest version in that branch.

ThomasCooks avatar Nov 28 '22 15:11 ThomasCooks

Hey @WouterWidgets,

Thank you for your post.

The bug was fixed on the main branch and branch v1.1.x like @ThomasCooks mentioned. I've introduced the same bug fix to a new branch v1.5.x and released it under the tag 1.5.1. Can you please try to update your dependency to version 1.5.1 and see whether it works?

hywak avatar Nov 28 '22 18:11 hywak

Hi @hywak and @ThomasCooks ,

Many thanks for your replies! Your help is much appreciated.

I managed to get 2.2.0 installed! Apparently, the v2.x branch is compatible with PHP 7.4 (not > 7.4 but >= 7.4)

Regards, Wouter

WouterWidgets avatar Nov 29 '22 09:11 WouterWidgets

Perfect, more than happy to hear it works for you 💪🏼

hywak avatar Nov 29 '22 09:11 hywak