summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-sk-helper/Makefile
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-sk-helper/Makefile
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-sk-helper/Makefile')
-rw-r--r--usr.bin/ssh/ssh-sk-helper/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-sk-helper/Makefile b/usr.bin/ssh/ssh-sk-helper/Makefile
index cd4515cb50d..300f743fb56 100644
--- a/usr.bin/ssh/ssh-sk-helper/Makefile
+++ b/usr.bin/ssh/ssh-sk-helper/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2019/11/07 08:38:38 naddy Exp $
+# $OpenBSD: Makefile,v 1.4 2019/11/14 21:27:31 djm Exp $
.PATH: ${.CURDIR}/..
@@ -13,5 +13,8 @@ MAN= ssh-sk-helper.8
.include <bsd.prog.mk>
+LDADD+= -lfido2 -lcbor -lusbhid
+DPADD+= ${LIBFIDO2} ${LIBCBOR} ${LIBUSBHID}
+
LDADD+= -lcrypto -lutil
DPADD+= ${LIBCRYPTO} ${LIBUTIL}