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

Add client enroll #7

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

Add client enroll #7

wants to merge 2 commits into from

Conversation

SantiagoTorres
Copy link
Contributor

I added this as somewhat of a template on how to support client/server under the redactable SBOM mode. I fiddled a bit on how the user object is kept right now, as I don't think it's wise to keep the public_key as an in-memory object (e.g., to avoid by-reference comparisons etc).

The current implementation doesn't allow for a livesystem to carry out
the exchange flow. Add a small flask instance that leans on the
lib/redactor module to host this long-living process. We use HTTP for
simplicity.

Also, to simplify things, I added a target to run the server under make.
I updated some dependencies to ensure things weren't broken
To simplify the enrollment process, I added a small cli tool to enroll a
certificate in the long living service. It's using a hardcoded url.

This was tested using the certificates now held under tests/data/certs
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