xous-core/apps/vault
bunnie d1cda8f669 add hotp support
hotp is merged as a "minor" feature off of totp. In other words,
the default mode is totp, but one can specify a totp record
to be an hotp record and it will behave as an hotp record.

We re-use the "step_seconds" field to specify the count parameter.
There is no separate initial count / count field -- the two are
tracked in a single u64 that is stored in the "step_seconds" field
of what would be a totp record.

This also revs the TOTP record to v2. This *should* not break
anything:

- v1 records deserialize as totp records into v2 (which is correct,
as there are no hotp in v1)
- when a v1 record is saved to disk, it is stored in v2 format
- v1 records that are not edited stay as v1
2022-09-17 00:39:47 +08:00
..
libraries format conversion for importing Google Authenticator TOTP 2022-08-31 14:38:06 -04:00
locales add hotp support 2022-09-17 00:39:47 +08:00
src add hotp support 2022-09-17 00:39:47 +08:00
tools fix dependabot security issue in base64 dependency 2022-09-11 21:48:20 +08:00
Cargo.toml Merge branch 'main' into feat/vault-usb-totp-loading 2022-07-25 11:44:01 +02:00