janlelis / pws

Command-Line Password Safe 🔐︎
MIT License
208 stars 19 forks source link

PWS not adding my password to clipboard. #13

Closed Killavus closed 9 years ago

Killavus commented 11 years ago

Hello.

Thank you for your magnificent work with this tool. Unfortunately I cannot manage PWS to work on my machine:

Specs: OS: ArchLinux (x86_64) Uname: Linux localhost 3.10.10-1-ARCH #1 SMP PREEMPT Fri Aug 30 11:30:06 CEST 2013 x86_64 GNU/Linux Ruby: MRI 2.0.0-p247 (via RVM, pws is installed in @global gemset) DE: KDE 4.11.0 (Klipper 0.9.7 is running)

What works:

What doesn't work:

Console log:

# assuming:
alias pwdstore='pws --filename /my/store/path'

master ✗ $ pwdstore get <key>
ACCESS GRANTED
The password for <key>
 is now available in your clipboard for 10 seconds

Klipper output when 10s period is on

It's a really great tool and I want to use it right now. I hope you'll read this issue and at least try to help me ;).

Yours, Marcin

terabyte commented 11 years ago

I believe pws shells out to a cli tool to put the password in your clipboard. For now you can work around this by using the "ps" command I added, which prints the password to the screen for 10 seconds, then overwrites it.

janlelis commented 10 years ago

Hey, do you still experience this issue? Can you please check, if you have xclip or xsel installed? One of the both is required on Linux systems.