dvsekhvalnov / jose-jwt

Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and Json Web Keys (JWK) Implementation for .NET and .NET Core
MIT License
917 stars 183 forks source link

Please support the creation of "Flattened JWS JSON Serialization Syntax" #215

Open RufusJWB opened 1 year ago

RufusJWB commented 1 year ago

Please add the support for "Flattened JWS JSON Serialization Syntax" according https://www.rfc-editor.org/rfc/rfc7515#section-7.2.2 . My use case is to write a ACME client in c# and the ACME RFC requires the use of "Flattened JWS JSON Serialization Syntax" (https://www.rfc-editor.org/rfc/rfc8555.html#section-6.2).

dvsekhvalnov commented 1 year ago

Related generic JWS JSON support https://github.com/dvsekhvalnov/jose-jwt/issues/171

dvsekhvalnov commented 1 year ago

Well, long one honestly :) JWE JSON took quite several months.

RufusJWB commented 1 year ago

Understood regarding JWS. Within the JWE RFC, you are currently only supporting JWE Compact Serialization, correct? Would you be willing to support JWE JSON Serialization?

dvsekhvalnov commented 1 year ago

It is supported: https://github.com/dvsekhvalnov/jose-jwt#jwe-json-serialization-support-rfc-7516

jsyrjala commented 7 months ago

That is RFC-7516, JSON serialization of JWE. Is RFC-7515, JSON serialization JWS also supported? I am looking for just signing documents, without encryption.

https://www.rfc-editor.org/rfc/rfc7515.html#page-21

dvsekhvalnov commented 7 months ago

Hi @jsyrjala, RFC-7515 is not supported.