marius-wieschollek / passwords

A simple, yet feature rich password manager for Nextcloud
GNU Affero General Public License v3.0
208 stars 42 forks source link

[FEATURE]: clear clipboard after password was copied #596

Closed nobvaillant closed 1 year ago

nobvaillant commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Current Status

If I copy a password, the password is available in the clipboard until I copy another resource. Other applications would be able to gather information of the clipboard.

Feature Description

After copying the password, the clipboard would be cleared after a few seconds, so that no other application would be able to access the information in the clipboard.

Additional Context

This mitigates just the risk, but it is really helpful in the case, if you forgot it, that there is still a password in your clipboard and you paste it anywhere by accident. But I also don't know if this is technically possible by the browser edition?

marius-wieschollek commented 1 year ago

Browsers don't allow writing to the clipboard outside of a click action.