Issue with clipboard copy of TOTP

heubergen
heubergen
Community Member

STR:
1) Copy a interesting youtube link into the clipboard
2) Open a website where a TOTP is already configured
3) Auto-Fill the username/password, 1Password will now copy the current OTP in the clipboard
4) Abort the sign in process and restart it again within 30 seconds
5) Auto-Fill the username/password, 1Password will now copy the current OTP in the clipboard
6) Wait till 1Passwords restore the clipboard

Expected results:
My old clipboard (the youtube link) is in the clipboard again

Actual results:
A OTP (probably the first one) is in the clipboard

PS: I promise it happened in a real case scenario, I didn't try to find the issue :)


1Password Version: 6.8.6
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • ag_kevin
    edited February 2018

    Hi @heubergen ,

    When you fill a site with a TOTP, it copes what was in the clipboard and puts it back after 30 seconds. So if you make a second attempt before 30 seconds it copies the TOTP value from the first attempt and thus overwrites the original clipboard contents.

    We are aware of this issue but do not have a fix for it just yet. Thanks for taking the time to write up the steps to reproduce it.

    Cheers,
    Kevin

    ref: OPM-5354

  • heubergen
    heubergen
    Community Member

    Hi @ag_kevin
    An idea to fix this would be something like this:
    Save keyboard in keyboardoriginal
    If keyboardoriginal != keyboard(now) then copyTOPT else save keyboard in keyboardoriginal, copy TOPT.

  • Lars
    Lars
    1Password Alumni

    @heubergen - thanks for the suggestion! :)

This discussion has been closed.