On Sat, Mar 15, 2025 at 02:07:49PM -0500, Nicolas Mora wrote:
> Hello,
> 
> For some reasons, I can't build the package locally using your salsa repo, 3
> tests fail on build:
> 
> The following tests FAILED:
>         2 - jwt_jwks (Failed)
>         8 - jwt_checker (Failed)
>         9 - jwt_flipflop (Failed)
> 
> Yet I've tried building and running tests locally, both on a stable and
> testing machines and both work fine (cmake && make && make test)
> 
> I don't know why I have such errors on sbuild though. Maybe because of a
> locales configuration? Like en-CA vs UTF8?
> 
> I've attached my sbuild log file if you wish to investigate.
> 
> I would suggest to add a salsa ci script to your repo [1], we may have more
> data from there.

> 2: Gen KID(8/EdDSA): JWT[MbedTLS]: Error parsing private key
> 2: Gen KID(10/EdDSA): JWT[MbedTLS]: Error parsing private key

MbedTLS is known to fail on certain EdDSA curves and rsapss operations.
This was part of the reason not to enable it by default. The testsuite
does not differentiate between the compiled in ops, it runs every test
for each one compiled in.

I have a fix submitted to mbedtls for the rsapss case, but it's been
sitting as a pull-request in GitHub for awhile. Haven't looked into the
one ed curve.

Might be best if I disable mbedtls for now.

-- 
 Ben Collins
 https://libjwt.io
 https://github.com/benmcollins
 --
 3EC9 7598 1672 961A 1139  173A 5D5A 57C7 242B 22CF

Attachment: signature.asc
Description: PGP signature

Reply via email to