x5chain header handling, some fixes + version bump#17
Open
Conversation
Add DAP (Debug Adapter Protocol) config file to .gitignore. Signed-off-by: setrofim <setrofim@gmail.com>
Add a KeyStore implementation that builds a KeyEntry from the key extracted form the certificates in the x5chain COSE header of the signed CoRIM. Signed-off-by: setrofim <setrofim@gmail.com>
Use profile-aware CoRIM unmarshalling methods inside AddBytes and VerifyAndAddBytes. This will ensure the CoRIMs are fully validated before they are added. Signed-off-by: setrofim <setrofim@gmail.com>
Fix exact environment matching when composite entries or class sub-queries are used. When exact matching is specified, EnvironmentQuery will add "<field> == NULL" for every environment field not set in the query. However, if a class sub-query or a composite type/bytes ID entry exists, it will specify a non-NULL values for at least one of the fields. This will result in effective (<field> == NULL && <field> == <not NULL>) being in the final query, ensuring it will never match. To get around that, only handle exact matching for fields inside EnvironmentQuery if there are no class sub-queries or composite entries affecting that field. Signed-off-by: setrofim <setrofim@gmail.com>
Correct the alias vte --> kte. This was a copy-and-paste error from value_triple_entry. (Note: since aliases are only used in select queries and the two views are never joined, this clash would not actually cause a problem, but it's mildly confusing while debugging.) Signed-off-by: setrofim <setrofim@gmail.com>
Signed-off-by: setrofim <setrofim@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
x5chainCOSE header.key_triple_entriesview alias..gitignore.