keepassium / KeePassium

KeePass-compatible password manager for iOS
https://keepassium.com
Other
1.21k stars 103 forks source link

Add support for entry placeholders #260

Closed mateuszdrab closed 1 year ago

mateuszdrab commented 2 years ago

Description I have some entries where the ota field starts like this otpauth://totp/xxx::{S:eMail}? - Keepassium displays the whole URL, no TOTP code

This is because I have a different username and store emails in a field called eMail.

KeePassOTP generates the otaurls in the format containing the reference and it works fine in KeePass and KeePassXC.

How to reproduce Steps to reproduce the behavior:

Expected behavior OTP is displayed

Environment:

keepassium commented 2 years ago

Thank you and sorry for the delay.

The reason is that, {S:} is a placeholder rather than a reference. Semantically they are very similar, but references start with {REF:. At the moment, KeePassium supports references but not placeholders.

I will requalify this as a feature request then, if you don't mind.