diff --git a/nixos/tests/vaultwarden.nix b/nixos/tests/vaultwarden.nix index a60cb3af5535..a011afee6017 100644 --- a/nixos/tests/vaultwarden.nix +++ b/nixos/tests/vaultwarden.nix @@ -209,7 +209,6 @@ builtins.mapAttrs (k: v: makeVaultwardenTest k v) { server.succeed('[ -f "/var/lib/vaultwarden/backups/db.sqlite3" ]') server.succeed('[ -d "/var/lib/vaultwarden/backups/attachments" ]') server.succeed('[ -f "/var/lib/vaultwarden/backups/rsa_key.pem" ]') - server.succeed('[ -f "/var/lib/vaultwarden/backups/rsa_key.pub.pem" ]') # Ensure only the db backed up with the backup command exists and not the other db files. server.succeed('[ ! -f "/var/lib/vaultwarden/backups/db.sqlite3-shm" ]') ''; diff --git a/pkgs/tools/security/vaultwarden/default.nix b/pkgs/tools/security/vaultwarden/default.nix index a4ee5f430962..5bdee189f03b 100644 --- a/pkgs/tools/security/vaultwarden/default.nix +++ b/pkgs/tools/security/vaultwarden/default.nix @@ -9,16 +9,16 @@ in rustPlatform.buildRustPackage rec { pname = "vaultwarden"; - version = "1.30.5"; + version = "1.31.0"; src = fetchFromGitHub { owner = "dani-garcia"; - repo = pname; + repo = "vaultwarden"; rev = version; - hash = "sha256-OwFB5ULWBefDHSkUM3nT0v2jcc5vHUvs8Ex0JauDu8w="; + hash = "sha256-fQjTSLPJQk1byjX+HADtQvQRqEaEiCmWjgA1WIMLBu4="; }; - cargoHash = "sha256-K0T0uTERjxlI3bGG/Tz6sJ0A08J0ROAhpppdZcdQPB8="; + cargoHash = "sha256-VWKkZvuv+B9V6pgxZRGlLIRUdLEh61RpOfEnOtEBKU0="; # used for "Server Installed" version in admin panel env.VW_VERSION = version;