summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-keysign
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-11-14 21:27:32 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-11-14 21:27:32 +0000
commite965dd2eb4e8bf7a5ecc675f2759bedcdf778e81 (patch)
tree6e2b0e271dd9d3c874712c95eab807f95e53ebb4 /usr.bin/ssh/ssh-keysign
parent4f8128275520fab0ab5796ebff3aea667fb0b2bf (diff)
directly support U2F/FIDO2 security keys in OpenSSH by linking
against the (previously external) USB HID middleware. The dlopen() capability still exists for alternate middlewares, e.g. for Bluetooth, NFC and test/debugging.
Diffstat (limited to 'usr.bin/ssh/ssh-keysign')
-rw-r--r--usr.bin/ssh/ssh-keysign/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keysign/Makefile b/usr.bin/ssh/ssh-keysign/Makefile
index 0da2b93b2af..15460055ff0 100644
--- a/usr.bin/ssh/ssh-keysign/Makefile
+++ b/usr.bin/ssh/ssh-keysign/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2018/12/27 03:25:24 djm Exp $
+# $OpenBSD: Makefile,v 1.17 2019/11/14 21:27:31 djm Exp $
.PATH: ${.CURDIR}/..
@@ -16,5 +16,8 @@ MAN= ssh-keysign.8
.include <bsd.prog.mk>
+LDADD+= -lfido2 -lcbor -lusbhid
+DPADD+= ${LIBFIDO2} ${LIBCBOR} ${LIBUSBHID}
+
LDADD+= -lcrypto -lutil -lz
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}