/trussed-totp-pc-tutorial

Example Trussed app, implementing OATH TOTP, running on PC.

Primary LanguageRustApache License 2.0Apache-2.0

trussed-totp-pc-tutorial

This is a simple application implementing OATH TOTP, built on Trussed®.

To try it out, run make install, and then for instance

trussed-totp-pc-tutorial register alice@trussed.dev JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP

This registers a credential, which is stored in state.littlefs2.

To generate a one-time password, run

trussed-totp-pc-tutorial authenticate alice@trussed.dev

For more logging prefix commands with, e.g., RUST_LOG=debug.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.