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

remove warning when checking if delegation certs have expired #1263

Merged
merged 1 commit into from
Nov 20, 2017
Merged

remove warning when checking if delegation certs have expired #1263

merged 1 commit into from
Nov 20, 2017

Conversation

eiais
Copy link
Contributor

@eiais eiais commented Nov 14, 2017

Signed-off-by: Kyle Spiers [email protected]

@eiais
Copy link
Contributor Author

eiais commented Nov 14, 2017

CC @riyazdf @endophage

tuf/tuf.go Outdated
return err
}
logrus.Warnf("error with delegation %s key ID %d: %s", delgRole.Name, keyID, err)
if err := utils.ValidateCertificate(certFromKey, false); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add a comment about why the false value is ok here?

Can be something like: do not check delegation certificate expiry once accepted, use the TUF role expiry instead

Copy link
Contributor

@riyazdf riyazdf left a comment

Choose a reason for hiding this comment

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

one nit but otherwise this looks great! Thanks @eiais

Copy link
Contributor

@riyazdf riyazdf left a comment

Choose a reason for hiding this comment

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

LGTM

@endophage
Copy link
Contributor

LGTM

@endophage endophage merged commit a41821f into notaryproject:master Nov 20, 2017
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