Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the SHA256 algorithm in the openssl_sign call #35

Closed
Tharos opened this issue Oct 18, 2023 · 2 comments
Closed

Support for the SHA256 algorithm in the openssl_sign call #35

Tharos opened this issue Oct 18, 2023 · 2 comments

Comments

@Tharos
Copy link

Tharos commented Oct 18, 2023

In our project, we need to work with SHA256 (for security reasons).

There is a call of the openssl_sign function here: https://github.com/Pixidos/gpwebpay-core/blob/master/src/Signer/Signer.php#L56, but there is no way how to provide the fourth argument that determines the algorithm used.

Is there a change that the API will be extended or should I send a pull request?

Thank you very much,

Vojtěch

@ondraondra81
Copy link
Contributor

I have released version 2.2.1 which allows setting the encryption algorithm as the 3rd parameter in the Singer constructor.

@Tharos
Copy link
Author

Tharos commented Oct 19, 2023

This was super fast. 👍🙂 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants