blob: 04306eb6b05c44b93731bacd519a90e10d2a3032 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
(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)))))
|