Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.7k stars 276 forks source link

{TIMEOTP} placeholder #850

Open J-Jamet opened 3 years ago

J-Jamet commented 3 years ago

Implement new TOTP variable from KeePass 2.47 https://keepass.info/help/base/placeholders.html#otp

J-Jamet commented 3 years ago

The new OTP format of KeePass2.47 is already supported, just need to replace the placeholder by its value in the display screens.

theincogtion commented 3 years ago

What do you mean by "supported"? I have a custom field with the contetn "{TIMEOTP}". And of course the shared secret (TimeOtp-Secret-Base32) It works in KeePass for Windows but on KeePassDX the value is not displayed nor does it generate the code when I copy the custom field. Version 2.9.20

J-Jamet commented 3 years ago

Supported means that TimeOtp-Secret and other KeePass2 parameters are recognized and already allow to generate a TOTP token, this token is displayed in a dedicated view in the entry.

On the other hand the placeholder is not yet supported, because it is necessary to make/modify the parser of the application to replace the content dynamically.