Closed markon1 closed 8 years ago
Is your system clock in sync? You may have to use a synchronization service. However, this exact error is unexpected in that case. It may be related though.
Closing this due to lack of feedback.
I have this error. I synchronize system clock (Ubuntu) from Internet. I use command: jpm sign --api-key "user:***:**" --api-secret "****" Can you help me, please?
It's a bit tricky to debug. Can you confirm against some network time value that your clock is definitely in sync with it?
I solved my problem. My time with the Internet was different by a few seconds of Mozilla time. The signature is valid only for 15 seconds. It's a very little time and can cause problems, as for example with me. I set the time manually for a few seconds before and now it works. I propose in the future to add a possibility to manually set the expiry date.
It's not possible to allow manual configuration of the expiry because relying on a fixed value of time (i.e. network time) protects against certain attacks from people trying to break into your account. We can increase the leeway given to skewey clocks though https://github.com/mozilla/addons/issues/2418
I had the same problem. I checked my clock, and yes, it was out of sync. After sync (and re-generating the API key on https://addons.mozilla.org/de/developers/addon/api/key/ it worked.
I get this error when I try to sign my add-on: