Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for entry placeholders #260

Closed
mateuszdrab opened this issue Oct 6, 2022 · 1 comment
Closed

Add support for entry placeholders #260

mateuszdrab opened this issue Oct 6, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mateuszdrab
Copy link

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:

  • add a keepass entry with username set to {S:eMail} and add the eMail field
  • add an OTP config using KeePassOTP

Expected behavior
OTP is displayed

Environment:

  • Device: iPhone 12 Pro Max
  • OS: iOS 16
  • App Version: 1.36.116
@mateuszdrab mateuszdrab added the bug Something isn't working label Oct 6, 2022
@keepassium
Copy link
Owner

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.

@keepassium keepassium changed the title OTP not displaying when otpurl contains a field reference Add support for entry placeholders Oct 13, 2022
@keepassium keepassium added enhancement New feature or request and removed bug Something isn't working labels Oct 13, 2022
@keepassium keepassium self-assigned this Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants