feat: use nym hash as probe_id for use on clients#22
Conversation
Remove duplicated files? Not clear how they got here.
Hash the nyms before exposing them to the application layer, to limit the leak of DDH tuples in the open database.
mmaker
left a comment
There was a problem hiding this comment.
can we rely on the object-oriented function approach?
Thanks! I reverted the changes to using object-oriented approach for the I also added this setter function: https://github.com/ooni/userauth/pull/22/changes#diff-c0b83d506440f65511f38f3ff8e8aeb659d2c7b04e400762950d2eac92f1146aR84, to set the stored credential from the clients before we make the rust function calls. Do you think this is good or a better way is to store the entire |
|
Another question would be, with the Or maybe extract away the entire nym processing and hashing to a dedicated function here and use it off the plate in the client? |
This diff allows us to expose the nym hash as the
probe_idto be used for stamping ooni measurements. We also cleanup the redundant code we had for exposing stateless functions for client integration.