paseto-standard / paseto-rfc

Towards an IETF RFC draft for PASETO
Other
26 stars 1 forks source link

Payload Compression #1

Closed panva closed 2 years ago

panva commented 2 years ago

I think it would be useful if payload compression was possible with e.g. using a c suffix (v1c.[purpose].).

One compression algorithm (raw inflate/deflate, brotli, gzip) would be used?

Payload processing for these versions would change to

or

This is technically possible today if a library exposes a raw payload construct but this approach lacks negotioation between the issuer and recipient that compression is used.

panva commented 2 years ago

https://github.com/paseto-standard/paseto-spec/issues/3

These repos are confusing.