Skip to content

Commit

Permalink
Remove incorrect randomness claim from privacy considerations (w3c#482)
Browse files Browse the repository at this point in the history
* Remove incorrect randomness claim from privacy considerations

* Update spec/50-privacy.md

Co-authored-by: J. Kalyana Sundaram <kalyanaj@microsoft.com>

Co-authored-by: J. Kalyana Sundaram <kalyanaj@microsoft.com>
  • Loading branch information
dyladan and kalyanaj authored Jan 11, 2022
1 parent 0c3135d commit ecaed3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/50-privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Vendors MUST assess the risk of header abuse. This section provides some conside

## Privacy of traceparent field

The `traceparent` field is comprised of randomly-generated numbers. If a random number generator leverages any user identifiable information like IP address as seed state, this information may be exposed. Random number generators MUST NOT rely on any information that can potentially be user-identifiable.
The `traceparent` field MUST NOT contain any personally identifiable information. One way to achieve this is to randomly generate all trace IDs using a random number generator that does not expose any personally identifiable information. Any random number generator used for generating trace IDs MUST NOT rely on any information as input or seed state that can potentially be personally identifiable.

Another privacy risk of the `traceparent` field is the ability to correlate requests made as part of a single transaction. A downstream service may track and correlate two or more requests made in a single transaction and may make assumptions about the identity of the caller of a request based on information from another request.

Expand Down
6 changes: 3 additions & 3 deletions spec/60-trace-id-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ concerns](#privacy-considerations) of exposing unwanted information. Randomness
also allows tracing vendors to base sampling decisions on `trace-id` field value
and avoid propagating an additional sampling context.

As shown in the next section, it is important for `trace-id` to carry
"uniqueness" and "randomness" in the right part of the `trace-id`, for better
inter-operability with some existing systems.
As shown in the next section, if part of the `trace-id` is nonrandom,
it is important for the random part of the `trace-id` to be as far right in the
`trace-id` as possible for better inter-operability with some existing systems.

### Handling `trace-id` for compliant platforms with shorter internal identifiers

Expand Down

0 comments on commit ecaed3d

Please sign in to comment.