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

OpenSSL unable to sign data #41

Open
teamwenger opened this issue Jan 12, 2020 · 1 comment
Open

OpenSSL unable to sign data #41

teamwenger opened this issue Jan 12, 2020 · 1 comment

Comments

@teamwenger
Copy link

I am able to login and launch using the library just fine. However, when attempting to send a grade using $grades->put_grade($score); I receive an error from JWT saying "OpenSSL unable to sign data" of type DomainException (/vendors/fproject/php-jwt/src/JWT.php line 200-202).

Any idea what's going on here? I'm able to decode but not encode. I have openssl version 1.1.1 FIPS.

Thanks

@MartinLenord
Copy link
Collaborator

Hi @teamwenger is this running inside the docker container, or locally on your machine?

Also make sure that you have your private key configured correctly, it could be that it is attempting to sign with an empty key

snake pushed a commit to snake/lti-1-3-php-library that referenced this issue Jan 19, 2022
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