Bug#935316: keepassxc-cli clip requires xclip

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#935316: keepassxc-cli clip requires xclip

Étienne Mollier
Package: keepassxc
Version: 2.3.4+dfsg.1-1
Severity: normal

Dear Maintainer,

I was playing around with keepassxc and its command line
oriented counterpart keepassxc-cli, and when trying to get a
given password out of the database, I stumbled upon the
following:

        $ keepassxc-cli clip -k kpxpv.key kdb.kdbx "/entries/entry" 300
        Insert password to unlock kdb.kdbx:
        Unable to start program xclip
        $ echo $?
        1

The error message was clear enough to quickly fix the problem by
installing the xclip package manually.  Once done, the situation
is back to normal and I actually get the password in my X
buffer:

        $ keepassxc-cli clip -k kpxpv.key kdb.kdbx "/entries/entry" 300
        Insert password to unlock kdb.kdbx:
        Entry's password copied to the clipboard!
        Clearing the clipboard in 284 seconds...

But I was wondering, wouldn't it be cleaner to put xclip as a
recommended package, or at least suggest it?

Kind regards,
--
Étienne Mollier


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, riscv64

Kernel: Linux 5.2.9-k10 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages keepassxc depends on:
ii  libargon2-1       0~20171227-0.2
ii  libc6             2.28-10
ii  libgcrypt20       1.8.4-5
ii  libqt5core5a      5.11.3+dfsg1-4
ii  libqt5dbus5       5.11.3+dfsg1-4
ii  libqt5gui5        5.11.3+dfsg1-4
ii  libqt5network5    5.11.3+dfsg1-4
ii  libqt5widgets5    5.11.3+dfsg1-4
ii  libqt5x11extras5  5.11.3-2
ii  libsodium23       1.0.17-1
ii  libstdc++6        9.2.1-1
ii  libx11-6          2:1.6.7-1
ii  libxi6            2:1.7.9-1
ii  libxtst6          2:1.2.3-1
ii  libykpers-1-1     1.20.0-1+b1
ii  libzxcvbn0        2.4+dfsg-2
ii  zlib1g            1:1.2.11.dfsg-1+b1

keepassxc recommends no packages.

keepassxc suggests no packages.

-- no debconf information


signature.asc (673 bytes) Download Attachment