How to get the totp code
- Get the TOTP QR code.
- Install zbar, decode the QR code.
brew install zbar
zbarimg qr.png
- Generate totp code from the decoded code.
from dpdispatcher.utils import generate_totp
print(generate_totp("A5UKDJDSDSK"))
If you found this useful, please cite this as:
Fan, Jiahao (Nov 2022). How to get the totp code. https://pkufjh.github.io/.
or as a BibTeX entry:
@article{fan2022how-to-get-the-totp-code,
title = {How to get the totp code},
author = {Fan, Jiahao},
year = {2022},
month = {Nov},
url = {https://pkufjh.github.io//blog/2022/totp/}
}
Enjoy Reading This Article?
Here are some more articles you might like to read next: