jcs's openbsd hax
openbsd

add .Lb libfido2 libcbor libcrypto libz ; ok djm@ upstream likes this in principle, but wants to delay merging the patch until groff perfectly supports this style, see https://github.com/Yubico/libfido2/pull/877

schwarze 261b85fc bc55f572

+56 -28
+2 -1
lib/libfido2/man/eddsa_pk_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt EDDSA_PK_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 13 13 .Nm eddsa_pk_to_EVP_PKEY 14 14 .Nd FIDO2 COSE EDDSA API 15 15 .Sh SYNOPSIS 16 + .Lb libfido2 libcbor libcrypto libz 16 17 .In openssl/evp.h 17 18 .In fido/eddsa.h 18 19 .Ft eddsa_pk_t *
+2 -1
lib/libfido2/man/es256_pk_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt ES256_PK_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 14 14 .Nm es256_pk_to_EVP_PKEY 15 15 .Nd FIDO2 COSE ES256 API 16 16 .Sh SYNOPSIS 17 + .Lb libfido2 libcbor libcrypto libz 17 18 .In openssl/ec.h 18 19 .In fido/es256.h 19 20 .Ft es256_pk_t *
+2 -1
lib/libfido2/man/fido_assert_allow_cred.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_ASSERT_ALLOW_CRED 3 7 7 .Os 8 8 .Sh NAME 9 9 .Nm fido_assert_allow_cred 10 10 .Nd allow a credential in a FIDO2 assertion 11 11 .Sh SYNOPSIS 12 + .Lb libfido2 libcbor libcrypto libz 12 13 .In fido.h 13 14 .Ft int 14 15 .Fn fido_assert_allow_cred "fido_assert_t *assert" "const unsigned char *ptr" "size_t len"
+2 -1
lib/libfido2/man/fido_assert_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_ASSERT_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 33 33 .Nm fido_assert_flags 34 34 .Nd FIDO2 assertion API 35 35 .Sh SYNOPSIS 36 + .Lb libfido2 libcbor libcrypto libz 36 37 .In fido.h 37 38 .Ft fido_assert_t * 38 39 .Fn fido_assert_new "void"
+2 -1
lib/libfido2/man/fido_assert_set_authdata.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_ASSERT_SET_AUTHDATA 3 7 7 .Os 8 8 .Sh NAME ··· 20 20 .Nm fido_assert_set_sig 21 21 .Nd set parameters of a FIDO2 assertion 22 22 .Sh SYNOPSIS 23 + .Lb libfido2 libcbor libcrypto libz 23 24 .In fido.h 24 25 .Bd -literal 25 26 typedef enum {
+2 -1
lib/libfido2/man/fido_assert_verify.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_ASSERT_VERIFY 3 7 7 .Os 8 8 .Sh NAME 9 9 .Nm fido_assert_verify 10 10 .Nd verifies the signature of a FIDO2 assertion statement 11 11 .Sh SYNOPSIS 12 + .Lb libfido2 libcbor libcrypto libz 12 13 .In fido.h 13 14 .Ft int 14 15 .Fn fido_assert_verify "const fido_assert_t *assert" "size_t idx" "int cose_alg" "const void *pk"
+2 -1
lib/libfido2/man/fido_bio_dev_get_info.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_BIO_DEV_GET_INFO 3 7 7 .Os 8 8 .Sh NAME ··· 15 15 .Nm fido_bio_dev_set_template_name 16 16 .Nd FIDO2 biometric authenticator API 17 17 .Sh SYNOPSIS 18 + .Lb libfido2 libcbor libcrypto libz 18 19 .In fido.h 19 20 .In fido/bio.h 20 21 .Ft int
+2 -1
lib/libfido2/man/fido_bio_enroll_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_BIO_ENROLL_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 12 12 .Nm fido_bio_enroll_remaining_samples 13 13 .Nd FIDO2 biometric enrollment API 14 14 .Sh SYNOPSIS 15 + .Lb libfido2 libcbor libcrypto libz 15 16 .In fido.h 16 17 .In fido/bio.h 17 18 .Bd -literal
+2 -1
lib/libfido2/man/fido_bio_info_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_BIO_INFO_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 12 12 .Nm fido_bio_info_max_samples 13 13 .Nd FIDO2 biometric sensor information API 14 14 .Sh SYNOPSIS 15 + .Lb libfido2 libcbor libcrypto libz 15 16 .In fido.h 16 17 .In fido/bio.h 17 18 .Ft fido_bio_info_t *
+2 -1
lib/libfido2/man/fido_bio_template.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_BIO_TEMPLATE 3 7 7 .Os 8 8 .Sh NAME ··· 19 19 .Nm fido_bio_template_set_name 20 20 .Nd FIDO2 biometric template API 21 21 .Sh SYNOPSIS 22 + .Lb libfido2 libcbor libcrypto libz 22 23 .In fido.h 23 24 .In fido/bio.h 24 25 .Ft fido_bio_template_t *
+2 -1
lib/libfido2/man/fido_cbor_info_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_CBOR_INFO_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 33 33 .Nm fido_cbor_info_fwversion 34 34 .Nd FIDO2 CBOR Info API 35 35 .Sh SYNOPSIS 36 + .Lb libfido2 libcbor libcrypto libz 36 37 .In fido.h 37 38 .Ft fido_cbor_info_t * 38 39 .Fn fido_cbor_info_new "void"
+2 -1
lib/libfido2/man/fido_cred_exclude.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_CRED_EXCLUDE 3 7 7 .Os 8 8 .Sh NAME 9 9 .Nm fido_cred_exclude 10 10 .Nd appends a credential ID to a credential's list of excluded credentials 11 11 .Sh SYNOPSIS 12 + .Lb libfido2 libcbor libcrypto libz 12 13 .In fido.h 13 14 .Ft int 14 15 .Fn fido_cred_exclude "fido_cred_t *cred" "const unsigned char *ptr" "size_t len"
+2 -1
lib/libfido2/man/fido_cred_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_CRED_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 42 42 .Nm fido_cred_sigcount 43 43 .Nd FIDO2 credential API 44 44 .Sh SYNOPSIS 45 + .Lb libfido2 libcbor libcrypto libz 45 46 .In fido.h 46 47 .Ft fido_cred_t * 47 48 .Fn fido_cred_new "void"
+2 -1
lib/libfido2/man/fido_cred_set_authdata.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_CRED_SET_AUTHDATA 3 7 7 .Os 8 8 .Sh NAME ··· 26 26 .Nm fido_cred_set_type 27 27 .Nd set parameters of a FIDO2 credential 28 28 .Sh SYNOPSIS 29 + .Lb libfido2 libcbor libcrypto libz 29 30 .In fido.h 30 31 .Bd -literal 31 32 typedef enum {
+2 -1
lib/libfido2/man/fido_cred_verify.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_CRED_VERIFY 3 7 7 .Os 8 8 .Sh NAME ··· 10 10 .Nm fido_cred_verify_self 11 11 .Nd verify the attestation signature of a FIDO2 credential 12 12 .Sh SYNOPSIS 13 + .Lb libfido2 libcbor libcrypto libz 13 14 .In fido.h 14 15 .Ft int 15 16 .Fn fido_cred_verify "const fido_cred_t *cred"
+2 -1
lib/libfido2/man/fido_credman_metadata_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_CREDMAN_METADATA_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 28 28 .Nm fido_credman_get_dev_rp 29 29 .Nd FIDO2 credential management API 30 30 .Sh SYNOPSIS 31 + .Lb libfido2 libcbor libcrypto libz 31 32 .In fido.h 32 33 .In fido/credman.h 33 34 .Ft fido_credman_metadata_t *
+2 -1
lib/libfido2/man/fido_dev_enable_entattest.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_ENABLE_ENTATTEST 3 7 7 .Os 8 8 .Sh NAME ··· 13 13 .Nm fido_dev_set_pin_minlen_rpid 14 14 .Nd CTAP 2.1 configuration authenticator API 15 15 .Sh SYNOPSIS 16 + .Lb libfido2 libcbor libcrypto libz 16 17 .In fido.h 17 18 .In fido/config.h 18 19 .Ft int
+2 -1
lib/libfido2/man/fido_dev_get_assert.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_GET_ASSERT 3 7 7 .Os 8 8 .Sh NAME 9 9 .Nm fido_dev_get_assert 10 10 .Nd obtains an assertion from a FIDO2 device 11 11 .Sh SYNOPSIS 12 + .Lb libfido2 libcbor libcrypto libz 12 13 .In fido.h 13 14 .Ft int 14 15 .Fn fido_dev_get_assert "fido_dev_t *dev" "fido_assert_t *assert" "const char *pin"
+2 -1
lib/libfido2/man/fido_dev_get_touch_begin.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_GET_TOUCH_BEGIN 3 7 7 .Os 8 8 .Sh NAME ··· 10 10 .Nm fido_dev_get_touch_status 11 11 .Nd asynchronously wait for touch on a FIDO2 authenticator 12 12 .Sh SYNOPSIS 13 + .Lb libfido2 libcbor libcrypto libz 13 14 .In fido.h 14 15 .Ft int 15 16 .Fn fido_dev_get_touch_begin "fido_dev_t *dev"
+2 -1
lib/libfido2/man/fido_dev_info_manifest.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_INFO_MANIFEST 3 7 7 .Os 8 8 .Sh NAME ··· 18 18 .Nm fido_dev_info_set 19 19 .Nd FIDO2 device discovery functions 20 20 .Sh SYNOPSIS 21 + .Lb libfido2 libcbor libcrypto libz 21 22 .In fido.h 22 23 .Ft int 23 24 .Fn fido_dev_info_manifest "fido_dev_info_t *devlist" "size_t ilen" "size_t *olen"
+2 -1
lib/libfido2/man/fido_dev_largeblob_get.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 31 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_LARGEBLOB_GET 3 7 7 .Os 8 8 .Sh NAME ··· 13 13 .Nm fido_dev_largeblob_set_array 14 14 .Nd FIDO2 large blob API 15 15 .Sh SYNOPSIS 16 + .Lb libfido2 libcbor libcrypto libz 16 17 .In fido.h 17 18 .Ft int 18 19 .Fn fido_dev_largeblob_get "fido_dev_t *dev" "const unsigned char *key_ptr" "size_t key_len" "unsigned char **blob_ptr" "size_t *blob_len"
+2 -1
lib/libfido2/man/fido_dev_make_cred.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_MAKE_CRED 3 7 7 .Os 8 8 .Sh NAME 9 9 .Nm fido_dev_make_cred 10 10 .Nd generates a new credential on a FIDO2 device 11 11 .Sh SYNOPSIS 12 + .Lb libfido2 libcbor libcrypto libz 12 13 .In fido.h 13 14 .Ft int 14 15 .Fn fido_dev_make_cred "fido_dev_t *dev" "fido_cred_t *cred" "const char *pin"
+2 -1
lib/libfido2/man/fido_dev_open.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_OPEN 3 7 7 .Os 8 8 .Sh NAME ··· 31 31 .Nm fido_dev_minor 32 32 .Nd FIDO2 device open/close and related functions 33 33 .Sh SYNOPSIS 34 + .Lb libfido2 libcbor libcrypto libz 34 35 .In fido.h 35 36 .Ft int 36 37 .Fn fido_dev_open "fido_dev_t *dev" "const char *path"
+2 -1
lib/libfido2/man/fido_dev_set_io_functions.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_SET_IO_FUNCTIONS 3 7 7 .Os 8 8 .Sh NAME ··· 13 13 .Nm fido_dev_io_handle 14 14 .Nd FIDO2 device I/O interface 15 15 .Sh SYNOPSIS 16 + .Lb libfido2 libcbor libcrypto libz 16 17 .In fido.h 17 18 .Bd -literal 18 19 typedef void *fido_dev_io_open_t(const char *);
+2 -1
lib/libfido2/man/fido_dev_set_pin.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_DEV_SET_PIN 3 7 7 .Os 8 8 .Sh NAME ··· 12 12 .Nm fido_dev_reset 13 13 .Nd FIDO2 device management functions 14 14 .Sh SYNOPSIS 15 + .Lb libfido2 libcbor libcrypto libz 15 16 .In fido.h 16 17 .Ft int 17 18 .Fn fido_dev_set_pin "fido_dev_t *dev" "const char *pin" "const char *oldpin"
+2 -1
lib/libfido2/man/fido_init.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_INIT 3 7 7 .Os 8 8 .Sh NAME ··· 10 10 .Nm fido_set_log_handler 11 11 .Nd initialise the FIDO2 library 12 12 .Sh SYNOPSIS 13 + .Lb libfido2 libcbor libcrypto libz 13 14 .In fido.h 14 15 .Bd -literal 15 16 typedef void fido_log_handler_t(const char *);
+2 -1
lib/libfido2/man/fido_strerr.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt FIDO_STRERR 3 7 7 .Os 8 8 .Sh NAME 9 9 .Nm fido_strerr 10 10 .Nd FIDO2 error codes 11 11 .Sh SYNOPSIS 12 + .Lb libfido2 libcbor libcrypto libz 12 13 .In fido.h 13 14 .Ft const char * 14 15 .Fn fido_strerr "int n"
+2 -1
lib/libfido2/man/rs256_pk_new.3
··· 2 2 .\" Use of this source code is governed by a BSD-style 3 3 .\" license that can be found in the LICENSE file. 4 4 .\" 5 - .Dd $Mdocdate: August 29 2022 $ 5 + .Dd $Mdocdate: July 9 2025 $ 6 6 .Dt RS256_PK_NEW 3 7 7 .Os 8 8 .Sh NAME ··· 14 14 .Nm rs256_pk_to_EVP_PKEY 15 15 .Nd FIDO2 COSE RS256 API 16 16 .Sh SYNOPSIS 17 + .Lb libfido2 libcbor libcrypto libz 17 18 .In openssl/rsa.h 18 19 .In fido/rs256.h 19 20 .Ft rs256_pk_t *