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 getter functions for LogEntry fields #147

Merged
merged 1 commit into from
Oct 21, 2022
Merged

Conversation

lkatalin
Copy link
Contributor

Signed-off-by: Lily Sturmann lsturman@redhat.com

Summary

I need to access some of these fields, and I think being able to do so would make sense.

@lkatalin
Copy link
Contributor Author

Related to #150

flavio
flavio previously approved these changes Oct 21, 2022
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.

Maybe we could simply make these fields public, to avoid having to write all these getters. This looks a bit Java style, but I have nothing against that

@lkatalin
Copy link
Contributor Author

Maybe we could simply make these fields public, to avoid having to write all these getters. This looks a bit Java style, but I have nothing against that

Thanks for the review! Either works for me. Sometimes I think the getters are more flexible, but in this case maybe you are right since the retrieval is so simple.

Signed-off-by: Lily Sturmann <lsturman@redhat.com>
@lkatalin
Copy link
Contributor Author

@flavio I rewrote it.

Copy link
Member

@lukehinds lukehinds left a comment

Choose a reason for hiding this comment

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

lgtm!

@lkatalin lkatalin merged commit 2084677 into sigstore:main Oct 21, 2022
flavio added a commit to flavio/sigstore-rs that referenced this pull request Nov 24, 2022
Fixes
=====

* Fix typo in cosign/mod.rs doc comment by @danbev in sigstore#148
* Fix typo in KeyPair trait doc comment by @danbev in sigstore#149
* Update cached requirement from 0.39.0 to 0.40.0 by @dependabot in sigstore#154
* Fix typos in PublicKeyVerifier doc comments by @danbev in sigstore#155
* Fix: CI error for auto deref by @Xynnn007 in sigstore#160
* Fix typo and grammar in signature_layers.rs by @danbev in sigstore#161
* Remove unused imports in examples/rekor by @danbev in sigstore#162
* Update link to verification example by @danbev in sigstore#156
* Fix typos in from_encrypted_pem doc comments by @danbev in sigstore#164
* Fix typos in doc comments by @danbev in sigstore#163
* Update path to fulcio-cert in verify example by @danbev in sigstore#168

Enhancements
============

* Add getter functions for LogEntry fields by @lkatalin in sigstore#147
* Add TreeSize alias to Rekor by @avery-blanchard in sigstore#151
* Updates for parsing hashedrekord LogEntry by @lkatalin in sigstore#152
* Add certificate based verification by @flavio in sigstore#159
* Add support for OCI Image signing (spec v1.0) by @Xynnn007 in sigstore#158
Contributors
============

* Avery Blanchard (@avery-blanchardmade)
* Daniel Bevenius (@danbev)
* Flavio Castelli (@flavio)
* Lily Sturmann (@lkatalin)
* Xynnn (@Xynnn007)

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio mentioned this pull request Nov 24, 2022
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.

3 participants