@@ -44,12 +44,11 @@ import ./make-test-python.nix ({ pkgs, ...} :
4444 # - https://github.com/NixOS/nixpkgs/issues/108772
4545 # - https://github.com/NixOS/nixpkgs/pull/117555
4646 print(machine.succeed("su - alice -c 'file ~/.config/Signal/sql/db.sqlite'"))
47− # TODO: The DB should be encrypted and the following should be machine.fail
48− # instead of machine.succeed but the DB is currently unencrypted and we
49− # want to notice if this isn't the case anymore as the transition to a
50− # encrypted DB can cause data loss!:
5147 machine.succeed(
52− "su - alice -c 'file ~/.config/Signal/sql/db.sqlite' | grep -i sqlite"
48+ "su - alice -c 'file ~/.config/Signal/sql/db.sqlite' | grep 'db.sqlite: data'"
49+ )
50+ machine.fail(
51+ "su - alice -c 'file ~/.config/Signal/sql/db.sqlite' | grep -e SQLite -e database"
5352 )
5453 '';
5554})