xous-core/apps/vault
Gianguido Sorà cd42cf6395 fix(vault): storage for totp and passwords derive pddb key from their
unique content

Instead of generating a unique GUID every time a new record gets
created, hash known unique content for every entry and use that as key.

The StorageContent trait now has a hash() method that returns a Vec
containing the SHA-256 hash of the object's unique content.

Hashing is done by re-using the same calls that ctap uses.

This allows dupes detection when restoring a backup, allowing us to
employ a "never overwrite" policy: Precursor is the main source of truth
for such data.
2022-08-13 13:29:42 +02:00
..
libraries feat(vault): add Wire type for >7601 bytes of CTAPHID payload 2022-08-12 16:55:12 +02:00
locales add a thin UX layer to manage switching host readout mode 2022-08-11 02:32:38 +08:00
src fix(vault): storage for totp and passwords derive pddb key from their 2022-08-13 13:29:42 +02:00
tools feat(vault): add logging, support Wire format 2022-08-12 16:57:47 +02:00
Cargo.toml Merge branch 'main' into feat/vault-usb-totp-loading 2022-07-25 11:44:01 +02:00