Package Details: yubico-piv-tool 2.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: yubico-piv-tool
Description: Tool to interact with the PIV applet on a YubiKey NEO
Upstream URL:
Licenses: GPL3
Submitter: travisghansen
Maintainer: travisghansen
Last Packager: travisghansen
Votes: 23
Popularity: 0.43
First Submitted: 2014-12-29 06:34
Last Updated: 2021-10-19 17:19

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

travisghansen commented on 2018-10-25 21:17

@JohnMaguire I've updated the PKGBUILD and changed the dep to be just openssl instead of openssl-1.0. Let me know how that works for ya..

JohnMaguire commented on 2018-10-25 14:10

@travisghansen In the past month or so, I believe coinciding with an OpenSSL upgrade, I stopped being able to add Yubikeys to ssh-agent via

It seems that Yubico has added support for OpenSSL 1.1.1, and linking against OpenSSL 1.0.2 was causing issues for me. I was able to get a working build by:

a) Downloading the PKGBUILD
b) Removing PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
c) Running makepkg -s

Step (c) still did not produce a working build if I had artifacts from a previous build, before step (b).

grawity commented on 2018-08-14 06:29

Missing makedepends: gengetopt and help2man

breitj commented on 2018-08-13 17:41


the build fails on my system with the following message:

"/build/yubico-piv-tool/src/yubico-piv-tool-1.6.0/build-aux/missing: line 81: gengetopt: command not found"

If I manually install the package 'gengetopt', it builds successfully. Could you please add that package to the dependencies? Also, thanks for maintaining this package. :)

rtfm3514 commented on 2017-12-10 17:08


thanks for maintaining this package.

Could you add "armv7h" to the supported architectures, please? The package builds and works fine on my Raspberry Pi 2/3.

Thanks a lot, rtfm3514

grawity commented on 2017-10-26 08:53

Import the key using `gpg --recv-key [id]`, or enable the "auto-key-retrieve" option in your ~/.gnupg/gpg.conf.

jtyr commented on 2017-10-26 08:10

How do I make this install after you switched to the PGP checking? I'm getting this:

==> Verifying source file signatures with gpg...
yubico-piv-tool-1.4.4.tar.gz ... FAILED (unknown public key BCA00FD4B2168C0A)

travisghansen commented on 2017-10-25 02:07

@emlun thanks for the feedback. I've taken it into consideration and updated the pkg.

emlun commented on 2017-10-24 10:49

Thank you for packaging this! Since upstream provides PGP signatures, I suggest swithing to using PGP integrity checks instead of md5sums. The signing keys are listed at [1]; the key used for yubico-piv-tool is 0A3B 0262 BCA1 7053 07D5 FF06 BCA0 0FD4 B216 8C0A.


Thanks again!
/Emil Lundberg <>

Suggested patch:

diff --git a/PKGBUILD b/PKGBUILD
index 70cdf9f..e8737c5 100644
@@ -8,8 +8,12 @@ arch=('i686' 'x86_64')
depends=('pcsclite' 'openssl-1.0')
+ "${pkgname}-${pkgver}.tar.gz"
+ "${pkgname}-${pkgver}.tar.gz.sig"
+md5sums=('SKIP' 'SKIP')

build() {

Anonymous comment on 2017-04-29 19:10

The package can be built by adding PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig and a dependency on openssl-1.0.