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

on_subscribe decryption is not working in PHP utility #68

Open
rasika-sarang opened this issue Jul 4, 2024 · 3 comments
Open

on_subscribe decryption is not working in PHP utility #68

rasika-sarang opened this issue Jul 4, 2024 · 3 comments

Comments

@rasika-sarang
Copy link

Hello Team,

The decryption of challenge received in on_subscribe callback is not working for PHP utility.

extedcouD pushed a commit to extedcouD/developer-docs that referenced this issue Jul 26, 2024
@jayfirke
Copy link

jayfirke commented Sep 5, 2024

Same issue,
I am getting an error "The ciphertext has an invalid padding length (46) compared to the block size (16)"

public key for staging which is "MCowBQYDK2VuAyEAduMuZgmtpjdCuxv+Nc49K0cB6tL/Dj3HZetvVN7ZekM="
I can't share encryption private key but I checked and it was correct.
Challenge string is "5AnkNUp/ZPKAjUHQpZ4S5qfvELKBWN4wLTlEA6s+DFRmtGesjEzZOqXmgmiGgzXY" -> I got this using telescope by inspecting the on_subscribe request

@rasika-sarang
Copy link
Author

@jayfirke yes there is a issue with PHP Utility. You can try this decryption with their node js utility.

@jayfirke
Copy link

jayfirke commented Sep 5, 2024

Thanks @rasika-sarang for letting me know, I have just done the same using their node js utility and it worked.

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