mattrglobal / jwm

JSON Web Message (JWM) RFC
16 stars 6 forks source link

Disallow 'flattened' form of JWM? #47

Closed TelegramSam closed 4 years ago

TelegramSam commented 4 years ago

The compact form is useful for URL safe transfer, and the general form is useful for multi-recipient messages. The flattened form falls in an odd gap between these, offering neither of those advantages. Can JWM disallow this form?

tplooker commented 4 years ago

Agreed, there is marginal utility in supporting the flattened form of JWS and JWE.

kdenhartog commented 4 years ago

Only reason I've seen this used is if people want to stick with JSON structures (for typing simplicity likely) while supporting single recipients. I'm good with removing this as well.