yubikey-personalization: initial commit

This commit is contained in:
Tim Biermann 2019-06-11 23:45:50 +02:00
parent 430ca4375f
commit a9e4be5fe2
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
5 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,35 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/udev/
drwxr-xr-x root/root etc/udev/rules.d/
-rw-r--r-- root/root etc/udev/rules.d/10-security-key.rules
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/udev/
drwxr-xr-x root/root lib/udev/rules.d/
-rw-r--r-- root/root lib/udev/rules.d/69-yubikey.rules
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ykchalresp
-rwxr-xr-x root/root usr/bin/ykinfo
-rwxr-xr-x root/root usr/bin/ykpersonalize
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/ykpers-1/
-rw-r--r-- root/root usr/include/ykpers-1/ykcore.h
-rw-r--r-- root/root usr/include/ykpers-1/ykdef.h
-rw-r--r-- root/root usr/include/ykpers-1/ykpbkdf2.h
-rw-r--r-- root/root usr/include/ykpers-1/ykpers-version.h
-rw-r--r-- root/root usr/include/ykpers-1/ykpers.h
-rw-r--r-- root/root usr/include/ykpers-1/ykstatus.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libykpers-1.a
-rwxr-xr-x root/root usr/lib/libykpers-1.la
lrwxrwxrwx root/root usr/lib/libykpers-1.so -> libykpers-1.so.1.19.3
lrwxrwxrwx root/root usr/lib/libykpers-1.so.1 -> libykpers-1.so.1.19.3
-rwxr-xr-x root/root usr/lib/libykpers-1.so.1.19.3
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/ykpers-1.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/ykchalresp.1.gz
-rw-r--r-- root/root usr/share/man/man1/ykinfo.1.gz
-rw-r--r-- root/root usr/share/man/man1/ykpersonalize.1.gz

View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38h28PN1B9uUyZ0vZOoIYnrXuHqmyjhh1JdsEyfnYbTRE63jPbLTIrhMdSbtQ/6R4oNz3dufVx+yEKRJGk/Kkwk=
SHA256 (Pkgfile) = 68fdfca43470e1b63198941a652cac8bd88a0898227ef89ca3ed416d25a69397
SHA256 (.footprint) = 2ffbdca01baa18a0a06f13cb35015284714e8f77af777b150446cac3467387c6
SHA256 (yubikey-personalization-v1.19.3.tar.gz) = a59273938fb9d1e1e059e319e2d73bac2f121dad53b76efb49b1631839cb2afc
SHA256 (10-security-key.rules) = e7cd6d8e595ceda4e8d907f2a579e88d2beb49a3d31eb70ef7a9fcca879f55d4

View File

@ -0,0 +1,2 @@
#Rules to allow group wheel to access your yubikey
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", GROUP="wheel"

View File

@ -0,0 +1,20 @@
# Description: Yubico YubiKey Personalization library and tool
# URL: https://github.com/Yubico/yubikey-personalization
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: yubico-c-client libusb
name=yubikey-personalization
version=1.19.3
release=1
source=(https://github.com/Yubico/yubikey-personalization/archive/v$version/$name-v$version.tar.gz 10-security-key.rules)
build() {
cd $name-$version
autoreconf --install
./configure --prefix=/usr \
--with-udevrulesdir=/lib/udev/rules.d/
make
make DESTDIR=$PKG install
install -D -m0644 $SRC/10-security-key.rules \
$PKG/etc/udev/rules.d/10-security-key.rules
}

View File

@ -0,0 +1 @@
You may want to change the group in 10-security-key.rules to something other then wheel, lp maybe?