(use-modules (webid-oidc stubs) (webid-oidc testing)) (with-test-environment "jwk-kty-ec-correct" (lambda () (let* ((key (json-string->scm "{ \"kty\":\"EC\", \"x\":\"l8tFrhx-34tV3hRICRDY9zCkDlpBhF42UQUfWVAWBFs\", \"y\":\"9VE4jf_Ok_o64zbTTlcuNJajHmt6v9TDVrU0CdvGRDA\", \"crv\":\"P-256\" }")) (kty (kty key))) (unless (eq? kty 'EC) (exit 1)))))