How do I generate a new OTP code from the basic information?
OTP code information
To function correctly, an OTP code requires six pieces of information:
- The issuer: The software/service that provides you with an OTP code
- The account: The user account linked to your OTP code
- The secret: The value used to calculate the OTP code
- The derivation algorithm used
- The number of digits in the code
- The lifetime of a code
Caution
Never share the secret of your OTP code. Anyone with this value could easily retrieve your OTP code.
Supported algorithms
OTP codes can be generated using three algorithms:
- SHA1
- SHA256
- SHA512
Brennus OTP supports all of these algorithms.
Default values
Each piece of information, including the algorithm, number of digits, and lifetime, has default values. If your issuer does not provide you with this information, you can use these values:
| Info | Default value |
|---|---|
| Algorithm | SHA1 |
| Number of digits | 6 |
| Lifetime | 30 |
How to do it
To add a new code, press the + button at the bottom right of the dashboard. A selection page will then offer you the following options:
- Scan a QR code,
- Enter your data manually.
The second option will give you access to the form:
➡️

Once validated, the code will appear on your dashboard in the current trunk.