w3c / baggage

Propagation format for distributed context: Baggage
https://w3c.github.io/baggage/
Other
48 stars 18 forks source link

Security and encryption considerations #12

Closed remitly-srivatsa closed 3 years ago

remitly-srivatsa commented 5 years ago

The human readable requirement in this spec introduces security, privacy (PII etc.) considerations that should be called out.

For example, JWT provides an approach to communicate JSON based payload data usually via HTTP headers. And it also provides additional optional benefits such as signatures and encryption. Also, ID Token is a means of encapsulating user identity in JWT Tokens.

Some information conveyed through contexts may either be sensitive or may be susceptible to tampering. It would be great to either:

yurishkuro commented 5 years ago

+1 to call it as out of scope. Not because this question is not important, but because this whole paradigm of passing application-specific data as baggage in all the requests is a pretty new concept, and I feel it's premature to be locking down how values must be interpreted or represented.

danielkhan commented 3 years ago

We will provide PII/privacy/security wording to the spec but won't enforce a specific mechanism within the header.