vaultwarden: update to 1.34.1.

This commit is contained in:
Joel Beckmeyer 2025-05-27 16:28:54 -04:00 committed by Andrew J. Hesford
parent 81264bc1ae
commit 94572bca2c
3 changed files with 2 additions and 28 deletions

View file

@ -1,13 +0,0 @@
diff --git a/src/crypto.rs b/src/crypto.rs
index a987b0f..eff1785 100644
--- a/src/crypto.rs
+++ b/src/crypto.rs
@@ -6,7 +6,7 @@ use std::num::NonZeroU32;
use data_encoding::{Encoding, HEXLOWER};
use ring::{digest, hmac, pbkdf2};
-const DIGEST_ALG: pbkdf2::Algorithm = pbkdf2::PBKDF2_HMAC_SHA256;
+static DIGEST_ALG: pbkdf2::Algorithm = pbkdf2::PBKDF2_HMAC_SHA256;
const OUTPUT_LEN: usize = digest::SHA256_OUTPUT_LEN;
pub fn hash_password(secret: &[u8], salt: &[u8], iterations: u32) -> Vec<u8> {

View file

@ -1,13 +0,0 @@
diff --git a/Cargo.toml b/Cargo.toml
index e3755e2..1fbe7a6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ name = "vaultwarden"
version = "1.0.0"
authors = ["Daniel García <dani-garcia@users.noreply.github.com>"]
edition = "2021"
-rust-version = "1.83.0"
+rust-version = "1.82.0"
resolver = "2"
repository = "https://github.com/dani-garcia/vaultwarden"

View file

@ -1,6 +1,6 @@
# Template file for 'vaultwarden'
pkgname=vaultwarden
version=1.33.2
version=1.34.1
revision=1
build_style=cargo
configure_args="--features sqlite,mysql,postgresql"
@ -13,7 +13,7 @@ license="AGPL-3.0-only"
homepage="https://github.com/dani-garcia/vaultwarden"
changelog="https://github.com/dani-garcia/vaultwarden/releases"
distfiles="https://github.com/dani-garcia/vaultwarden/archive/${version}.tar.gz"
checksum=b0a412bd5fa857a82dd12fe7ccaad5ac647c4ac932d873218c6eb2408e705682
checksum=c416ab8e563357823b11192bda46d78aae5457bdec8a6051e765d5897c98321a
system_accounts="_vaultwarden"
_vaultwarden_homedir="/var/lib/vaultwarden"