generate -n does not copy password properly #20

Closed
opened 2026-09-09 09:01:19 +00:00 by kashish · 1 comment
Owner

When generating a new password without saving.

Steps to reproduce:

  • Bug 1
  1. Run kosh generate -n
  2. Clipboard has an empty line copied to it
  • Bug 2
  1. Run kosh generate <label> <user>
  2. Clipboard has nothing copied to it

image

When generating a new password without saving. Steps to reproduce: - Bug 1 1. Run `kosh generate -n` 2. Clipboard has an empty line copied to it - Bug 2 1. Run `kosh generate <label> <user>` 2. Clipboard has nothing copied to it ![image](/attachments/04b25d59-b0ce-4fd5-acfe-1effb62ec638)
kashish self-assigned this 2026-09-09 09:01:42 +00:00
Author
Owner

This happened due to kosh process exiting before it can actually transfer the content to the DE's clipboard service.

This was fixed by #21 by using klip that uses native APIs to copy text to clipboard and hide sensitive data from clipboard as well.

This happened due to kosh process exiting before it can actually transfer the content to the DE's clipboard service. This was fixed by #21 by using `klip` that uses native APIs to copy text to clipboard and hide sensitive data from clipboard as well.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
plutolab/kosh#20
No description provided.