trussed-totp-pc-tutorial icon indicating copy to clipboard operation
trussed-totp-pc-tutorial copied to clipboard

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

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 [email protected] JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP

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

To generate a one-time password, run

trussed-totp-pc-tutorial authenticate [email protected]

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.