I've made some releases to Maven central for my project over the years, using Travis-CI. The last release was 2 months ago, and I proceeded as I usually did.
But today, for some reason, I am getting this error, while I didn't change anything in my setup :
"gpg: no default secret key: unusable secret key"
After some research, I realized my key had expired.. so I found few resources that explained how to update the expiry date. I followed and pushed the date by 2 years, and now on my machine, I have this when I list the keys, so it looks OK :
Then, I publish the key and don't get any error message (so I assume it goes well) :
Finally, I trigger my failing travis-ci build again, but I keep having the same error.
I added a few commands before the actual deployment to get more information - indeed, my key is still seen as expired :
What else can I try to check my updated key is properly published, and that Travis-ci gets it?