-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
tests: subsys: jwt: libraries.encoding.jwt.rsa.psa fails #79864
tests: subsys: jwt: libraries.encoding.jwt.rsa.psa fails #79864
Comments
Does not seem to be network related so re-assigning. PSA mentioned, so @tomi-font can you take a look at this? |
@valeriosetti touched this, so passing the hot potato to him. |
Curious to know, @katgiadla how did you come up with the "probably introduced by" commit? |
I've used bisection to get probably reason of the bug. It is important to confirm, if the marked commit is real cause of the bug. |
Short answerI still haven't found a solution for this, but my suspects are that builds with TF-M does not fully support RSA signature. I need to investigate further. ExplanationI checked that:
In both cases I tested on a real device flashing it with The same issue happens also if I replace the NRF9160 board with a |
After digging a bit more on this issue, it turned out to be a TF-M limitation: it did not allocate enough heap memory to the crypto partition in order to allow RSA 2048-bit signatures. This should be fixed by #81869 |
@katgiadla once #81869 has CI green (a part from the
Edit: I tried the PR locally on a nrf9160dk board with |
Describe the bug
The test
tests/subsys/jwt/libraries.encoding.jwt.rsa.psa
failsObserved for:
nrf5340dk/nrf5340/cpuapp/ns
nrf9160dk/nrf9160/ns
To Reproduce
Steps to reproduce the behavior:
nrf9160dk/nrf9160/ns
connected./scripts/twister -T tests/subsys/jwt -p nrf9160dk/nrf9160/ns --device-testing --device-serial /dev/ttyACM0 -v --inline-logs --west-flash="--erase"
Expected behavior
Valid console output
Impact
Not clear
Logs and console output
Environment (please complete the following information):
v3.7.0-4232-g9b5260de9a31
Additional context
Probably introduced by 29e82d2
The text was updated successfully, but these errors were encountered: