Totp on the laptop: Difference between revisions

From IIHE Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 9: Line 9:
To be able to use a TOTP generator on your laptop, we need to copy the secret.
To be able to use a TOTP generator on your laptop, we need to copy the secret.
=== Find your TOTP secret on your mobile phone===
=== Find your TOTP secret on your mobile phone===
Open your TOTP mobile app. For each site that this app manages, you see an entry. Per site, you will see three dots in the upper right corner.<BR>
* Open your TOTP mobile app. For each site that this app manages, you see an entry. Per site, you will see three dots in the upper right corner.<BR>
Click and choose 'edit account'<br>
* Click and choose 'edit account'<br>
There you will find the secret key.<br>
* There you will find the secret key.<br>
Copy this key and send it to your laptop.
* Copy this key and send it to your laptop.


=== Add secret to your Keepass vault ===
=== Add secret to your Keepass vault ===
Open Keepass and create a new database if you do not have one already. A Keepass Database is meant to store your passwords. However, we recommend to keep your passwords and TOTP tokens in separate applications. If you choose to use Keepass for both, then make a separate database for both and use different passwords to lock the different databases<br>
* Open Keepass and create a new database if you do not have one already. A Keepass Database is meant to store your passwords. However, we recommend to keep your passwords and TOTP tokens in separate applications. If you choose to use Keepass for both, then make a separate database for both and use different passwords to lock the different databases<br>
Once you have a database, add a new entry (entries -> new entry)<br>
* Once you have a database, add a new entry (entries -> new entry)<br>
Add the basic information (TOTP cannot yet be added in this stage) and push OK.<br>
* Add the basic information (TOTP cannot yet be added in this stage) and push OK.<br>
Right click on your new entry -> TOTP > Set up TOTP <BR>
* Right click on your new entry -> TOTP > Set up TOTP <BR>
Add your secret key and press OK.
* Add your secret key and press OK.
=== Using your TOTP ===
=== Using your TOTP ===
Once the secret key is added, KeppassXC can generate the tokens you are used to.<br>
Once the secret key is added, KeppassXC can generate the tokens you are used to.<br>
Right click your entry > TOTP > Copy TOTP <BR>
*Right click your entry > TOTP > Copy TOTP <BR>
Your token can now be pasted into the website you try to access.
*Your token can now be pasted into the website you try to access.

Revision as of 09:08, 16 May 2025

There are not a great many good solutions to generate TOTP tokens on a laptop.
The one we recommend is KeepassXC

Installation

Please refer to the download and install section of the KeepassXC website for your OS.

Configure TOTP

TOTP is mostly used in combination with a smartphone. Therefore, most sites generate a QR code that encodes a TOTP secret in your mobile TOTP application.
To be able to use a TOTP generator on your laptop, we need to copy the secret.

Find your TOTP secret on your mobile phone

  • Open your TOTP mobile app. For each site that this app manages, you see an entry. Per site, you will see three dots in the upper right corner.
  • Click and choose 'edit account'
  • There you will find the secret key.
  • Copy this key and send it to your laptop.

Add secret to your Keepass vault

  • Open Keepass and create a new database if you do not have one already. A Keepass Database is meant to store your passwords. However, we recommend to keep your passwords and TOTP tokens in separate applications. If you choose to use Keepass for both, then make a separate database for both and use different passwords to lock the different databases
  • Once you have a database, add a new entry (entries -> new entry)
  • Add the basic information (TOTP cannot yet be added in this stage) and push OK.
  • Right click on your new entry -> TOTP > Set up TOTP
  • Add your secret key and press OK.

Using your TOTP

Once the secret key is added, KeppassXC can generate the tokens you are used to.

  • Right click your entry > TOTP > Copy TOTP
  • Your token can now be pasted into the website you try to access.