iOS - Bitwarden does not clear the TOTP 6-digit code from the clipboard. #1180

Closed
opened 2025-11-26 22:41:19 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @SergeantConfused on GitHub (Jan 12, 2021).

Describe the Bug

The TOTP 6-digit code that is generated in Bitwarden and automatically copied into the clipboard is not cleared from the clipboard after the 'Clear Clipboard' duration passes.

Steps To Reproduce

  1. Open your iOS Bitwarden client.
  2. Go to Settings > Options > and set 'Clear Clipboard' to 10 seconds.
  3. Log into an account with TOTP 2FA that is generated in Bitwarden.

Expected Result

That the clipboard would be cleared after 10 seconds.

Actual Result

The clipboard contains the TOTP 6-digit code longer than 10 seconds.

Screenshots or Videos

N/A.

Environment

  • Device: iPhone SE 2020.
  • Operating system: iOS 14.3.
  • Build Version: 2.7.2 (401).
  • Is this a Beta release? N.

Additional Context

N/A.

Originally created by @SergeantConfused on GitHub (Jan 12, 2021). ## Describe the Bug The TOTP 6-digit code that is generated in Bitwarden and automatically copied into the clipboard is not cleared from the clipboard after the 'Clear Clipboard' duration passes. ## Steps To Reproduce 1. Open your iOS Bitwarden client. 2. Go to Settings > Options > and set 'Clear Clipboard' to 10 seconds. 3. Log into an account with TOTP 2FA that is generated in Bitwarden. ## Expected Result That the clipboard would be cleared after 10 seconds. ## Actual Result The clipboard contains the TOTP 6-digit code longer than 10 seconds. ## Screenshots or Videos N/A. ## Environment - Device: iPhone SE 2020. - Operating system: iOS 14.3. - Build Version: 2.7.2 (401). - Is this a Beta release? N. ## Additional Context N/A.
Author
Owner

@lugaetsch commented on GitHub (Jan 16, 2021):

same disfunction in Android

Environment

  • Device: Samsung Galaxy A5 (SM-A500FU)
  • Android 6.0.1
  • Build Version: 2.7.2
  • Beta release? No
@lugaetsch commented on GitHub (Jan 16, 2021): same disfunction in Android Environment - Device: Samsung Galaxy A5 (SM-A500FU) - Android 6.0.1 - Build Version: 2.7.2 - Beta release? No
Author
Owner

@AegisTrail commented on GitHub (Feb 2, 2021):

It will be ideal if you set clear clipboard after 30 seconds rather than 10 seconds!

@AegisTrail commented on GitHub (Feb 2, 2021): It will be ideal if you set clear clipboard after 30 seconds rather than 10 seconds!
Author
Owner

@lugaetsch commented on GitHub (Feb 2, 2021):

It will be ideal if you set clear clipboard after 30 seconds rather than 10 seconds!

set it to 30 seconds - no difference (on iOS).

@lugaetsch commented on GitHub (Feb 2, 2021): > It will be ideal if you set clear clipboard after 30 seconds rather than 10 seconds! set it to 30 seconds - no difference (on iOS).
Author
Owner

@AegisTrail commented on GitHub (Feb 2, 2021):

Try changing you keyboard and turn off clipboard!

@AegisTrail commented on GitHub (Feb 2, 2021): Try changing you keyboard and turn off clipboard!
Author
Owner

@lugaetsch commented on GitHub (Feb 2, 2021):

Try changing you keyboard and turn off clipboard!

This issue is about using the clipboard to copy TOTP after auto-filling password.
I can change the keyboard, but why should i disable clipboard then?

@lugaetsch commented on GitHub (Feb 2, 2021): > Try changing you keyboard and turn off clipboard! This issue is about using the clipboard to copy TOTP after auto-filling password. I can change the keyboard, but why should i disable clipboard then?
Author
Owner

@AegisTrail commented on GitHub (Feb 2, 2021):

Then try clipboard cleaner until the bug fixed

@AegisTrail commented on GitHub (Feb 2, 2021): Then try clipboard cleaner until the bug fixed
Author
Owner

@lugaetsch commented on GitHub (Feb 2, 2021):

Then try clipboard cleaner until the bug fixed

That's the plan :) I build an iOS-Shortcut for clearing the clipboard.
Thanks for your help.

@lugaetsch commented on GitHub (Feb 2, 2021): > Then try clipboard cleaner until the bug fixed That's the plan :) I build an iOS-Shortcut for clearing the clipboard. Thanks for your help.
Author
Owner

@vvolkgang commented on GitHub (Jun 20, 2024):

Issue migrated to https://github.com/bitwarden/mobile/issues/1217

@vvolkgang commented on GitHub (Jun 20, 2024): Issue migrated to https://github.com/bitwarden/mobile/issues/1217
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1180