Skip to content

Conversation

sexfrance
Copy link

This pull request introduces functionality to automatically copy a TOTP (Time-based One-Time Password) code to the clipboard after importing an entry, provided the code is valid and not encrypted. Additionally, it enhances user feedback by sending appropriate messages based on the success or failure of the clipboard operation.

Key changes:

New functionality for TOTP code handling:

  • Added logic to retrieve the newly imported entry, apply encryption, and check the validity of the TOTP code. If valid, the code is copied to the clipboard, and a success message is logged. (src/background.ts, src/background.tsR236-R251)
  • Enhanced user feedback by sending a message to the active tab indicating whether the TOTP code was successfully copied or just added. (src/background.ts, src/background.tsR236-R251)

@sexfrance
Copy link
Author

bump

@sexfrance
Copy link
Author

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants