-
Notifications
You must be signed in to change notification settings - Fork 312
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
SIGSEGV on tiup mirror renew with expired repo #2398
Comments
This is coming from tiup/pkg/repository/v1manifest/types.go Line 174 in 48f15f4
Maybe there is something wrong with the manifest and it is also not validated correctly. |
A failed attempt at reproducing this:
|
Most likely it fails because you don't have a private key to sign the repo. I have my own private key for signing and custom components singed by this key. Moreover, it fails with sigsegv only with expired signature |
Does the manifest for the component have a key with Like this:
If it can't work because of not having the right private key then it should report something like |
Ok, I now get what's happening: For the component it calls Then it checks if the error is caused by expiration via However the manifest that |
Bug Report
Please answer these questions before submitting your issue. Thanks!
I have my own custom tiup local repository.
Apparently, it expired and I wanted to renew a component.
Successful component renew
tiup --version
)?The text was updated successfully, but these errors were encountered: