2021-10-01 11:58:45 +03:00
[ package ]
name = "proxmox-tfa"
2024-09-20 09:42:25 +03:00
description = "tfa implementation for totp and u2f"
2024-10-01 13:48:36 +03:00
version = "5.0.1"
2024-09-20 09:42:25 +03:00
2022-12-06 14:18:46 +03:00
authors . workspace = true
edition . workspace = true
2024-09-20 09:42:25 +03:00
exclude . workspace = true
homepage . workspace = true
2022-12-06 14:18:46 +03:00
license . workspace = true
repository . workspace = true
2021-10-01 11:58:45 +03:00
[ dependencies ]
2023-10-16 10:00:17 +03:00
serde . workspace = true
2023-04-21 12:10:53 +03:00
anyhow = { workspace = true , optional = true }
2023-10-16 09:58:08 +03:00
base32 = { workspace = true , optional = true }
base64 = { workspace = true , optional = true }
hex = { workspace = true , optional = true }
libc = { workspace = true , optional = true }
log = { workspace = true , optional = true }
openssl = { workspace = true , optional = true }
percent-encoding = { workspace = true , optional = true }
2022-12-06 15:43:42 +03:00
serde_json = { workspace = true , optional = true }
2023-10-16 10:00:17 +03:00
serde_plain = { workspace = true , optional = true }
2023-10-16 09:58:08 +03:00
url = { workspace = true , optional = true }
2022-12-12 12:18:07 +03:00
webauthn-rs = { workspace = true , optional = true }
2021-11-16 13:58:43 +03:00
2022-12-07 10:42:52 +03:00
proxmox-schema = { workspace = true , features = [ "api-macro" ] , optional = true }
proxmox-time = { workspace = true , optional = true }
proxmox-uuid = { workspace = true , optional = true }
2021-10-01 11:58:45 +03:00
[ features ]
2023-10-16 09:58:08 +03:00
default = [ "totp" ]
2023-10-16 10:00:17 +03:00
types = [ "dep:serde_plain" , "serde/derive" ]
2023-10-16 09:58:08 +03:00
u2f = [ "dep:base64" , "dep:libc" , "dep:openssl" , "dep:serde_json" , "serde/derive" ]
api = [
"totp" ,
"types" ,
"u2f" ,
"dep:anyhow" ,
"dep:log" ,
"dep:proxmox-time" ,
"dep:proxmox-uuid" ,
"dep:url" ,
"dep:webauthn-rs" ,
]
2023-03-23 12:57:40 +03:00
api-types = [ "types" , "dep:proxmox-schema" ]
2023-10-16 10:00:17 +03:00
totp = [ "dep:base32" , "dep:hex" , "dep:openssl" , "dep:percent-encoding" , "dep:serde_plain" ]