-
Notifications
You must be signed in to change notification settings - Fork 165
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
Enable parsing of incomplete minisign keys, to enable re-indexing. #567
Conversation
b01c7b5
to
f1e3105
Compare
if err != nil { | ||
t.Errorf("%v: cannot open %v", tc.caseDesc, tc.inputFile) | ||
} | ||
t.Run(tc.caseDesc, func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to add more test cases in the tests slice above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or do we cover all added new functionality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reorganized the tests a bit and added one more case!
f1e3105
to
7f88017
Compare
7f88017
to
ba5a5b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix looks fine, not sure we want to merge cover.out
file though
ba5a5b6
to
687f838
Compare
Without this we can't properly re-run IndexKeys() on the log data because old minisign keys were stripped to no longer contain the KeyID or Algorithm field. Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
687f838
to
5cb0be9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@bobcallaway merging the cover.out file is not necessart if we add gocoveralls or other coverage tooling to our CI pipeline. |
Without this we can't properly re-run IndexKeys() on the log data because old minisign
keys were stripped to no longer contain the KeyID or Algorithm field.
Signed-off-by: Dan Lorenc lorenc.d@gmail.com
Summary
Ticket Link
Fixes
Release Note