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

fix: make tags accessible to callers of signerootreader #18

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

robinbryce
Copy link
Contributor

A quirk of the interface for lazily reading the root seal blobs prevented the blob tags from being available to the caller of ReadLogicalContext.

This also now works consistently for all methods on the signed root reader which use this method internaly.

Rather than egregiously break an existing public interface, and also because it seems cleaner, we just save the last context read and provide a method to retrieve it if wanted.

The method to retrieve will error if the context hasn't been read at all.

AB#9570

A quirk of the interface for lazily reading the root seal blobs
prevented the blob tags from being available to the caller of
ReadLogicalContext.

This also now works consistently for all methods on the signed root
reader which use this method internaly.

Rather than egregiously break an existing public interface, and also
because it seems cleaner, we just save the last context read and provide
a method to retrieve it if wanted.

The method to retrieve will error if the context hasn't been read at
all.

AB#9570
@robinbryce robinbryce requested a review from honourfish June 4, 2024 09:20
@robinbryce robinbryce merged commit c09ee35 into main Jun 4, 2024
1 check passed
@robinbryce robinbryce deleted the dev/robin/9570-propagate-seal-tags branch June 4, 2024 10:00
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.

2 participants