https://github.com/trussed-dev/trussed-totp-pc-tutorial
Example Trussed app, implementing OATH TOTP, running on PC.
https://github.com/trussed-dev/trussed-totp-pc-tutorial
Last synced: 11 months ago
JSON representation
Example Trussed app, implementing OATH TOTP, running on PC.
- Host: GitHub
- URL: https://github.com/trussed-dev/trussed-totp-pc-tutorial
- Owner: trussed-dev
- License: apache-2.0
- Created: 2021-01-31T00:58:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-24T22:35:54.000Z (over 4 years ago)
- Last Synced: 2025-04-02T15:42:32.621Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 65.4 KB
- Stars: 21
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# trussed-totp-pc-tutorial
This is a simple application implementing OATH TOTP, built on [Trussed][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`.
[trussed]: https://trussed.dev
#### 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.