summary refs log tree commit diff
path: root/nixos/tests/signal-desktop.nix
Commit message (Collapse)AuthorAge
* nixos/qemu-vm: default memorySize 384 -> 1024Artturin2021-11-21
| | | | | | | | | the default hasn't been changed since 2009 this can improve our test performances nixos/tests: remove explicit memorySize <1024 1024MiB is now the default
* nixosTests: Redirect stdout to stderr when detachingRobert Hensing2021-11-05
| | | | Avoids blocking on stdout.
* nixos/tests/signal-desktop: Improve the DB testMichael Weiss2021-08-05
| | | | | | | | | | | The command "file ~/.config/Signal/sql/db.sqlite | grep 'db.sqlite: data'" can randomly fail because "file" sometimes recognizes the "random" (encrypted) data as something. This occasionally causes test failures, e.g. [0] were it was recognized as "PGP Secret Sub-key -" or in another instance as an ext4 filesystem [1]. [0]: https://github.com/NixOS/nixpkgs/pull/132644#issuecomment-892601504 [1]: https://social.primeos.dev/notice/A7H8VWV0KtQHUZZIsC
* signal-desktop: Fix the database encryption by preloading SQLCipherMichael Weiss2021-05-14
| | | | | | | | | | | | | | | | | | | AFAIK this is the only reliable way for us to ensure SQLCipher will be loaded instead of SQLite. It feels like a hack/workaround but according to the SQLCipher developers [0] "this issue can and should be handled downstream at the application level: 1. While it may feel like a workaround, using LD_PRELOAD is a legitimate approach here because it will substitute the system SQLite with SQLCipher which is the intended usage model;". This fixes #108772 for NixOS 20.09 users who upgrade to NixOS 21.05 and replaces #117555. For nixos-unstable users this will unfortunately break everything again so we should add a script to ease the transition (in a separate commit so that we can revert it for NixOS 21.05). [0]: https://github.com/sqlcipher/sqlcipher/issues/385#issuecomment-802874340
* nixos/tests/signal-desktop: test if the SQLite DB is (un)encryptedMichael Weiss2021-05-13
| | | | | | | | | Well, this should test if the database is encrypted but currently it is still unencrypted and we need to notice if this behaviour changes in the future (as it will cause data loss, see e.g. #108772). Anyway, this doesn't really matter for security reasons but we need this test to prevent data loss (unfortunately Signal-Desktop and SQLCipher handle this badly... :o).
* treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl2021-01-10
| | | | | The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
* signal-desktop: fix testKai Harries2020-09-13
| | | | | | | Test was broken because network is not available during sandboxed test run and therefore the expected text was never shown. ZHF: #97479
* tests: Fix signal-desktopdevhell2020-03-09
| | | | | | | This test fails due to OOM on the VM. Setting the memory of the VM to 1024 lets the test succeed. Cc: @flokli
* nixos/display-managers/auto: removeworldofpeace2020-01-29
| | | | | | | | This module allows root autoLogin, so we would break that for users, but they shouldn't be using it anyways. This gives the impression like auto is some special display manager, when it's just lightdm and special pam rules to allow root autoLogin. It was created for NixOS's testing so I believe this is where it belongs.
* nixos/signal-desktop: port test to pythonJan Hrnko2019-11-06
|
* nixosTests.signal-desktop: add testFlorian Klink2019-05-23