refer to local version of libraries

this fixes a dangling reference to the trng generator
This commit is contained in:
bunnie 2025-11-27 17:57:03 +08:00
parent 7b00f63d74
commit e18175a425
2 changed files with 19 additions and 15 deletions

View file

@ -18,7 +18,7 @@ xous-names = { package = "xous-api-names", version = "0.9.67" }
locales = { path = "../../locales" } locales = { path = "../../locales" }
pddb = { path = "../../services/pddb" } pddb = { path = "../../services/pddb" }
modals = { path = "../../services/modals", features = ["no-gam"] } modals = { path = "../../services/modals", features = ["no-gam"] }
backup = { path = "../../apps/vault/libraries/backup" } backup = { path = "./libraries/backup", package = "backup-vault2" }
byteorder = { version = "1.4.3", default-features = false } byteorder = { version = "1.4.3", default-features = false }
arrayref = "0.3.6" arrayref = "0.3.6"
subtle = { version = "2.5.0", features = ["core_hint_black_box"] } subtle = { version = "2.5.0", features = ["core_hint_black_box"] }
@ -36,8 +36,8 @@ xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git", branc
keystore = { path = "../../services/keystore" } keystore = { path = "../../services/keystore" }
# opensk # opensk
ctap-crypto = { path = "../../apps/vault/libraries/crypto" } ctap-crypto = { path = "./libraries/crypto", package = "ctap-crypto-vault2" }
cbor = { path = "../../apps/vault/libraries/cbor" } cbor = { path = "./libraries/cbor", package = "cbor-vault2" }
persistent_store = { path = "../../apps/vault/libraries/persistent_store" } persistent_store = { path = "../../apps/vault/libraries/persistent_store" }
ed25519-compact = { version = "1", default-features = false, optional = true } ed25519-compact = { version = "1", default-features = false, optional = true }
rand = { version = "0.8.5", optional = true } rand = { version = "0.8.5", optional = true }

View file

@ -1150,15 +1150,19 @@ impl ActionManager {
- otpauth:// - otpauth://
- enroll TOTP token - enroll TOTP token
- overwrites if previous exists - overwrites if previous exists
- time://2025-11-27T13:06:02+08:00
- set RTC offset
- pin://<base64 PIN>
- Use this as the PIN value for the token
- pwauth://pass/<URL>?time=2025-11-27T13:06:02+08:00 - pwauth://pass/<URL>?time=2025-11-27T13:06:02+08:00
- prompts to type password if it's in the database - prompts to type password if it's in the database
- prompts to add new password (autogenerated) if it's not (need a new special character flow: ! @ # $ % ^ * ( ) - _ + = allowed ) - prompts to add new password (autogenerated) if it's not (need a new special character flow: ! @ # $ % ^ * ( ) - _ + = allowed )
- pwauth://new/<URL>?pass=<password> - pwauth://new/<URL>?pass=<password>
- add a password to the password store (no 'time?' to simplify parsing of complicated passwords) - add a password to the password store (no 'time?' to simplify parsing of complicated passwords)
- prompt to allow, since the QR code is unauthenticated - prompt to allow, since the QR code is unauthenticated
- time://2025-11-27T13:06:02+08:00 -> time setting - search://<string to search>
- search://<string to search> -> search for an item in a list - search://<string to search>?time=2025-11-27T13:06:02+08:00
- search://<string to search>?time=2025-11-27T13:06:02+08:00 -> search for an item in a list & sets time - search for a list time and/or search & set time
*/ */
if let Some((request, data)) = qr_uri.split_once("://") { if let Some((request, data)) = qr_uri.split_once("://") {
match request { match request {