mosquitto icon indicating copy to clipboard operation
mosquitto copied to clipboard

t/Makefile: Generate test certs if not present in sources

Open rzr opened this issue 10 months ago • 1 comments

Since generated keys have expiration date, it means that the tests are not reproductible over time. Integrator may be tempted to not rely on upstream files and generate them on the fly at built time.

This change was motivated for maintenance of 2.0.11 in Debian 12 (stable).

I noticed that upstream regerated certs in master branch since, but still they will expire in future.

Relate-to: https://salsa.debian.org/debian-iot-team/mosquitto/-/merge_requests/21

Thank you for contributing your time to the Mosquitto project!

Before you go any further, please note that we cannot accept contributions if you haven't signed the Eclipse Contributor Agreement. If you aren't able to do that, or just don't want to, please describe your bug fix/feature change in an issue. For simple bug fixes it is can be just as easy for us to be told about the problem and then go fix it directly.

Then please check the following list of things we ask for in your pull request:

  • [x] Have you signed the Eclipse Contributor Agreement, using the same email address as you used in your commits?
  • [x] Do each of your commits have a "Signed-off-by" line, with the correct email address? Use "git commit -s" to generate this line for you.
  • [x] If you are contributing a new feature, is your work based off the develop branch?
  • [x] If you are contributing a bugfix, is your work based off the fixes branch?
  • [x] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [x] Have you successfully run make test with your changes locally?

rzr avatar Mar 11 '25 23:03 rzr

For the record this patch has been published in debian with:

https://tracker.debian.org/news/1647711/accepted-mosquitto-2011-12deb12u2-source-into-proposed-updates/

BTW Please @ralight in debian chapter of https://mosquitto.org/download/ can you place a link to https://tracker.debian.org/pkg/mosquitto on "Mosquitto is now in Debian" text.

rzr avatar Jun 03 '25 07:06 rzr

Thank you, and I've added the link to the page source - it'll be included on the next release

ralight avatar Jul 11 '25 13:07 ralight