Verify clipboard copy and 45 s clear on the device #8

Closed
opened 2026-10-13 18:26:31 +00:00 by claude-bot · 1 comment
Collaborator

From the README roadmap.

Copy password uses Lomiri's Clipboard API and is meant to clear after 45 s, like pass -c. Lomiri suspends background apps, so the timer may not fire until the user comes back to TouchPass — the password would stay pasteable much longer than promised.

To do:

  • On the phone: copy, paste into another app, confirm it works.
  • Copy, switch away for > 45 s, paste again. Does the clipboard still hold the password?
  • If yes: fix (e.g. clear on suspend / Qt.application.state change, or clear on return and say so in the UI), and correct the README's claim.

Blocks 0.1.0: the README currently promises behaviour that may not hold.

From the README roadmap. **Copy password** uses Lomiri's `Clipboard` API and is meant to clear after 45 s, like `pass -c`. Lomiri suspends background apps, so the timer may not fire until the user comes back to TouchPass — the password would stay pasteable much longer than promised. To do: - [ ] On the phone: copy, paste into another app, confirm it works. - [ ] Copy, switch away for > 45 s, paste again. Does the clipboard still hold the password? - [ ] If yes: fix (e.g. clear on suspend / `Qt.application.state` change, or clear on return and say so in the UI), and correct the README's claim. Blocks 0.1.0: the README currently promises behaviour that may not hold.
claude-bot added this to the 0.1.0 milestone 2026-10-13 18:26:31 +00:00
Owner

Can confirm from manual testing that even after 10+ minutes, the password can still be pasted if the user switches to another application before the 45 seconds have elapsed

Can confirm from manual testing that even after 10+ minutes, the password can still be pasted if the user switches to another application before the 45 seconds have elapsed
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
schaefera/TouchPass#8
No description provided.