Date: Fri, 1 Mar 2019 11:18:21 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494256 - in head/security: . libfido2 Message-ID: <201903011118.x21BILPZ044771@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Mar 1 11:18:20 2019 New Revision: 494256 URL: https://svnweb.freebsd.org/changeset/ports/494256 Log: Add libfido2 0.4.0 libfido2 provides library functionality and command-line tools to communicate with a FIDO device over USB, and to verify attestation and assertion signatures. libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2) protocols. WWW: https://developers.yubico.com/libfido2/ WWW: https://github.com/Yubico/libfido2 Added: head/security/libfido2/ head/security/libfido2/Makefile (contents, props changed) head/security/libfido2/distinfo (contents, props changed) head/security/libfido2/pkg-descr (contents, props changed) head/security/libfido2/pkg-plist (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Fri Mar 1 10:30:08 2019 (r494255) +++ head/security/Makefile Fri Mar 1 11:18:20 2019 (r494256) @@ -336,6 +336,7 @@ SUBDIR += libcryptui SUBDIR += libdecaf SUBDIR += libecc + SUBDIR += libfido2 SUBDIR += libfprint SUBDIR += libgcrypt SUBDIR += libgnome-keyring Added: head/security/libfido2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libfido2/Makefile Fri Mar 1 11:18:20 2019 (r494256) @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libfido2 +PORTVERSION= 0.4.0 +CATEGORIES= security +MASTER_SITES= https://developers.yubico.com/libfido2/Releases/ + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Provides library functionality for FIDO 2.0 + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcbor.so:devel/libcbor \ + libhidapi.so.0:comms/hidapi + +USES= cmake pkgconfig ssl + +CFLAGS+= -D_WITH_GETLINE +LDFLAGS+= -lcrypto + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e '/libcrypto/d' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/man/CMakeLists.txt + @${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/openbsd-compat/openbsd-compat.h + +.include <bsd.port.mk> Added: head/security/libfido2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libfido2/distinfo Fri Mar 1 11:18:20 2019 (r494256) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550247983 +SHA256 (libfido2-0.4.0.tar.gz) = 05a40486e4823c24fba6ab8d210d5d2b56198cba071a16e73244749c45740a30 +SIZE (libfido2-0.4.0.tar.gz) = 92992 Added: head/security/libfido2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libfido2/pkg-descr Fri Mar 1 11:18:20 2019 (r494256) @@ -0,0 +1,7 @@ +libfido2 provides library functionality and command-line tools to communicate +with a FIDO device over USB, and to verify attestation and assertion signatures. + +libfido2 supports the FIDO U2F (CTAP 1) and FIDO 2.0 (CTAP 2) protocols. + +WWW: https://developers.yubico.com/libfido2/ +WWW: https://github.com/Yubico/libfido2 Added: head/security/libfido2/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/libfido2/pkg-plist Fri Mar 1 11:18:20 2019 (r494256) @@ -0,0 +1,215 @@ +bin/fido2-assert +bin/fido2-cred +bin/fido2-token +include/fido.h +include/fido/err.h +include/fido/es256.h +include/fido/param.h +include/fido/rs256.h +lib/libfido2.a +lib/libfido2.so +lib/libfido2.so.0.4.0 +libdata/pkgconfig/libfido2.pc +man/man1/fido2-assert.1.gz +man/man1/fido2-cred.1.gz +man/man1/fido2-token.1.gz +man/man3/es256_pk.3.gz +man/man3/es256_pk_free.3.gz +man/man3/es256_pk_from_EC_KEY.3.gz +man/man3/es256_pk_from_ptr.3.gz +man/man3/es256_pk_new.3.gz +man/man3/es256_pk_to_EVP_PKEY.3.gz +man/man3/fido.3.gz +man/man3/fido_assert.3.gz +man/man3/fido_assert_allow_cred.3.gz +man/man3/fido_assert_authdata_len.3.gz +man/man3/fido_assert_authdata_ptr.3.gz +man/man3/fido_assert_clientdata_hash_len.3.gz +man/man3/fido_assert_clientdata_hash_ptr.3.gz +man/man3/fido_assert_count.3.gz +man/man3/fido_assert_free.3.gz +man/man3/fido_assert_hmac_secret_len.3.gz +man/man3/fido_assert_hmac_secret_ptr.3.gz +man/man3/fido_assert_new.3.gz +man/man3/fido_assert_set.3.gz +man/man3/fido_assert_set_authdata.3.gz +man/man3/fido_assert_set_clientdata_hash.3.gz +man/man3/fido_assert_set_count.3.gz +man/man3/fido_assert_set_extensions.3.gz +man/man3/fido_assert_set_hmac_salt.3.gz +man/man3/fido_assert_set_options.3.gz +man/man3/fido_assert_set_rp.3.gz +man/man3/fido_assert_set_sig.3.gz +man/man3/fido_assert_sig_len.3.gz +man/man3/fido_assert_sig_ptr.3.gz +man/man3/fido_assert_user_display_name.3.gz +man/man3/fido_assert_user_icon.3.gz +man/man3/fido_assert_user_id_len.3.gz +man/man3/fido_assert_user_id_ptr.3.gz +man/man3/fido_assert_user_name.3.gz +man/man3/fido_assert_verify.3.gz +man/man3/fido_cbor_info.3.gz +man/man3/fido_cred.3.gz +man/man3/fido_cred_authdata_len.3.gz +man/man3/fido_cred_authdata_ptr.3.gz +man/man3/fido_cred_clientdata_hash_len.3.gz +man/man3/fido_cred_clientdata_hash_ptr.3.gz +man/man3/fido_cred_exclude.3.gz +man/man3/fido_cred_fmt.3.gz +man/man3/fido_cred_free.3.gz +man/man3/fido_cred_id_len.3.gz +man/man3/fido_cred_id_ptr.3.gz +man/man3/fido_cred_new.3.gz +man/man3/fido_cred_pubkey_len.3.gz +man/man3/fido_cred_pubkey_ptr.3.gz +man/man3/fido_cred_set.3.gz +man/man3/fido_cred_set_authdata.3.gz +man/man3/fido_cred_set_clientdata_hash.3.gz +man/man3/fido_cred_set_extensions.3.gz +man/man3/fido_cred_set_fmt.3.gz +man/man3/fido_cred_set_options.3.gz +man/man3/fido_cred_set_rp.3.gz +man/man3/fido_cred_set_sig.3.gz +man/man3/fido_cred_set_type.3.gz +man/man3/fido_cred_set_user.3.gz +man/man3/fido_cred_set_x509.3.gz +man/man3/fido_cred_sig_len.3.gz +man/man3/fido_cred_sig_ptr.3.gz +man/man3/fido_cred_verify.3.gz +man/man3/fido_cred_x5c_len.3.gz +man/man3/fido_cred_x5c_ptr.3.gz +man/man3/fido_dev_build.3.gz +man/man3/fido_dev_close.3.gz +man/man3/fido_dev_flags.3.gz +man/man3/fido_dev_free.3.gz +man/man3/fido_dev_get_assert.3.gz +man/man3/fido_dev_get_retry_count.3.gz +man/man3/fido_dev_info_free.3.gz +man/man3/fido_dev_info_manifest.3.gz +man/man3/fido_dev_info_manufacturer_string.3.gz +man/man3/fido_dev_info_new.3.gz +man/man3/fido_dev_info_path.3.gz +man/man3/fido_dev_info_product.3.gz +man/man3/fido_dev_info_product_string.3.gz +man/man3/fido_dev_info_ptr.3.gz +man/man3/fido_dev_info_vendor.3.gz +man/man3/fido_dev_is_fido2.3.gz +man/man3/fido_dev_major.3.gz +man/man3/fido_dev_make_cred.3.gz +man/man3/fido_dev_minor.3.gz +man/man3/fido_dev_new.3.gz +man/man3/fido_dev_open.3.gz +man/man3/fido_dev_protocol.3.gz +man/man3/fido_dev_reset.3.gz +man/man3/fido_dev_set_io_functions.3.gz +man/man3/fido_dev_set_pin.3.gz +man/man3/fido_init.3.gz +man/man3/fido_strerr.3.gz +man/man3/rs256_pk.3.gz +man/man3/rs256_pk_free.3.gz +man/man3/rs256_pk_from_RSA.3.gz +man/man3/rs256_pk_from_ptr.3.gz +man/man3/rs256_pk_new.3.gz +man/man3/rs256_pk_to_EVP_PKEY.3.gz +%%PORTDOCS%%%%DOCSDIR%%/es256_pk.html +%%PORTDOCS%%%%DOCSDIR%%/es256_pk_free.html +%%PORTDOCS%%%%DOCSDIR%%/es256_pk_from_EC_KEY.html +%%PORTDOCS%%%%DOCSDIR%%/es256_pk_from_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/es256_pk_new.html +%%PORTDOCS%%%%DOCSDIR%%/es256_pk_to_EVP_PKEY.html +%%PORTDOCS%%%%DOCSDIR%%/fido.html +%%PORTDOCS%%%%DOCSDIR%%/fido2-assert.html +%%PORTDOCS%%%%DOCSDIR%%/fido2-cred.html +%%PORTDOCS%%%%DOCSDIR%%/fido2-token.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_allow_cred.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_authdata_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_authdata_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_clientdata_hash_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_clientdata_hash_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_count.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_free.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_hmac_secret_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_hmac_secret_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_new.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_authdata.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_clientdata_hash.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_count.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_extensions.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_hmac_salt.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_options.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_rp.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_set_sig.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_sig_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_sig_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_user_display_name.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_user_icon.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_user_id_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_user_id_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_user_name.html +%%PORTDOCS%%%%DOCSDIR%%/fido_assert_verify.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cbor_info.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_authdata_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_authdata_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_clientdata_hash_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_clientdata_hash_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_exclude.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_fmt.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_free.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_id_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_id_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_new.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_pubkey_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_pubkey_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_authdata.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_clientdata_hash.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_extensions.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_fmt.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_options.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_rp.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_sig.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_type.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_user.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_set_x509.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_sig_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_sig_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_verify.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_x5c_len.html +%%PORTDOCS%%%%DOCSDIR%%/fido_cred_x5c_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_build.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_close.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_flags.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_free.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_get_assert.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_get_retry_count.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_free.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_manifest.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_manufacturer_string.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_new.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_path.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_product.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_product_string.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_info_vendor.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_is_fido2.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_major.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_make_cred.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_minor.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_new.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_open.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_protocol.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_reset.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_set_io_functions.html +%%PORTDOCS%%%%DOCSDIR%%/fido_dev_set_pin.html +%%PORTDOCS%%%%DOCSDIR%%/fido_init.html +%%PORTDOCS%%%%DOCSDIR%%/fido_strerr.html +%%PORTDOCS%%%%DOCSDIR%%/rs256_pk.html +%%PORTDOCS%%%%DOCSDIR%%/rs256_pk_free.html +%%PORTDOCS%%%%DOCSDIR%%/rs256_pk_from_RSA.html +%%PORTDOCS%%%%DOCSDIR%%/rs256_pk_from_ptr.html +%%PORTDOCS%%%%DOCSDIR%%/rs256_pk_new.html +%%PORTDOCS%%%%DOCSDIR%%/rs256_pk_to_EVP_PKEY.html +%%PORTDOCS%%%%DOCSDIR%%/style.css
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903011118.x21BILPZ044771>