keepassium / KeePassium

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

AutoFill and OTP #242

Closed ixs closed 1 year ago

ixs commented 2 years ago

Description I seem to remember that there was a feature that would load a TOTP token into the clipboard to be pasted after a the autofill extension filled in username and password.

This seems not to work anymore?

How to reproduce Steps to reproduce the behavior:

  1. Go to any website that is autofillable and uses MFA.
  2. Complete autofill, try to paste the TOTP token into the MFA field.
  3. ???
  4. Disappointment

Expected behavior

  1. Go to any website that is autofillable and uses MFA.
  2. Complete autofill, try to paste the TOTP token into the MFA field.
  3. ???
  4. Profit

Environment:

keepassium commented 2 years ago

Yep, it seems AutoFill can modify the clipboard only when AutoFill is in non-quick mode (with some UI visible). I will try to work around it using a notification — as much as I hate to add the notification permission to KeePassium...

hkaancaliskan commented 1 year ago

@keepassium I'm wondering is this implemented? Because I'm using iOS 17 Beta 6 and totp not copied to clipboard when using quick mode. I'm using iPhone 13.

keepassium commented 1 year ago

@hkaancaliskan , the original issue remains but the workaround is implemented. You might need to activate the permissions, though: open KeePassium settings → AutoFill Passwords → Copy OTP to Clipboard → turn it off → turn it back on. The app will ask permission to show notifications.

After this, if AutoFill cannot copy the OTP to clipboard (in quick mode), it will at least show a notification with the code to simplify manual input.