Skip to content

fix(ooniauth-core): salt probe-id hash computation.#38

Open
mmaker wants to merge 2 commits into
mainfrom
mu/salt-probe-id
Open

fix(ooniauth-core): salt probe-id hash computation.#38
mmaker wants to merge 2 commits into
mainfrom
mu/salt-probe-id

Conversation

@mmaker
Copy link
Copy Markdown
Collaborator

@mmaker mmaker commented May 12, 2026

Today, probe_id is just SHA-256 over only the compressed NYM. This commit changes the way it's computed: it is now the SHA-256 over the userauth v1 salt plus the compressed NYM.

Today, probe_id is just SHA-256 over only the compressed NYM.
This commit changes the way it's computed: it is now the SHA-256 over the userauth v1 salt plus the compressed NYM.
@DecFox
Copy link
Copy Markdown
Contributor

DecFox commented May 13, 2026

Can we make the digest_point function public here to be used in the client? We maintain a similar function to allow the apps to get the probe_id and stamp it onto the measurements. I think it's redundant to have it there since they can easily get out of sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants