581 Commits

Author SHA1 Message Date
James Valleroy
e5a3d8c91e freedombox Debian release 25.3.1
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmexJlMWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICIFYEACtRxF+0q5SgsZ11qrs4GYjYLXY
 IFNWpsbIthjbrhcBaHMcsBwxVKBccah1X/8tPVHeSvcE+kzIxDE1126i/r6Jl1Lh
 7uc9QTwo6wtSl0wPEvk5Uop0Yn/P08HJHmumpFgA9/Q5zLZPuM7hx8fnO+RKFJ8g
 r8wJPWa69yzLEJ0k1xUAQPG89PxUGr2L9QMfahRkvOb1Kq/7fLxTR00jDp7XmRi6
 xVFLZbem3cLpu0pMOxMUu/M7RVTvWnDeQz2gSm3SEycaaMz9OSWB1zNgy6nHxcZn
 uvD8Qxcb4AVRMoC9SeSSJP/Z1COkd8r2SrGvJp4eXkjumPqBWwcyNixh9hCEOr63
 k9lLf6lY8Q8llBm9693f2FSpYAHOplyAg5TVmmWtRSvDEU7jP/HGj4XVor7nu+jj
 YyDeeXekX0RJID1FaUa5rPQMxUjieJxBkdNDlGqlBtraCwpTO1lbOBFUbW1X48Oc
 Qa9xaYcppKewPrbgNPqiUdmJR2T1DZZ/fq212yvhIn9XW1qZ53DRwAyfulCeFNo1
 7pguleAqt0dVQx71nioVOzzFoeFvxcYKaLtKwBAVHtRg9AyKgaqtCq+z+GvHdbe/
 /tOVPB1cqD2rzlq3VnKRo5iqSaZQcK3iuObkdsRARkgGBOGxYGhGiL+ooCpl6Mg3
 Zmj5B2+xKqrzY3pqKQ==
 =+eVH
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAme0i9sWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICGPxD/47xGPCbl3GGgCXhyLEhsWGd4x8
 3KF8X6sSDitp6IrzzgLelSNxevTc5zWuRGLoQZ8AxZJJitPAJugLzMjFmLIqWym4
 5sP/BtAAXc0UoBw765+0InQZ/tCeeo46c3lfP+ezIm8hcSXDPlttvDzFV/rfP02K
 LpIVLw5gXG8h8oNosok6WIXJa/TthkCw7pDHoSMr/KRGzhCguVVYDSqtIJoVbV0C
 j3EG8P3qsh3UPYMBtxmURwJGOvD9v/Mg+UB3rhNbzJ1LwKwGoPCbR7aEmLTF8slJ
 Ihkhl/35EaICB2sRPimpuqi2E0qkqTcdigHo7q3OLvjehCIHIhPyOieoeMWEtR+6
 vi1jjDEuNHvZLvAIVCbvbqZeTYd9CimSSF7S94MyDDXrf/xBnHbeYKb7B29xMYg3
 dQyKTK0mxBAxfFeaSeGdpP7FI9bs4QZ7m4gQYGG4EkBHop5/1l45UDFRJuOhgCJ/
 bmcqW9JXEazhHMOqJ7EqnNcu8hi6iIGAOW1TGdMZbeDM9Cj+H26nwYN8ahnh3u9m
 iabpwuNNA8B34jh3Wm4QMIa98mGtNd6asmy11B1u/VUohbf4POyOEW0BwPeSLdre
 dQyG0MtsQD9g0vtks18j+2TqHlNW1tFB33IwVwYlm3n6JAIK5DM2bQu6cgpRD/V0
 LAKp1POz/Pe2N6/79w==
 =t9aP
 -----END PGP SIGNATURE-----

Merge tag 'v25.3.1' into debian/bookworm-backports

freedombox Debian release 25.3.1

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-02-18 08:32:09 -05:00
James Valleroy
6d2f992a42
Release v25.3.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-02-15 17:59:27 -05:00
James Valleroy
e8f8e69143
Release v25.3 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-02-10 20:59:56 -05:00
James Valleroy
cc70075572
debian: Switch from dnsutils to bind9-dnsutils
dnsutils package is not available anymore.

Closes: #1094944

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2025-02-03 09:45:52 +05:30
James Valleroy
23d6096d37
Release v25.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-27 21:32:02 -05:00
Benedek Nagy
6887c960fe
sogo: Add a new app for SOGo groupware
SOGo is an open source webmail client and groupware available in Debian.
Make a new FreedomBox app for it to be used with the local
Postfix/Dovecot email server.

SOGo requires a database to store events/tasks as well as user settings. Memcached
is also required for caching.

Users log in with their username (as opposed to username + domain on
Roundcube). The host header seen from the first login will be
associated with the user profile. So, if a user logs into SOGo from
freedombox.local and later configures the email server to use
example.com, they will manually have to edit their account(s) to show
the updated domain.

Authentication is done via openldap. It is possible to authenticate with
apache, however it is limited to http basic auth, so mod_auth_tkt cannot
be used. See: b40d777a86/SoObjects/SOGo/SOGoProxyAuthenticator.m (L137)
Configuring http basic auth in my opinion wouldn't add much to
the user experience. It would actually take away the usage of SOGO's built
in TOTP feature.

SOGo only accepts configurations from /etc/sogo/sogo.conf, other configs
from sogo.d don't get recognised.

Use the sogo icon from upstream source. Update sogo.png and sogo.svg to be the
same image (but resized) that is provided in the upstream source. The previous
image was download from Wikimedia Commons.

Update smtp settings so that messages can be sent

Test result for mail deliverability sent with SOGo: https://www.mail-tester.com/test-pdf2yzy6n

The result shows that the message is not DKIM signed. This seems to be
an issue not specific to SOGo. Mails sent from Thunderbird don't get
signed either.

Tests:
- Install app and log in with a FreedomBox user. Create a new event
  titled "Lunch with 🍕 and fries". Confirm the pizza character displays properly.
- Backup the app and uninstall it.
- Restore from the backup, log in and confirm the event gets restored.

To-do:
- test ActiveSync
- create a fail2ban jail
- include the icons in the copyright file
- test sending email in a production setup
- test sieve filters
- write tests

https://salsa.debian.org/freedombox-team/freedombox/-/issues/56

[Sunil]

- App:

  - Update icons to be uniform size as all other apps and copyright information.

  - Since SOGo is not configured to trust the authentication from Apache, it
  does not require FirewallLocalProtection. Remove it.

  - Expand app description. Talk about Email Server app.

  - Update to match recent tags related changes.

  - Make memcached a shared daemon as other processes might use it.

  - Added shared daemon for PostgreSQL.

  - Don't start services when rerunning setup if the app is currently disabled.

  - Don't restart memcached during a restore operation.

- Security:

  - Add system security restrictions to the daemon.

  - Don't use fail2ban jail. SOGo has a mechanism to lock users for a few
  minutes. Use that instead.

- Apache:

  - Make /.well-known URLs work by moving their definitions to global section.

  - Remove old (<2.4) Apache authorization keywords.

  - Simplify, indentation, new line at EOF.

- Manifest:

  - Add more tags.

  - Add SOGo connector, DAVx5, and GNOME Calendar to list of clients.

  - Add 'sogo' to list of service to bring down during backup/restore.

- Privileged:

  - Switch from MySQL to PostgreSQL as it is recommended by SOGo.

  - Use existing utility to generate database password.

  - Use plget and plmerge utilities from gnustep-common package to parse/edit
  the configuration instead of augeas which don't have a dedicated lens.

  - Don't reset the domain when rerunning setup.

  - Ensure that the configuration file has proper ownership and permissions even
  when it did not exist previously.

  - Add typing information for most methods.

  - Remove configuration file after uninstall.

- Configuration:

  - Define database URLs for all seven database tables.

  - Set calendar default roles as suggested in the installation guide.

  - Refresh view automatically every minute to check for new mail.

  - Use the mechanism to lock account after failed login attempts.

  - Add folder name for Junk folder too explicitly.

- Tests: Add basic functional tests.

Tests:

- Functional tests work.

- Rerunning setup does not change the domain back to the primary domain of the
email server.

- Login works. Sending mail and reading mail works. Creating calendar events and
contact works.

- Changing the domain sets the domain value properly in the configuration file.
Configured domain is shown properly on the form.

- Backup and restore work as expected.

- When configuration file is removed and setup is re-run, then the file is
created with proper ownership and permissions.

- 'systemd-analyze security sogo.service' shows a good score.

Signed-off-by: Benedek Nagy <contact@nbenedek.me>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-26 10:50:28 -05:00
Sunil Mohan Adapa
585c48bf8a
d/copyright: Fix copyright entry for GNOME app icons
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2025-01-24 15:50:09 -08:00
Sunil Mohan Adapa
0cb9e2ef0d
d/control: Fix incorrect comment format
Tests:

- Building the package works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2025-01-24 15:29:44 -08:00
Sunil Mohan Adapa
54b956c602
ui: Drop the temporary fix for missing popper.js 2.0
- Latest version of libjs-bootstrap5 depends on
node-popper2. However, version in Debian bookworm still continue to have
incorrect dependency. So, add explicit dependency on node-popper2 until we stop
supporting Bookworm.

Tests:

- In stable and testing VMs, install node-popper2 and notices that the following
work as expected:
  - User menu dropdown in desktop and mobile layouts.
  - Help menu dropdown in desktop and mobile layouts.
  - Notification dropdown.
  - App extra actions dropdown.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2025-01-24 11:20:16 +02:00
James Valleroy
2157c29edc
Release v25.1~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-16 07:39:44 -05:00
James Valleroy
9ac4384135 freedombox Debian release 25.1
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmeGbKUWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICFoIEADSD7hiSjyG6O3Z3enPfoO8h4Y8
 /8rHbe1Is2f+cbSgYaG1gAUYSKvwOYuAniEoHQTxZ9y6ybSX6QtlRezKI8LRKLww
 oszHI+F8G+/jwkLL0r6RiAYzxAOLdL/mPLubR70g/ykKJRc9sxZbtWUWddD+0Lqy
 Udl2jv5gcJNDEsVWbWfUalmxcsV+2h5UGAvh+A+6AVe3vCwwO7uijCKOx50YuQbS
 ODnm2btr40Z4g0zA3nzn3EHq83MJPjjIuxB8UliakmMuGNdctGheQVBXpRY9jfT9
 bsJ475BqbvHZ+SnXPUyt/NjARJyAkmP1XL3W1XZCDtoaGh/7Qmc7Pg4XAVe+7wQ0
 Z2ESDwANSDbXOAdqAINXIvrHTiRD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usLa3WwsZeA
 YpVxsN+Vo/fqo9m7VCSwV1fmkr6kfamFQAfd1Mj0OldTSROI2vwnCcBgckmGBNzN
 VpKuNDfRl+afaOIXQQ==
 =pmJP
 -----END PGP SIGNATURE-----

Merge tag 'v25.1' into debian/bookworm-backports

freedombox Debian release 25.1

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-16 07:38:25 -05:00
Sunil Mohan Adapa
837ed09dc3
gnome: Add app to provide a graphical desktop environment
- This app is useful for people who can connect a monitor, a keyboard, and a
mouse to their FreedomBox.

- Later this app allow a headless FreedomBox to be used as a remote desktop
server. Users will be able to connect and access desktop applications from LAN
or WAN.

- No functional tests as they will likely fail in CI and container setups.

Tests:

- In a VM, install the app. Installation succeeds.

- Disabling the app makes systemd switch to multi-user.target shutting down any
service that any mean for GUI such as gnome-remote-desktop.service. Graphical
login is not shown on the VM's virtual monitor.

- Enabling the app make systemd switch to graphical.target and all the services
are started again. Graphical login is shown on the VM's virtual monitor.

- Login to desktop using VM's graphical terminal works. Settings, apps, browser
etc. work.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2025-01-15 17:56:16 +02:00
James Valleroy
62e5689c70
Release v25.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-13 21:40:03 -05:00
James Valleroy
8cc9ad192f
Release v24.26.1~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-10 17:42:34 -05:00
James Valleroy
ec0ba5df3c freedombox Debian release 24.26.1
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmd6xmAWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICAjSEADUIDUnqu6/HKryq8KrYgOYmi05
 i1aye65HSzrr+1QyUKenB1lQ2ttgqF/5VbdNoN89W67GZvTnYw22d40C1Dx1wXt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vO4nm4A4kB6wT3DymGCGHg/fFIVYeuuvG/fUdXdV/83FeLzZ7xE
 U2aW5ZeOBE8Wcn4gy/TrSDFkVVsdbK3VWUCDH7sidnB4X8jCOY2lWCBjyckMkGjf
 dp2WACfjJrzqpQtJF2Osu38qbmHy/EBv67cKZoFIRDXdd3feJv84vzSnYLG6SQLT
 YFpFyEDyHBWNNwmYi//7Lk67IB/NS2nWEms5aAX6X7YLqYZ/DGYfBzsi0rEwBF9X
 Xi+dqZzSFwwLMbraVHjMs8N8w9juaFzhm9TD9gRo+L4AZGudARWjF6hpL80A6jPK
 8zGP2aFIGMaOODDwoBb5mNcN0GNLUCbQrI1P60UH1NFo0XqDuMPrqODSwIL/WnzM
 M5GyCqM4ixgf1Qq5yg==
 =G0IP
 -----END PGP SIGNATURE-----

Merge tag 'v24.26.1' into debian/bookworm-backports

freedombox Debian release 24.26.1

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-10 17:42:05 -05:00
James Valleroy
6f1d97e009
Release v24.26.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2025-01-05 12:17:24 -05:00
James Valleroy
18d2249043
Release v24.26 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-30 20:49:26 -05:00
Joseph Nuthalapati
a54a29f009
debian: Remove dependency libjs-jquery
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-12-29 14:15:07 -08:00
Sunil Mohan Adapa
c2007d0f6d
backups: Fix issue with verifying SSH hosts with RSA key
- In current stable and testing, verifying SSH remote hosts using RSA is not
working. After selecting the verified RSA fingerprint, paramiko fails to connect

- A change introduced in paramiko 2.9 lead to failures when connecting to hosts
that have a verified RSA host key[1][2][3]. To fix the issue,
disabled_algorithms must be used to drop some of the other algorithms supported
by the server to force paramiko behavior. A better solution to the problem was
introduced in paramiko 3.2. Both these solutions require careful update to the
code. Considering the utility paramiko provides, the regression annoyance,
effort required for this fix, and the security implications (it is an completely
independent SSH implementation), the library does not seem to be worth the
effort in our case.

- Switch to using sshpass command line utility instead of paramiko library. The
only reason to use paramiko seems that 'ssh' command by default does not allow
us to input password easily while paramiko does.

- Another place where paramiko is being used is to check if a host is already
verified in the known_hosts file. This has been trivially replaced with
'ssh-keygen -F'.

- Exit codes provided by sshpass can replace the specific exception raised by
paramiko.

Links:

1) https://www.paramiko.org/changelog.html
2) https://github.com/paramiko/paramiko/issues/2017
3) https://github.com/paramiko/paramiko/issues/1984

Tests:

- Add a remote backup repository with and without encryption.

- Add remote backup repository with all three types of algorithms.

- Add a remote repository again with wrong password. Authentication error is
properly shown.

- Add a remote backup repository and remove it. Host remains verified. Add a
repository again.

- Add a remote backup repository and remove it. Host remains verified. Change
the fingerprint the /var/lib/plinth/.ssh/known_hosts file. Add a repository
again. A proper error is shown that remote host could not be verified.

- Add a remote backup repository and remove it. Host remains verified. Stop SSH
server on the remote host. A generic error is shown that ssh command on remote
host failed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-29 14:01:04 -05:00
James Valleroy
7fc288a2d1
Release v24.25~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-19 07:33:46 -05:00
James Valleroy
561d43d61f freedombox Debian release 24.25
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmdg7jgWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICKLqEACU/BYpXt9WrO4S7vKAlIU44t+H
 NZRD1RYzjWwGyPGELXwPFl5gFnP9RGyRwmpbM4Z96cWSEVN0rXsDWRUxgXXHXN0e
 0bMJGXvwBj6DeXmeKaUZDlHfRfvl8UDOdmmC6DZ5gb2Tb5cCB4od/VTUxyBbN8W/
 +bcpkKo3/7qnYTKZkjY5rs2zvUqTctNs8CK6yr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oGWqQKhAnyuuCKxWwLaq46/XLta6FN
 Zin6O7kaZrwDPihRC3dMIxEJ6I3dZnWZd4BrSZwKPzh3Sksl0WRMTaFf6aqUhWrq
 +ven3zUBkUnSDHR8VquxcRZRmLEs3heJEILeeeHQAebIpPhcXlzi3aPOKT9XaLj2
 0Q5mWY6KIcmzxrR5G9fQyDtV2Gs9hlgVY0Dy0Kq0ptjM63vfy4zNPmPsidvKvITl
 nCZGGOyqq0Y/aGh6pOEKsHBGwXrWPgfwDZcLsFs20MsZO91Ff0WzJHQG8/ZmFZEf
 AXOn/YCM+kqa5gLA9Q==
 =0LIo
 -----END PGP SIGNATURE-----

Merge tag 'v24.25' into debian/bookworm-backports

freedombox Debian release 24.25

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-19 07:32:47 -05:00
James Valleroy
5062cb2585
Release v24.25 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-16 21:44:38 -05:00
Sunil Mohan Adapa
e523a83f1a
i2p: Drop app as it has not been available in Debian for a while
Closes: #1528.
Closes: #2041.
Closes: #2438.

- In Bullseye and Bookworm the app is not available.

- i2pd (written is C++) is available in Debian, but it is not a drop-in
replacement for i2p. First, it is only a client. Then has a differently
philosophy of not integrating apps inside it and let outside apps connect to it.
If i2pd is ever added to FreedomBox, it has to be added as a new app with no
possibility of migration from an unlikely old setups.

- Updated wiki pages to remove references to I2P.

Tests:

- Looked for all string references to 'i2p'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-16 21:09:40 -05:00
Sunil Mohan Adapa
11aa36f6ca
d/control: Drop unnecessary recommendations
- These tools are not strictly needed for FreedomBox operation in anyway.

- Slightly Reduce the size of the built images.

- Some of these tools are outdated or not typically used on a modern GNU/Linux
system and make FreedomBox seem less shiny.

- Originally thought of splitting them into a separate metapackage but it does
not seem worth it.

- killall from psmisc is used in the Makefile, it is kept for now.

- FreedomBox already has many dependency and so it is now important to start
paying attention to unnecessary ones.

Tests:

- For each binary executable provided in each of the packages, verify that it
not being used in our code anywhere.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-16 20:01:37 -05:00
James Valleroy
86ca8164d3
d/control: Drop version specification on dependencies for Bookworm
- We don't support Debian Bullseye or older in latest versions of FreedomBox. We
can drop any minimum version specifications that are only relevant on those
release.

Tests:

- Potential issues with tomli/coverage will be caught during autopkgtests.

- For version specifications, it has been verified that for each of the
packages, version available in Bookworm is newer than the minimum version
specification.

- freedombox-setup and plinth packages don't exist on Bookworm or newer. We
don't support upgrade from older version with the latest code.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-16 13:31:11 -05:00
Sunil Mohan Adapa
b64ea720fc
sso: Switch using cryptography module instead of OpenSSL.crypto
Closes: Debian bug #1088760.

- OpenSSL.crypto.sign has been deprecated and in the current version of
python3-openssl in Debian testing, it has been dropped. The recommended
alternative is cryptography.hazmat.primitives. So, use this instead.

- The entire OpenSSL.crypto module is planned to be deprecated in the future.
So, stop using it entirely by using cryptography.hazmat.primitives.

- sso app does not use openssl anymore, so drop dependency on it. Other apps
such as Let's Encrypt do depend on it and but they have their own dependency
declared. The freedombox package on the overall retains on 'openssl' package.

- We are not using the python OpenSSL module anywhere else, so drop dependency
on it.

- Use pathlib to simplify some code.

- Ensure proper permissions on private and public keys as they are being written
to.

Tests:

- Freshly setup container and ensure that first run succeeds. Permission on the
public/private key files and the parent directly are correct. Users are able
login to FreedomBox. SSO works when accessing apps such as transmission.

- Without patches, setup freedombox container. Apply patches. Permission for
keys directory is updated but keys are not overwritten. Login to FreedomBox
works. SSO works when accessing apps such as transmission.

- Run code to perform signatures using old code and ensure that newer code
generates bit-identical signatures.

- Running ./run --list-dependencies show 'openssl' and python3-cryptography.

- Running unit tests works.

- Building debian package works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2024-12-14 23:41:13 +05:30
Sunil Mohan Adapa
47d9894e67
ui: Switch to using bootstrap 5
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2024-12-12 12:28:36 +02:00
Carles Pina i Estany
9504eab6e3
Added po-debconf Catalan translation
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-01 17:22:04 -05:00
James Valleroy
8ba182ef00
Release v24.24~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-21 20:12:42 -05:00
James Valleroy
5b3f8e4b11 freedombox Debian release 24.24
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmc8AQcWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICPRXEACAZTfGvJRlcVPe4Ca5s3OpNRT2
 sbK3JLcfG0+weOSVXCYgrAuCgVhjb5mrj8pN5fjFfZD6mlNjrzriRpM9exjhFrus
 SHv49BI2V35grodyL2I62H9bleCi8GqUG2JgyF30wD0bbuv4YMVmaoXolSYZuldv
 ABL/6XIv6oRwXH6Xe15FYnwff++5iCcTN3GvWIY7oTcfyyOUHvBJT8FhwRnkO/S6
 BPvH+tNB0HL5/TXyBO/ESsSYPraNg1OZRegboT4KEX+A7hPKrGAG5beUh5RDpzhx
 OWGcLeIqe3kbp+SqJTSGGjqS3SQMcjhrjbI1TKh5s9uXUtPDtuNokJUIu6uftZgI
 fIsI78jLqEwVlKU7bg4mUFMVavDRBibKJ+1svcCBRZFbtr83vyo40HqvYYIkOApM
 Uz/rq1qYlHwXEhdstMpx8zGULhr7M1/wL74sQZ+/aoVdOj5e/j9dVnuj9qHqQ5g/
 kTWmCXs8KLg18nOqOm9z6NEWNFrR+kOD9+T4jSkUI/B840KZJgUW7Op8SCg6c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m-backports

freedombox Debian release 24.24

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-21 20:12:13 -05:00
James Valleroy
7a7f9b01e7
Release v24.24 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-18 20:40:25 -05:00
James Valleroy
6e7884a544
Release v24.23~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-08 07:42:25 -05:00
James Valleroy
b960aa49d5 freedombox Debian release 24.23
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmcpg58WHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICDHQD/9NFAa0dTZuSmZdfOgsVYRRqfaX
 Rf4wV7zJqluGl24YcFcBHBjnv2MCGUzoMhN3KCGXWdeSMvWE+1rxbzOWdTEW5RLk
 fsshcmcZcPgoxItoW5PASJRHC6cCPPCCPGco/qW/P1/p5OXByv7142iEc93Q6GxU
 ZjIiApH1wcJ+OWjNhhGIS8624dFID1xrG8fwfDae2j5guhCSkbbDNiY3LoBo5gqw
 0DEZIvo96yJavqHnRa06FWgaLWCzmHauu6KBMxEapqTjrRZvbbuS36SINuS0pajA
 Gq7HTpoSAUpfxwxfC45qopvz/wzu4P5btZJ1qkwYgZAh3d8K/OYNBSO+gT/F47re
 liUcKGmaFbnbw+a80cf0gA7FoGJW1Ss81owcsd9GfSJJC1g649zNl5/ODcjXZw0c
 23LvCollectkwDS/pSiScJ+KT6QGx/bn8qcXjpDuWOf2TkFn7dHLebxhyotZZw2x
 3Stamt048c+BtGPltRQ4hHEjQucoZjlTiAl9TxT/9HZ1DN6x1nCkuX3MEm28Gajs
 WLj2+JPlP9ohdreGHkU9jY3zPxV6GheUwqvsW5sBfBVqKgoeug3pRFgcOZuST8ou
 oORRGYv8XJ0yUvsAAvJKd/U5ZoC0uTvoJVrX0gFK+JuBLqEHuOoABK0WWt6j854Z
 hJWeOAjI+Oqcm8qatw==
 =Ea/Y
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmcuBxMWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICDd5D/4zCxKKoLBccy72Ko8OFNv5DXLA
 h93Vtt2F+XNBqqueqtAqCTtlh/ijSkhMtSwsBkeMEj1i9VbwVN1Y3G1UL1yvtQ53
 wlYb7RSZLxxdCDGC8jTH1iK0pEA1WImFc2Uj+2/en7Yey0Rw2lASNLoJ0GQPz3ue
 +mqiyVLlVJaaNkoyuOGdJy96TIvBzAyAsTo6Ba4T0zO4hYiRd5DL1OLsYruPybIZ
 gQHSwqQVeK4pE0AdPLvvEdUsGoq/klDDohjW7paO/n24IrU/Ym+eLVKHLLxNiJz6
 oszL6jGKuPa9O6ZpD07hFM1qdUIP24xsKDCYtlV7LXz69ezX6aJANS86xkEJ7GEI
 czIkMOYXWpPxSLo13utPAGr5uiYYj//SakgZdOWXfV+nQ6bvo7gciUwXwUPtHr9Y
 8SjpHYPmfh6PDhPaAbfmYDTuBmIE/gkKBX8zDN3lOo3UBahIFmDHSqb+o0Pf5CHz
 dS7SHds09n8YSO3OoJWZqUtuh78vmccCC0QqRGcFg5rHW5BJ/G4to3Ezf/THHUld
 g6D5vNGq0Vbd3NDdzPkH8xvIy5fUSs1K1UhZHEIYBwaLfTWrAxUWB4tKcFtsiXB0
 ZRRi0JgcxMiHQMaXlgzo410MtD7ebZdTH/1MhNc/hVoOjzHi3Fg8pAd4VKyIH9YH
 HipoiMzvb6pNUg7z6A==
 =pArS
 -----END PGP SIGNATURE-----

Merge tag 'v24.23' into debian/bookworm-backports

freedombox Debian release 24.23

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-08 07:41:53 -05:00
James Valleroy
f0082f2102
Release v24.23 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-04 20:56:14 -05:00
James Valleroy
3a403e7b57
debian: Drop python3-flake8 build dependency
Although flake8 is used in development, it is not needed for building
the package.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-11-04 20:54:47 -05:00
James Valleroy
44af7807e1
Release v24.22~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-10-25 08:56:43 -04:00
James Valleroy
9761c7ba47 freedombox Debian release 24.22
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmcXBsIWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICLYHD/9dEGFq/ILCf8q0lgw3qkyDs8V9
 jlvLx/hsK60RhYcSakWaT8QbjACnFGn5nwAMMxcQWIq3Nc/XSs9NMx+7nbZUVmXK
 ZqWWLU65pfpMP0EE6zpGBq8ZNhnzIdX4jwGhu8KNUQjoaaMLUk7m7DH3sBVeaMIt
 FxrOW2Yso9+R5QOOcpJXUmrg5z9JUeYzd+F0EqyUa4uL3zZsU1ELFShskepXJuTH
 mx1Nkjdcs56Kx40YJlh1qxwBAPsAks4Kpc2KDWQsj7sNvO6gScRAYc0Rr70b8DUl
 g2uPLzFnNV5jp1Ug3lJZoUCwAwBB4Xr736fVl0L6l0mk9AtMqhrArMnvlTsL2571
 0KcqHenMsXbk5+ti/Z9KlAJ/FvvLFqjz43cyinyiVrOIAmkS6Uo0lSJnnwSE5G8B
 uJs+xEKFit3uD4KzSzum4tQe4W1pRGV8DxO1STXZxbSfAGqS9JDuez4O8LkN1+8E
 daP9eWtDhwYoWNihmZ5nSImHrhzCPPryWQmk0F8l7n5lMBAddvICEufLlAl6ngoZ
 j65ye1N38BvcKvMZvUkcTPIaSgjlgtf4+ShM+Qe5c0dE0sV5TnhFXbpVh+SYr4yZ
 zSYg0aTta2INSMyt5Kuv7/fAm3b82hNoRI/ZLlA1JmK9sGGJZEnBROD/qE4BFqsZ
 woEzuyTf1G8yI6nIMA==
 =0v+a
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmcblXEWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICJShD/9CHfCPo03mlOjG/HcpJJdAJBJM
 Zn9o7eABYVGwqdVS0Wqu8yX0X1QcFk/Gj/az0kyf7DjAUTpum9keBmLQNE0Grh+f
 zuDF7XQ54YaqThQo1wyOeycLR4VeGl67ATqG6hilQ6BguJLmtyFJHmGcM6M+Mny1
 HKW5wxZW2Mzk+SkLlwjNy0fULy6KKU/rskCV8GYfH1GBW7l4Kosu5FTQ2lHEliEs
 mrQR7hLwL7wEJRAxlb0EwYVyATm4teol4Z93J03NQ7p+fXTiYA/6eZbRQDq2bOPb
 +nW7j7g8+/a5OmRS2i65tHQqa+DKedc8OA7b3bNjPXFUo8XeBZY/Wvi/e7fa6wR3
 IwFSE4QXeFNEocjdALITOybMsyzhHG5Hh0nA+qec7Udj3FAQrZsQya+7P+hWetyQ
 Yhf3CVV3eqDJNAYRHsdqhCiSHhtZf8KkqeP5gLDpg1EylOUjtn7m7wk8OOAD7JUa
 NLcJwZqfQLBbAFD4PTCWWiIwdc1O2unefcMwlsR86rmi1AQgtign/IOt7z+E+XDy
 Ps9gjg1vUzDwuYXgJTPZv/+bPUgp5W68EWz3eqhIpXmrED7VmO9hE3k6CuVdgqwE
 jBrWG9JV3BAAaTqFsMtiyTFeuV5CbOYwNvc1BGB23I6mXBn3XkSSvyuQ5yWoLuU4
 1tFj/fJgD7vVC9Dxrw==
 =Vpo6
 -----END PGP SIGNATURE-----

Merge tag 'v24.22' into debian/bookworm-backports

freedombox Debian release 24.22

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-10-25 08:56:03 -04:00
James Valleroy
822fcc8f2b
Release v24.22 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-10-21 20:43:13 -04:00
James Valleroy
f0fc5e1d6b
Release v24.21~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-10-11 06:56:07 -04:00
James Valleroy
6fc223746a freedombox Debian release 24.21
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmcEhb0WHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICIbJD/9II8qrtF2Zm10FuGUdF2xVqhid
 PsPgJUK5oMiz/Hyb+ztG/cPD58oSShm7NU1FP1oauzoe+ZpxLgtL+pjnIy6a1ty5
 IpFBkpqYQ7MhQW2a5/400vhz4AwwGaY2+ZosM2lHfe49DKr4vqIxAZ+FrMBSW2L+
 42V6u668ysckP4PEQADPexu9Imrvlaq6Jq9lhXiFze3psKm5h7NmWyd3A1ea6JUo
 guJLg4QYfLXeplA2c53j3t2zi4LQjHNysNZ1LU6Mm+e0ZXUGDXHibgIbySGsEUg9
 Z6CgaVq584Gs+Oed3Ln0VoncrdpnTZo5tKHtn6TKbUXm3tRKVJa+DqsTthr2KtQ3
 o5WaB6xJzU6gpaCqNcFt90ySqJ972Sllb0lcbQ6YirOjKkDb7kXAHVcnIf/x78LT
 u8n2PO87YbB7tqui746HT7cx3ufmJ8lf/Qfhi4gngrb4WskTjAPrtLHG2u47z2Dv
 ykLxnmMy8wrfOVgjtIEbAWr9o7JhGDh0KuIjZpi+91qVsKmz8tsQytVGVJR/naTP
 BJz+3QftdE7OV8k4XMqrg+h7yh0N7aN74Z1AcsdSYWxXp/PNhO6esQpxXEO5z/DY
 j2v6IlldF6KDUjG7d/ceNWKzzNqlMpvGFibLw1zJMy5/2y2VNyI3a0jeT7SW9PUe
 hDKu3CiiEttUNabUPg==
 =Abav
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmcJBCMWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICF8YD/0cOkEiUbc99mIit377SIy49J39
 eHklemXNoJfb3vk7zr/86rnkG47LRKSDR1QybZBHCyvNyLnNAbws1GvWr4fNiHlF
 fEDYcdB7ex+ueJpYIVxh7nx2U8nvVzT9SPIyoUL8d6dAYFybgkGNDjTHRJx3B5rh
 klNKAMmK30kec/dv361JooFXqVVcHXEVA2KGovtkqx2/eH6YsCvJDsypAD4KLnPi
 ZCoKIVAfRj6YxbwBIVIFItuNxqaxekcHnRtvzPyb/mJPp3tS+Yb6V/hl74bf4YTQ
 6BX6NxmYjXB6cHMDRJsj7R9UvmNA5137sR+Ofe8xTqzj3KvLj30ZM+1mGHtJ2KZ3
 52xuW1GszK26QRc4FERjyxptDRyrkf0RnIqsrq6e/39KDpZ5AhnNxiuQv1JCkXl4
 6YMeiF0ZCiMfrXDeGXKo/dhadRhhMvMafn0SRiAmUtCZUp36l2KffEfQevEkq1DH
 fpSGrpzbLx9kmTRz2jbAd5YfOJq45ehKVn9ztrmPGZJV5Y46Zr2BRmUPRj8Zw7uW
 hMFgbFk1Tj6b8VJ3sAWqaNPTafwST6VRZtZZ2LjbGc05X5FNOU0syO4lNrqtRLIM
 PC8aZO2up0AresvA4cJORKWFuSbw8Vtp9YJPLXTsV/HNJnbuDYOu+uvYaEADhWy9
 btpyxL06g6AzGcP0/Q==
 =kNa2
 -----END PGP SIGNATURE-----

Merge tag 'v24.21' into debian/bookworm-backports

freedombox Debian release 24.21

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-10-11 06:55:29 -04:00
James Valleroy
c35555a273
Release v24.21 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-10-07 20:38:12 -04:00
James Valleroy
2e5010f66c
Release v24.20.1~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-09-28 07:25:41 -04:00
James Valleroy
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X0mMKqTzsRL6jOlQdWa5XpzPQGhGUfrgaNWNp
 NZM4gepWTjM5Kuzuvf6rLkH5LmVfUYx+0Jn8h+7GICUyjvWqdc8O7n6C8cJtAtd9
 kltji8pirT7D2dENzcmeZzGx4K8bcrSuN6GZa9BRDXJnVWSEQ3BtpH0CEIRYCEge
 dIneULX0DI4rign9PS/4Fv8uV52CZTnG7sg0eLdo+VCM5oDr0kCjUvhueiaxKtse
 dYTQa66QNoaxRBNdSeJPWM3RRqKUSbqWLQNy7hMWYuc1QgPLNosnrR6Y49k/LJvd
 tpvA07qVrmea7RK8U/6TW+B4f98x+F41x0pUimiYNZHSi26X28/q/Eir5YBCXuJv
 459bXP48z/NwwhHC/KorseV7PpWoyz14MHI4N1dQ20jzJlnDEQVffkVU8Q77u+S+
 2Jv57ViOutbVAKDuboHK3AFuCWXzF9IgdCm/O8gILaiKAmaXwQ7BFMw3urcx42HB
 YONGqdk+qHlXpgE2NkhKttlB6vTF9I8TxLQa11q9S5qwOmCV6E61SuowHKnoRsnU
 Xxjr/e3M3aOk+83ROZD8oYIdZv/FIHHlCei5LN/KnlCIbtlN194bDibkyO9RXS0j
 7eEDlBjuHJTVX3kI1g==
 =WVoY
 -----END PGP SIGNATURE-----

Merge tag 'v24.20.1' into debian/bookworm-backports

freedombox Debian release 24.20.1

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-09-28 07:25:01 -04:00
James Valleroy
66d3ca01a2
Release v24.20.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-09-25 11:58:04 -04:00
James Valleroy
534b0d6eb0
d/tests: Add breaks-testbed restriction
This restriction is also used by systemd:
0992a823a4

This is another attempt to fix #2450.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-09-24 13:38:52 -07:00
James Valleroy
d8e82deb20
Revert "debian: tests: Wait for systemd-resolved to be started"
This reverts commit 618adefab794eb85018704ed97c871c3e1ae0b0e.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-09-24 13:38:34 -07:00
James Valleroy
da02b464a9
Release v24.20 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-09-23 20:42:47 -04:00
Sunil Mohan Adapa
125a002fa3
users: Don't cache NSS user indentity information
nscd daemon caches queries made to NSS via glibc. In our case queries to passwd
and group databases are cached. But this leads to many problems.

See: https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2520

The bug that this MR fixes, that is, the inaccuracy of the authentication data,
is horrible and only acceptable if the caching provides very important
functionality. Already, having to purge nscd caches after modifying user
accounts is not nice.

I believe that we have encountered this bug before and blamed libpam-abl due to
the time sensitive nature of the problem.

nscd itself recommends that it should be used if NSS lookup are expensive (such
as in case of NIS, NIS+ queries according to /etc/init.d/nscd). In case of
FreedomBox, LDAP queries are unlikely to be made using network. LDAP server is
likely always local. I believe we can safely remove nscd by masking and stopping
nscd.service and unscd.service.

Tests:

- After applying the patches, users app setup is re-run. Service nscd is stopped
and masked. unscd is also masked.

- Running 'id tester' shows expected value 'uid=10001(tester) gid=100(users)
groups=100(users),10002(admin)'.

- Adding, removing, renaming a user immediately reflects in 'id <user>'.

- Adding and removing a user from groups immediately reflects in 'id <user>'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2024-09-21 00:09:22 +03:00
James Valleroy
618adefab7
debian: tests: Wait for systemd-resolved to be started
This is attempting to fix a test setup issue in Debian CI, see #2450.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-09-19 19:41:06 -07:00
James Valleroy
b82c881014
Release v24.19 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-09-09 21:08:42 -04:00