From 5fee1e259159f1f2c98e1e71b5f42f5f24284681 Mon Sep 17 00:00:00 2001 From: pettai Date: Sat, 14 Sep 2013 07:46:33 +0000 Subject: Version 2.4.0 (released 2013-07-21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * liboath: Add new API methods for validating TOTP OTPs The new methods (oath_totp_validate3 and oath_totp_validate3_callback) introduce a new parameter *otp_counter, which is set to the actual counter used to calculate the OTP (unless it is a NULL pointer). This allows for easier OTP replay detection in applications using liboath. Patch from Fabian Grünbichler . Version 2.2.0 (released 2013-07-07) * libpskc: Add functions for setting PSKC data. The new functions are pskc_add_keypackage and all pskc_set_* functions (see libpskc/include/pskc/keypackage.h). This allow you to write programs that generate new PSKC structures. * liboath: Permit different passwords for different tokens for the same user. Thanks to Christian Hesse . * build: Improve building from git with most recent automake and gengetopt. Thanks to Christian Hesse . * build: Valgrind is not enabled by default. It causes too much false positives. For developers who want, use --enable-valgrind-tests. It is still enabled by default when building from the version controlled sources (see cfg.mk). Thanks to Christian Hesse . * liboath: Make header file usable from C++ (extern "C" guard). Reported by Alan Markus . --- security/oath-toolkit/Makefile | 8 +++- security/oath-toolkit/PLIST | 87 ++---------------------------------------- security/oath-toolkit/distinfo | 8 ++-- 3 files changed, 13 insertions(+), 90 deletions(-) diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile index 1ff5a7ecee0..6a30a1d6fc3 100644 --- a/security/oath-toolkit/Makefile +++ b/security/oath-toolkit/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2013/03/16 20:52:38 pettai Exp $ +# $NetBSD: Makefile,v 1.9 2013/09/14 07:46:33 pettai Exp $ # -DISTNAME= oath-toolkit-2.0.2 +DISTNAME= oath-toolkit-2.4.0 CATEGORIES= security MASTER_SITES= http://download.savannah.gnu.org/releases/oath-toolkit/ @@ -14,6 +14,10 @@ GNU_CONFIGURE= yes USE_TOOLS+= pkg-config USE_LIBTOOL= yes +USE_TOOLS+= autoconf automake m4 + +DEPENDS+= automake>=1.14:../../devel/automake + PKGCONFIG_OVERRIDE+= liboath/liboath.pc.in .include "../../textproc/libxml2/buildlink3.mk" diff --git a/security/oath-toolkit/PLIST b/security/oath-toolkit/PLIST index 807ad20b01b..3be7ae8793f 100644 --- a/security/oath-toolkit/PLIST +++ b/security/oath-toolkit/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2013/03/16 20:52:38 pettai Exp $ +@comment $NetBSD: PLIST,v 1.4 2013/09/14 07:46:33 pettai Exp $ bin/oathtool bin/pskctool include/liboath/oath.h @@ -17,89 +17,6 @@ lib/pkgconfig/libpskc.pc lib/security/pam_oath.la man/man1/oathtool.1 man/man1/pskctool.1 -man/man3/oath_authenticate_usersfile.3 -man/man3/oath_base32_decode.3 -man/man3/oath_base32_encode.3 -man/man3/oath_bin2hex.3 -man/man3/oath_check_version.3 -man/man3/oath_done.3 -man/man3/oath_hex2bin.3 -man/man3/oath_hotp_generate.3 -man/man3/oath_hotp_validate.3 -man/man3/oath_hotp_validate_callback.3 -man/man3/oath_init.3 -man/man3/oath_strerror.3 -man/man3/oath_strerror_name.3 -man/man3/oath_totp_generate.3 -man/man3/oath_totp_validate.3 -man/man3/oath_totp_validate2.3 -man/man3/oath_totp_validate2_callback.3 -man/man3/oath_totp_validate_callback.3 -man/man3/pskc_build_xml.3 -man/man3/pskc_check_version.3 -man/man3/pskc_done.3 -man/man3/pskc_free.3 -man/man3/pskc_get_cryptomodule_id.3 -man/man3/pskc_get_device_devicebinding.3 -man/man3/pskc_get_device_expirydate.3 -man/man3/pskc_get_device_issueno.3 -man/man3/pskc_get_device_manufacturer.3 -man/man3/pskc_get_device_model.3 -man/man3/pskc_get_device_serialno.3 -man/man3/pskc_get_device_startdate.3 -man/man3/pskc_get_device_userid.3 -man/man3/pskc_get_id.3 -man/man3/pskc_get_key_algorithm.3 -man/man3/pskc_get_key_algparm_chall_checkdigits.3 -man/man3/pskc_get_key_algparm_chall_encoding.3 -man/man3/pskc_get_key_algparm_chall_max.3 -man/man3/pskc_get_key_algparm_chall_min.3 -man/man3/pskc_get_key_algparm_resp_checkdigits.3 -man/man3/pskc_get_key_algparm_resp_encoding.3 -man/man3/pskc_get_key_algparm_resp_length.3 -man/man3/pskc_get_key_algparm_suite.3 -man/man3/pskc_get_key_data_b64secret.3 -man/man3/pskc_get_key_data_counter.3 -man/man3/pskc_get_key_data_secret.3 -man/man3/pskc_get_key_data_time.3 -man/man3/pskc_get_key_data_timedrift.3 -man/man3/pskc_get_key_data_timeinterval.3 -man/man3/pskc_get_key_friendlyname.3 -man/man3/pskc_get_key_id.3 -man/man3/pskc_get_key_issuer.3 -man/man3/pskc_get_key_policy_expirydate.3 -man/man3/pskc_get_key_policy_keyusages.3 -man/man3/pskc_get_key_policy_numberoftransactions.3 -man/man3/pskc_get_key_policy_pinencoding.3 -man/man3/pskc_get_key_policy_pinkeyid.3 -man/man3/pskc_get_key_policy_pinmaxfailedattempts.3 -man/man3/pskc_get_key_policy_pinmaxlength.3 -man/man3/pskc_get_key_policy_pinminlength.3 -man/man3/pskc_get_key_policy_pinusagemode.3 -man/man3/pskc_get_key_policy_startdate.3 -man/man3/pskc_get_key_profileid.3 -man/man3/pskc_get_key_reference.3 -man/man3/pskc_get_key_userid.3 -man/man3/pskc_get_keypackage.3 -man/man3/pskc_get_signed_p.3 -man/man3/pskc_get_version.3 -man/man3/pskc_global_done.3 -man/man3/pskc_global_init.3 -man/man3/pskc_global_log.3 -man/man3/pskc_init.3 -man/man3/pskc_keyusage2str.3 -man/man3/pskc_output.3 -man/man3/pskc_parse_from_memory.3 -man/man3/pskc_pinusagemode2str.3 -man/man3/pskc_sign_x509.3 -man/man3/pskc_str2keyusage.3 -man/man3/pskc_str2pinusagemode.3 -man/man3/pskc_str2valueformat.3 -man/man3/pskc_strerror.3 -man/man3/pskc_strerror_name.3 -man/man3/pskc_validate.3 -man/man3/pskc_valueformat2str.3 -man/man3/pskc_verify_x509crt.3 share/gtk-doc/html/liboath/api-index-1-10-0.html share/gtk-doc/html/liboath/api-index-1-12-0.html share/gtk-doc/html/liboath/api-index-1-4-0.html @@ -116,6 +33,7 @@ share/gtk-doc/html/liboath/liboath.devhelp2 share/gtk-doc/html/liboath/right.png share/gtk-doc/html/liboath/style.css share/gtk-doc/html/liboath/up.png +share/gtk-doc/html/libpskc/api-index-2-2-0.html share/gtk-doc/html/libpskc/api-index-full.html share/gtk-doc/html/libpskc/ch02s02.html share/gtk-doc/html/libpskc/ch02s03.html @@ -133,6 +51,7 @@ share/gtk-doc/html/libpskc/libpskc-pskc.html share/gtk-doc/html/libpskc/libpskc-version.html share/gtk-doc/html/libpskc/libpskc.devhelp2 share/gtk-doc/html/libpskc/pskc-reference.html +share/gtk-doc/html/libpskc/pskc-tutorial-libpskc-create.html share/gtk-doc/html/libpskc/pskc-tutorial-libpskc-sign.html share/gtk-doc/html/libpskc/pskc-tutorial-libpskc-verify.html share/gtk-doc/html/libpskc/pskc-tutorial-pskctool.html diff --git a/security/oath-toolkit/distinfo b/security/oath-toolkit/distinfo index 0de9def7756..81b6507a372 100644 --- a/security/oath-toolkit/distinfo +++ b/security/oath-toolkit/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2013/03/16 20:52:38 pettai Exp $ +$NetBSD: distinfo,v 1.9 2013/09/14 07:46:33 pettai Exp $ -SHA1 (oath-toolkit-2.0.2.tar.gz) = 3672924a9d9c3373ec62a6b79e9aa1e846c4d178 -RMD160 (oath-toolkit-2.0.2.tar.gz) = 751beac5e9b34c0905cfbb4bd58ee7c6b379fd65 -Size (oath-toolkit-2.0.2.tar.gz) = 3946021 bytes +SHA1 (oath-toolkit-2.4.0.tar.gz) = 89d2cd30dd401a3f6973ec3c2b26f1cb737764a7 +RMD160 (oath-toolkit-2.4.0.tar.gz) = a0b4b48c861a4408232ad4f2784e83a5c57a939c +Size (oath-toolkit-2.4.0.tar.gz) = 4137994 bytes SHA1 (patch-liboath_gl_fflush.c) = d957eed6c3e653ee53bbcf0b95b0c032f092b07d SHA1 (patch-liboath_gl_fseeko.c) = bd67a1af8c01a2dbf849f8612cbb18470cb3b248 -- cgit v1.2.3