summaryrefslogtreecommitdiffstats
path: root/lib/libfido2/man
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2020-08-23 03:34:57 +0000
committerdjm <djm@openbsd.org>2020-08-23 03:34:57 +0000
commit8b51a2b13e7075d5cbacf4b960d2ea4c9d08c6b2 (patch)
treeb420cb42c71afd5e24f44756ee8471f1fe816011 /lib/libfido2/man
parentUse sysctl_bounded_args for simple cases in cpu_sysctl on i386 (diff)
downloadwireguard-openbsd-8b51a2b13e7075d5cbacf4b960d2ea4c9d08c6b2.tar.xz
wireguard-openbsd-8b51a2b13e7075d5cbacf4b960d2ea4c9d08c6b2.zip
update to libfido2 46710ac06, picking up a few API changes
ok tb@ deraadt@ NB. major crank
Diffstat (limited to 'lib/libfido2/man')
-rw-r--r--lib/libfido2/man/fido_dev_get_touch_begin.34
-rw-r--r--lib/libfido2/man/fido_dev_open.313
2 files changed, 14 insertions, 3 deletions
diff --git a/lib/libfido2/man/fido_dev_get_touch_begin.3 b/lib/libfido2/man/fido_dev_get_touch_begin.3
index a1c5ce635c3..5c987a1a9ad 100644
--- a/lib/libfido2/man/fido_dev_get_touch_begin.3
+++ b/lib/libfido2/man/fido_dev_get_touch_begin.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: August 11 2020 $
+.Dd $Mdocdate: August 23 2020 $
.Dt FIDO_DEV_GET_TOUCH_BEGIN 3
.Os
.Sh NAME
@@ -14,7 +14,7 @@
.Ft int
.Fn fido_dev_get_touch_begin "fido_dev_t *dev"
.Ft int
-.Fn fido_dev_get_touch_status "fido_dev_t *dev" "int *touched" "int *pin_set" "int ms"
+.Fn fido_dev_get_touch_status "fido_dev_t *dev" "int *touched" "int ms"
.Sh DESCRIPTION
The functions described in this page allow an application to
asynchronously wait for touch on a FIDO authenticator.
diff --git a/lib/libfido2/man/fido_dev_open.3 b/lib/libfido2/man/fido_dev_open.3
index 22f7baa1f58..1f78fdf3c7b 100644
--- a/lib/libfido2/man/fido_dev_open.3
+++ b/lib/libfido2/man/fido_dev_open.3
@@ -2,7 +2,7 @@
.\" Use of this source code is governed by a BSD-style
.\" license that can be found in the LICENSE file.
.\"
-.Dd $Mdocdate: August 11 2020 $
+.Dd $Mdocdate: August 23 2020 $
.Dt FIDO_DEV_OPEN 3
.Os
.Sh NAME
@@ -16,6 +16,7 @@
.Nm fido_dev_is_fido2 ,
.Nm fido_dev_supports_cred_prot ,
.Nm fido_dev_supports_pin ,
+.Nm fido_dev_has_pin ,
.Nm fido_dev_protocol ,
.Nm fido_dev_build ,
.Nm fido_dev_flags ,
@@ -44,6 +45,8 @@
.Fn fido_dev_supports_cred_prot "const fido_dev_t *dev"
.Ft bool
.Fn fido_dev_supports_pin "const fido_dev_t *dev"
+.Ft bool
+.Fn fido_dev_has_pin "const fido_dev_t *dev"
.Ft uint8_t
.Fn fido_dev_protocol "const fido_dev_t *dev"
.Ft uint8_t
@@ -139,6 +142,14 @@ if
supports FIDO 2.0 Client PINs.
.Pp
The
+.Fn fido_dev_has_pin
+function returns
+.Dv true
+if
+.Fa dev
+has a FIDO 2.0 Client PIN set.
+.Pp
+The
.Fn fido_dev_protocol
function returns the CTAPHID protocol version identifier of
.Fa dev .