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

Update create_log_entry example to create key pair. #206

Merged
merged 2 commits into from
May 30, 2023

Conversation

jvanz
Copy link
Contributor

@jvanz jvanz commented Feb 1, 2023

Summary

Updates the example program create_log_entry to create the key pair used to sign and upload the data file into the Rekor transparency log. Therefore, the users do not need to create the files and generate the hashes required to create an transparency log entry.

Fix #104

examples/rekor/create_log_entry/main.rs Outdated Show resolved Hide resolved
Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

overall ok, I left some minor comments

examples/rekor/create_log_entry/main.rs Outdated Show resolved Hide resolved
examples/rekor/create_log_entry/main.rs Outdated Show resolved Hide resolved
examples/rekor/create_log_entry/main.rs Outdated Show resolved Hide resolved
examples/rekor/create_log_entry/main.rs Outdated Show resolved Hide resolved
@jvanz jvanz requested a review from flavio May 16, 2023 19:36
Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

LGTM, there's just one final comment to be fixed

examples/rekor/create_log_entry/main.rs Outdated Show resolved Hide resolved
@jvanz jvanz requested a review from flavio May 26, 2023 20:14
flavio
flavio previously approved these changes May 30, 2023
Updates the example program create_log_entry to create the key pair used
to sign and upload the data file into the Rekor transparency log.
Therefore, the users do not need to create the files and generate the
hashes required to create an transparency log entry.

Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
@flavio
Copy link
Member

flavio commented May 30, 2023

@jvanz I did a force push to fix a rebase conflict

flavio
flavio previously approved these changes May 30, 2023
viccuad
viccuad previously approved these changes May 30, 2023
Copy link
Collaborator

@viccuad viccuad left a comment

Choose a reason for hiding this comment

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

LGTM!

Address some typos inside of the comments

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio dismissed stale reviews from viccuad and themself via 0c8d309 May 30, 2023 08:06
@flavio
Copy link
Member

flavio commented May 30, 2023

@viccuad can you please approve again? I fixed the 2 typos you reported

Copy link
Collaborator

@viccuad viccuad left a comment

Choose a reason for hiding this comment

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

approved!

@flavio flavio merged commit b44caee into sigstore:main May 30, 2023
@jvanz jvanz deleted the issue104 branch May 31, 2023 13:36
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.

Fix error in create_log_entry example
3 participants