Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share read write #247

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Share read write #247

wants to merge 2 commits into from

Conversation

flihp
Copy link
Collaborator

@flihp flihp commented Nov 14, 2024

More cleanup work, this time moving the code that exports / imports secrets like passwords & key shares into its own module. This is in anticipation of future work to support new I/O methods not the printer.

This refactor gets the code responsible for dumping secrets to the
printer out of the HSM module. Additionally this moves all code driving
user interaction out of the HSM module.

This commit also defines a new type for the Feldman Verifier. This is
useful for passing things around w/o having to specify a pile of
generics. This uncovered a bug on the `verify_shares` test case that
required we regenerate some test data.
This refactor gets the code responsible for importing secrets from the
user. This gets a significant amount of code driving interaction with
the user out of the `hsm` module and into one dedicated to the purpose.
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.

1 participant