mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-11-03 11:48:19 +02:00
Load RSA keys as pem format directly, and using openssl crate, backported from async branch
This commit is contained in:
@@ -343,7 +343,7 @@ fn parse_duo_values(key: &str, val: &str, ikey: &str, prefix: &str, time: i64) -
|
||||
err!("Invalid ikey")
|
||||
}
|
||||
|
||||
let expire = match expire.parse() {
|
||||
let expire: i64 = match expire.parse() {
|
||||
Ok(e) => e,
|
||||
Err(_) => err!("Invalid expire time"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user