mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- When there is an error writing to certificate files, the umask is not reset properly. Fix this my using umask context manager from action utils. This could be core reason behind: #2564. Tests: - Changing the domain name creates the file /var/lib/quassel/quasselCert.pem with the proper permissions of 0o600. If in Quassel app's Let's Encrypt component the certificate file path is changed, then two files are created on domain name change. Private key is created with 0o600 permissions and certificate file is created with 0o644 permissions. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>