Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard not cleared when copying passwords from "Entry > Advanced > Additional attributes > [value of attribute]" #10524

Open
notDavid opened this issue Mar 31, 2024 · 5 comments
Labels

Comments

@notDavid
Copy link

Overview

Hi there, not sure if it's a bug, or a feature request... please advise thank you!

Steps to Reproduce

  1. Enable clipboard clearing after X seconds
  2. Create an entry, generate a password, and save it in an "Advanced Attribute" field
  3. Click "Protect" and "Reveal"
  4. Select the password from the "Advanced Attribute" value and copy the password to the clipboard with Cmd + v
  5. The clipboard is never cleared (i think it's also not marked as sensitive / a password, in the clipboard, either)

Expected Behavior

To clear the clipboard after X seconds

Actual Behavior

The clipboard is never cleared

KeePassXC - Version 2.7.7
Revision: 68e2dd8

Qt 5.15.11
Debugging mode is disabled.

Operating system: macOS 14.4
CPU architecture: arm64
Kernel: darwin 23.4.0

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • Passkeys
  • SSH Agent
  • KeeShare
  • YubiKey
  • Quick Unlock

Cryptographic libraries:

  • Botan 3.1.1

Operating System: macOS

@notDavid notDavid added the bug label Mar 31, 2024
@notDavid
Copy link
Author

PS. Note that, the password is cleared correctly, after using the "Password Generator", which i mentioned in Step 2 above... but not when copying to the clipboard from an "Advanced Attribute".

@droidmonkey
Copy link
Member

copying directly from a text edit field does not invoke the clipboard security since that process is handled directly by Qt. If you want to copy advanced attributes to clipboard with clearing use the right-click context menu from the main entry view.

image

@notDavid
Copy link
Author

notDavid commented Apr 1, 2024

Thank you @droidmonkey , good to know there's an alternative.

I doubt whether the average users will be aware of this, it seems the most intuitive way to find and copy these passwords. So im curious, is it not implemented due to technical difficulties, or...?

Would it be a good idea to consider implementing, to prevent "leaks" ? (i only see advantages.)

Please consider, or feel free to close this issue otherwise. Thank you!

@kaoneko
Copy link

kaoneko commented Apr 6, 2024

I'd say that right click menu is exactly where most users will look. Or the preview panel, where you can double click on an attribute's value to copy it (even when it's obscured). "Editing" an entry just to copy one of its secrets? That just seems weird to me 😄 And a very complicated way to achieve your goal ⛳️

@notDavid
Copy link
Author

notDavid commented Apr 6, 2024

I'd say that right click menu is exactly where most users will look.

Yes, if you know what you're after. But not if you need to get an overview first of which items are in there.

Or the preview panel, where you can double click on an attribute's value to copy it

I didn't even know that! ☺️ (and i've been using KeePassXC for many years.) It's sort of, a hidden feature... 🤷🏼‍♂️

Good to know, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants