Merge remote-tracking branch 'origin/main' into fix/windows-key-permissions-warning

# Conflicts:
#	src/security/secrets.rs
This commit is contained in:
fettpl 2026-02-15 02:16:00 +01:00
commit f7ae04e64e
11 changed files with 1257 additions and 128 deletions

View file

@ -270,8 +270,9 @@ fn build_windows_icacls_grant_arg(username: &str) -> Option<String> {
}
/// Hex-decode a hex string to bytes.
#[allow(clippy::manual_is_multiple_of)]
fn hex_decode(hex: &str) -> Result<Vec<u8>> {
if (hex.len() & 1) != 0 {
if hex.len() % 2 != 0 {
anyhow::bail!("Hex string has odd length");
}
(0..hex.len())