You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the firmware 1.2.2-alpha.20221130, signing a too large payload crashes the Nitrokey (the LED turns red, the key is unresponsive and must be unplugged). Here is an example with a RSA 2048 key:
This was caused by a bug in the RSA integration in Trussed for which a fix is ready: Nitrokey/trussed#11
The issue was on the contrary that the length was checked, but the error was not handled, which translated to a Rust panic, aka red LED + the key stops working.
Future releases will actually use a different approach to RSA integration in Trussed that also contains the fix: #116
Using the firmware 1.2.2-alpha.20221130, signing a too large payload crashes the Nitrokey (the LED turns red, the key is unresponsive and must be unplugged). Here is an example with a RSA 2048 key:
I guess the size of the payload should be checked, and an error 0x6700 (Wrong Length) returned if it's too big.
The text was updated successfully, but these errors were encountered: