Jump to content
PJS

enpass on Ubuntu 16.04 doesn't paste into terminal/terminator

Recommended Posts

I installed enpass using apt-get, saved some passwords.

I can copy and paste within enpass itself (i.e. if I copy the password and paste it into comments box of enpass itself, it pastes OK).

The copied data doesn't 'leave' enpass though, if I paste into a terminal window, the previously present clipboard content is available, enpass one is not.

If I use Ctrl-C of visible content in enpass (anything but using the copy icon), this works fine.

I short, the tool is not working.

I installed xclip, as some posts suggested to no avail.

Edited by PJS
Additional info about xclip

Share this post


Link to post
Share on other sites

Hi @PJS,

Welcome to the forums!

Please share the following details so that we can investigate where the problem could be.

  • On which device (along with OS version) are you using Enpass?
  • Which Enpass version are you using?

Share this post


Link to post
Share on other sites

Ubuntu 16.04 - 6.4.1 (643)

uname -a output:
Linux <hostname> 4.4.0-166-generic #195-Ubuntu SMP Tue Oct 1 09:35:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

installed as:

root@workstation:/home/# echo "deb https://apt.enpass.io/ stable main" > \
>   /etc/apt/sources.list.d/enpass.list
root@workstation:/home/# wget -O - https://apt.enpass.io/keys/enpass-linux.key | apt-key add -
--2020-06-22 15:51:30-- https://apt.enpass.io/keys/enpass-linux.key
Resolving apt.enpass.io (apt.enpass.io)... [...]
Connecting to apt.enpass.io (apt.enpass.io)|<Your IP>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1714 (1.7K) [binary/octet-stream]
Saving to: ‘STDOUT’

-                           100%[========================================>]   1.67K  --.-KB/s    in 0s      
Following from 

I installed xclip to no avail. 

Edited by PJS

Share this post


Link to post
Share on other sites

Hey @PJS

Thanks for the patience.

Could you please try to copy again after increasing Clipboard Timing from Enpass security settings if you haven't tried it yet. If the problem persists, please let us know the time duration you have set for clearing the clipboard in the Settings of the Enpass so that we can check this further.

Thanks.

Share this post


Link to post
Share on other sites

The timeout is 30 seconds, it takes me less than 3 seconds to try to paste the copied content.

As per your suggestion I increased the timeout to 10 minutes (600 seconds) to no avail.

 I however found out what the problem is, Enpass uses two methods for pasting:

  • Wheel click (clipboard is not populated from Enpass, content selected previously)
  • Right click + Paste (clipboard from Enpass is used)

In other words Wheel click and Right click have different content when Enpass is used (this is the only application to do so from my experience with Ubuntu). If abc is copied from a text document, and xyz is copied form Enpass by clicking on Copy icon, there are two clipboards, depending which buttons are pressed. 

I tested the two clicks/clipboards in Terminator, Terminal, Text Editor and few other apps, the behaviour is the same, i.e. only Enpass seems to use two clipboards.

Whilst I can live with the workaround, could you see on your side if this is the case?

Edited by PJS

Share this post


Link to post
Share on other sites

Hey @PJS

Thanks for sharing your valuable inputs. I have forwarded the same to the concerned team to investigate this issue further.

Thanks for the co-operation.

Share this post


Link to post
Share on other sites

Hey @PJS

Thanks for the patience.

Our QA team tried to investigate the issue in both the circumstances but they are not able to reproduce the issue. Could you please share a video of the same so that they can check again.

Thanks for your co-operation.

Share this post


Link to post
Share on other sites

Garima Singh.

I cannot share a video, I can just explain what you would see in the video.

I used both Termintor and Terminal emulators to test this.

There are two ways to paste in Terminal/Terminator

  • Mouse wheel click
  • CtrlShiftV

Selecting any text in terminal emulation software (Terminator/Terminal) by either just selecting the section, or pressing CtrlShiftC, automatically places this section into both of the buffers (i.e. mouse click and CtrlShift one)

Same happens for any text selected by CtrlC or Right click and Paste from anywhere else (Web Page, Spreadsheet, Word Processor etc.), whether CtrlShiftV or Mouse wheel is pressed the content is the same, i.e. it doesn't matter which method is used to paste.

This is not the case with Enpass, if I select Your name (Garima Singh) from this forum page by using CtrlC, and then click on a password entry containing Password1 in the Enpass software following happens in an emulator:

  • Mouse click pastes your name (Garima Singh)
  • CtrlShiftV pastes the Enpass password (Password1)

I hope this helps.

 

 

Edited by PJS

Share this post


Link to post
Share on other sites

Hey @PJS

Thanks for the detailed steps. I'm now able to see things clearly as I comprehend. I can’t provide you with an estimated timeframe right now because the developers need some time to analyze the cause. We'll keep you posted on updates.

Share this post


Link to post
Share on other sites

Hi @PJS,

Thanks for the patience.

We want to inform you that Linux has a selection buffer and a clipboard buffer. The 'Mouse wheel click' or 'Middle mouse click' pastes the last highlighted text instead of what someone copied. You can test this by highlighting some text, and without doing CTRL+C, paste directly with Mouse wheel click. This is the correct behavior, as some people might rely on selections and copied things simultaneously.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...