UNSUPPORTED_KEY_TYPE — JWK kty not supported
cyoda-go version 0.8.2
errors.UNSUPPORTED_KEY_TYPE
Section titled “errors.UNSUPPORTED_KEY_TYPE”UNSUPPORTED_KEY_TYPE — the JWK kty is not supported by this cyoda-go version.
SYNOPSIS
Section titled “SYNOPSIS”HTTP: 400 Bad Request. Retryable: no.
DESCRIPTION
Section titled “DESCRIPTION”POST /oauth/keys/trusted accepts only kty: "RSA" in v0.8.0. Cloud also supports kty: "EC" and kty: "OKP"; cyoda-go parity is tracked in a v0.8.1 follow-up.
SEE ALSO
Section titled “SEE ALSO”- errors
- errors.UNSUPPORTED_ALGORITHM
See also
Section titled “See also”cyoda help errors— Every error response from the Cyoda REST API carries a structurederrorCodein thepropertiesobject. Multiple codes may share the same HTTP status. Programmatic handling keys onerrorCode, not HTTP status.cyoda help errors UNSUPPORTED_ALGORITHM— cyoda-go v0.8.0 signs and verifies onlyRS256. Other enum values declared in the OpenAPI spec (RS384,RS512,PS256,PS384,PS512,ES256,ES384,ES512,EdDSA) are rejected with this error. Cyoda Cloud supports the full enum; parity is tracked in a v0.8.1 follow-up.
Raw formats
Section titled “Raw formats”/help/errors/unsupported_key_type.json— full descriptor (matchesGET /help/{topic}envelope)/help/errors/unsupported_key_type.md— body only