Skip to content

Switch to real hasher#35

Merged
jeremyestein merged 24 commits intodevfrom
jeremy/real-hashing
Feb 5, 2026
Merged

Switch to real hasher#35
jeremyestein merged 24 commits intodevfrom
jeremy/real-hashing

Conversation

@jeremyestein
Copy link
Collaborator

@jeremyestein jeremyestein commented Jan 23, 2026

Fixes most of #6

The core of this change is in src/pseudon/hashing.py: it now points to the real hasher HTTP service instead of doing its own toy hash.

I decided to use the full length hashes provided to avoid weakening the security, although they are rather long and we might have to monitor how much disk space that takes up.

Some config was needed to get the hasher working in Github Actions. There is also some code to aid debugging (printing hasher logs etc).

The dev key vault works and I have created the one-off secret that it needs. Dev key vault creds are in the secrets store for this repo and referenced in the Actions workflow.

@jeremyestein jeremyestein linked an issue Jan 23, 2026 that may be closed by this pull request
5 tasks
This was referenced Jan 23, 2026
Base automatically changed from jeremy/pipeline to dev January 27, 2026 17:45
@jeremyestein jeremyestein changed the base branch from dev to jeremy/write-hashes January 30, 2026 15:47
@jeremyestein jeremyestein marked this pull request as ready for review February 4, 2026 16:03
Base automatically changed from jeremy/write-hashes to dev February 5, 2026 12:40
Copy link
Collaborator

@thompson318 thompson318 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for me, producing the correct hashes in testing. Instructions to set up the hasher were straightforward and clear.
Found 1 bad link to fix before merge.

Co-authored-by: Stephen Thompson <s.thompson@ucl.ac.uk>
@jeremyestein jeremyestein merged commit 94d8d31 into dev Feb 5, 2026
2 checks passed
@jeremyestein jeremyestein deleted the jeremy/real-hashing branch February 5, 2026 15:09
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.

Deidentification

2 participants