1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-10-29 15:02:30 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Alberto Bertogli e417d67f7c chasquid: Return error on inaccessible private key file
In commit 3f9d0c0762, we added a new possible private file. If the file
exists but there's an error reading it (common for permission issues),
currently we just move on to the next file, and if it doesn't exist we
may give up with that error.

That can "hide" the access problems making them harder to debug.

To help with those kinds of errors, this patch updates the logic to
return an error if a private key exists but is inaccessible.

It also adds an unit test for this function to cover the different
scenarios, and updates the docs to match.
2026-09-27 20:47:56 +01:00
Alberto Bertogli b1a29d8194 etc: Mention certificate requirements in the documentation
chasquid needs at least one certificate in order to start, to prevent
accidental misconfigurations.

This patch documents this in etc/chasquid/README, and while at it fixes
a minor terminology issue.

Thanks to Martin Ferrari for the bug report!
2016-11-22 20:43:07 +00:00
Alberto Bertogli cf2b8ade65 etc: Add a skeleton configuration structure
This patch adds an "etc" directory, with a basic configuration structure
that can be used for an initial installation.
2016-11-01 23:56:04 +00:00