]> err.no Git - yubikey-personalization/log
yubikey-personalization
12 years agotrack version in ykpers4win.mk
Klas Lindfors [Thu, 20 Sep 2012 08:43:10 +0000 (10:43 +0200)]
track version in ykpers4win.mk

12 years agomake the thread test work on windows
Klas Lindfors [Thu, 20 Sep 2012 08:35:05 +0000 (10:35 +0200)]
make the thread test work on windows

12 years agorm .svnignore, we're using git
Klas Lindfors [Thu, 20 Sep 2012 07:54:32 +0000 (09:54 +0200)]
rm .svnignore, we're using git

12 years agofix the NFC interfaces to work like the rest of our api
Klas Lindfors [Wed, 19 Sep 2012 14:18:22 +0000 (16:18 +0200)]
fix the NFC interfaces to work like the rest of our api

12 years agocorrect return values, 1 for success and 0 for fail
Klas Lindfors [Wed, 19 Sep 2012 13:07:36 +0000 (15:07 +0200)]
correct return values, 1 for success and 0 for fail

12 years agoremove ignored const on errno_location functions
Klas Lindfors [Wed, 19 Sep 2012 12:26:18 +0000 (14:26 +0200)]
remove ignored const on errno_location functions

fixes #11

12 years agoremove yk_write_key() from ykcore_lcl.h, defined in ykcore.h
Klas Lindfors [Wed, 19 Sep 2012 07:39:33 +0000 (09:39 +0200)]
remove yk_write_key() from ykcore_lcl.h, defined in ykcore.h

12 years agomake status unsigned to match other types
Klas Lindfors [Wed, 19 Sep 2012 06:47:58 +0000 (08:47 +0200)]
make status unsigned to match other types

12 years agochange to size_t to match function returns
Klas Lindfors [Wed, 19 Sep 2012 06:45:46 +0000 (08:45 +0200)]
change to size_t to match function returns

12 years agocast to const char* instead of char* to not discard const
Klas Lindfors [Wed, 19 Sep 2012 06:44:53 +0000 (08:44 +0200)]
cast to const char* instead of char* to not discard const

12 years agodidn't read properly how the LT_ versioning flags should change
Klas Lindfors [Wed, 19 Sep 2012 06:11:38 +0000 (08:11 +0200)]
didn't read properly how the LT_ versioning flags should change

12 years agolet ykpers-args.c include ykpers-args.h and fix function declaraction for report_yk_e...
Klas Lindfors [Tue, 18 Sep 2012 12:01:34 +0000 (14:01 +0200)]
let ykpers-args.c include ykpers-args.h and fix function declaraction for report_yk_error()

12 years agostrlen returns a size_t
Klas Lindfors [Tue, 18 Sep 2012 11:58:12 +0000 (13:58 +0200)]
strlen returns a size_t

12 years agodon't go into error-reporting mode before we can have errors
Klas Lindfors [Tue, 18 Sep 2012 11:54:33 +0000 (13:54 +0200)]
don't go into error-reporting mode before we can have errors

12 years agoadd function yk_challenge_response
Klas Lindfors [Tue, 18 Sep 2012 11:29:28 +0000 (13:29 +0200)]
add function yk_challenge_response

used for doing challenge-response with a key. used from ykchalresp.c

12 years agoremove unused variables
Klas Lindfors [Tue, 18 Sep 2012 11:23:35 +0000 (13:23 +0200)]
remove unused variables

12 years agoremove inaccurate comment
Klas Lindfors [Tue, 18 Sep 2012 07:48:08 +0000 (09:48 +0200)]
remove inaccurate comment

12 years agoremove unused variable and make sleep ints unsigned
Klas Lindfors [Tue, 18 Sep 2012 07:46:54 +0000 (09:46 +0200)]
remove unused variable and make sleep ints unsigned

12 years agoadd void as function argument to silence warning
Klas Lindfors [Tue, 18 Sep 2012 07:44:54 +0000 (09:44 +0200)]
add void as function argument to silence warning

12 years agoremove duplicated function declarations
Klas Lindfors [Tue, 18 Sep 2012 07:43:34 +0000 (09:43 +0200)]
remove duplicated function declarations

12 years agoremove unused variable
Klas Lindfors [Tue, 18 Sep 2012 07:39:32 +0000 (09:39 +0200)]
remove unused variable

12 years agoreturn 1 on success
Klas Lindfors [Tue, 18 Sep 2012 07:38:42 +0000 (09:38 +0200)]
return 1 on success

12 years agomake local function static
Klas Lindfors [Tue, 18 Sep 2012 07:30:52 +0000 (09:30 +0200)]
make local function static

12 years agoadd void to function declaration
Klas Lindfors [Tue, 18 Sep 2012 07:30:11 +0000 (09:30 +0200)]
add void to function declaration

12 years agomake local functions static
Klas Lindfors [Tue, 18 Sep 2012 07:29:30 +0000 (09:29 +0200)]
make local functions static

12 years agosize_t > ssize_t to match return type
Klas Lindfors [Tue, 18 Sep 2012 07:06:24 +0000 (09:06 +0200)]
size_t > ssize_t to match return type

12 years agovoid as argument to be a correct prototype
Klas Lindfors [Tue, 18 Sep 2012 07:00:42 +0000 (09:00 +0200)]
void as argument to be a correct prototype

12 years agouse passed-in vendor_id and product_id instead of constants
Klas Lindfors [Tue, 18 Sep 2012 06:59:31 +0000 (08:59 +0200)]
use passed-in vendor_id and product_id instead of constants

12 years agoadd void as function argument to get rid of warnings
Klas Lindfors [Tue, 18 Sep 2012 06:56:51 +0000 (08:56 +0200)]
add void as function argument to get rid of warnings

12 years agomake buf const as we assign static strings
Klas Lindfors [Tue, 18 Sep 2012 06:53:45 +0000 (08:53 +0200)]
make buf const as we assign static strings

12 years agoconst on static strings
Klas Lindfors [Tue, 18 Sep 2012 06:48:10 +0000 (08:48 +0200)]
const on static strings

12 years agomove up declarations before code to avoid warnings
Klas Lindfors [Tue, 18 Sep 2012 06:37:52 +0000 (08:37 +0200)]
move up declarations before code to avoid warnings

12 years agofunction declarations and make functions static
Klas Lindfors [Tue, 18 Sep 2012 06:35:56 +0000 (08:35 +0200)]
function declarations and make functions static

12 years agoremove apt-get update step, it breaks to often
Klas Lindfors [Tue, 18 Sep 2012 05:52:23 +0000 (07:52 +0200)]
remove apt-get update step, it breaks to often

12 years agoenable warnings for ykcore and tests
Klas Lindfors [Mon, 17 Sep 2012 13:38:49 +0000 (15:38 +0200)]
enable warnings for ykcore and tests

12 years agooptarg shadows global optarg, change variable name
Klas Lindfors [Mon, 17 Sep 2012 13:28:55 +0000 (15:28 +0200)]
optarg shadows global optarg, change variable name

12 years agoadd void as argument to silence warning
Klas Lindfors [Mon, 17 Sep 2012 13:28:38 +0000 (15:28 +0200)]
add void as argument to silence warning

12 years agobraces to remove warnings
Klas Lindfors [Mon, 17 Sep 2012 13:21:07 +0000 (15:21 +0200)]
braces to remove warnings

12 years agomake _get_supported_key_length() static
Klas Lindfors [Mon, 17 Sep 2012 13:18:05 +0000 (15:18 +0200)]
make _get_supported_key_length() static

12 years agobreak up declaration and use to remove warning
Klas Lindfors [Mon, 17 Sep 2012 13:16:26 +0000 (15:16 +0200)]
break up declaration and use to remove warning

12 years agoremoves warning about index shadowing global
Klas Lindfors [Mon, 17 Sep 2012 13:14:07 +0000 (15:14 +0200)]
removes warning about index shadowing global

12 years agoremove unused variable
Klas Lindfors [Mon, 17 Sep 2012 13:12:07 +0000 (15:12 +0200)]
remove unused variable

12 years agofix a few warnings
Klas Lindfors [Mon, 17 Sep 2012 13:10:37 +0000 (15:10 +0200)]
fix a few warnings

12 years agoactually enable the warnings package when requested
Klas Lindfors [Mon, 17 Sep 2012 13:06:20 +0000 (15:06 +0200)]
actually enable the warnings package when requested

12 years agoreturn 0 on error, saving the errno
Klas Lindfors [Fri, 14 Sep 2012 07:54:14 +0000 (09:54 +0200)]
return 0 on error, saving the errno

12 years agoadd usb context
Klas Lindfors [Fri, 14 Sep 2012 07:48:00 +0000 (09:48 +0200)]
add usb context

according to libusb documentation (in source code) that is needed if
you want to be able to do several calls to libusb_init from the same
process, and we might do that.

12 years agoreturn NULL
Klas Lindfors [Fri, 14 Sep 2012 07:25:21 +0000 (09:25 +0200)]
return NULL

12 years agotest for error state from yk_init()
Klas Lindfors [Fri, 14 Sep 2012 07:23:20 +0000 (09:23 +0200)]
test for error state from yk_init()

12 years agoreturn error when libusb_init fails
Klas Lindfors [Fri, 14 Sep 2012 07:23:06 +0000 (09:23 +0200)]
return error when libusb_init fails

12 years agobuild with different backends
Klas Lindfors [Thu, 13 Sep 2012 07:57:27 +0000 (09:57 +0200)]
build with different backends

12 years agoinstall libyubikey-dev before_install
Klas Lindfors [Thu, 13 Sep 2012 07:53:56 +0000 (09:53 +0200)]
install libyubikey-dev before_install

12 years agotravis-ci integration for yubikey-personalization
Klas Lindfors [Thu, 13 Sep 2012 07:50:58 +0000 (09:50 +0200)]
travis-ci integration for yubikey-personalization

12 years agoMerge pull request #12 from jklontz/master
Simon Josefsson [Thu, 23 Aug 2012 09:02:21 +0000 (02:02 -0700)]
Merge pull request #12 from jklontz/master

Compile fixes for MSVC 2010

12 years agoEnable warnings.
Simon Josefsson [Thu, 23 Aug 2012 09:01:13 +0000 (11:01 +0200)]
Enable warnings.

12 years agoremove broken, unnecessary, outcommented line for the thread test
Klas Lindfors [Thu, 23 Aug 2012 08:26:49 +0000 (10:26 +0200)]
remove broken, unnecessary, outcommented line for the thread test

12 years agofix crash-bug when calling from different threads
Klas Lindfors [Thu, 23 Aug 2012 06:47:07 +0000 (08:47 +0200)]
fix crash-bug when calling from different threads

the 'static int' is global for the program, so tsd_init can be used to check
if we should init the thread local storage. Then use YK_TSD_GET to check if we
already got an errno for this thread, if not allocate and set it.

12 years agotest calling the library from different threads
Klas Lindfors [Thu, 23 Aug 2012 06:46:39 +0000 (08:46 +0200)]
test calling the library from different threads

12 years agoDon't override default dependencies.
Simon Josefsson [Fri, 17 Aug 2012 13:10:10 +0000 (15:10 +0200)]
Don't override default dependencies.

12 years agodo usb_set_configuration(h, 1) before we use the YubiKey
Klas Lindfors [Thu, 16 Aug 2012 12:14:23 +0000 (14:14 +0200)]
do usb_set_configuration(h, 1) before we use the YubiKey

Needed for some configurations, at least virtualbox. fixes #14.

12 years agoMerge branch 'master' of github.com:Yubico/yubikey-personalization
Klas Lindfors [Tue, 7 Aug 2012 06:24:43 +0000 (08:24 +0200)]
Merge branch 'master' of github.com:Yubico/yubikey-personalization

12 years agoMSVC2010 Error Fixes
Josh Klontz [Tue, 17 Jul 2012 21:45:04 +0000 (17:45 -0400)]
MSVC2010 Error Fixes

12 years agoremove init of char to NULL, removes warning.
Klas Lindfors [Mon, 18 Jun 2012 06:03:07 +0000 (08:03 +0200)]
remove init of char to NULL, removes warning.

12 years agoget description in section DESCRIPTION, not OPTIONS.
Fredrik Thulin [Thu, 7 Jun 2012 12:58:47 +0000 (14:58 +0200)]
get description in section DESCRIPTION, not OPTIONS.

12 years agoignores for windows binary builds
Klas Lindfors [Thu, 7 Jun 2012 12:33:42 +0000 (14:33 +0200)]
ignores for windows binary builds

12 years agobump versions post-release
Klas Lindfors [Thu, 7 Jun 2012 12:32:52 +0000 (14:32 +0200)]
bump versions post-release

12 years agorelease data for 1.7.0 v1.7.0
Klas Lindfors [Thu, 7 Jun 2012 12:20:08 +0000 (14:20 +0200)]
release data for 1.7.0

12 years agoMerge branch 'private/testing+ndef'
Klas Lindfors [Thu, 7 Jun 2012 11:14:25 +0000 (13:14 +0200)]
Merge branch 'private/testing+ndef'

Conflicts:
NEWS
configure.ac
tests/Makefile.am

12 years agoUpdate from gnulib.
Simon Josefsson [Thu, 31 May 2012 07:56:11 +0000 (09:56 +0200)]
Update from gnulib.

12 years agoBump libyubikey to 1.9.
Simon Josefsson [Thu, 31 May 2012 07:55:22 +0000 (09:55 +0200)]
Bump libyubikey to 1.9.

12 years agoWindows: Build fixes related to self checks.
Simon Josefsson [Thu, 31 May 2012 07:49:52 +0000 (09:49 +0200)]
Windows: Build fixes related to self checks.

12 years agoBump versions.
Simon Josefsson [Thu, 31 May 2012 07:46:30 +0000 (09:46 +0200)]
Bump versions.

12 years agoDrop hack-wine stuff. Bump yubico-c to 1.8.
Simon Josefsson [Thu, 31 May 2012 07:26:02 +0000 (09:26 +0200)]
Drop hack-wine stuff.  Bump yubico-c to 1.8.

12 years agoFix Windows build self-checks.
Simon Josefsson [Thu, 31 May 2012 07:19:34 +0000 (09:19 +0200)]
Fix Windows build self-checks.

12 years agonewer ld-version-script.m4 from gnulib, silences warnings
Klas Lindfors [Thu, 31 May 2012 07:15:03 +0000 (09:15 +0200)]
newer ld-version-script.m4 from gnulib, silences warnings

12 years agoadd ndef args to test_args_to_config, make sure ndef_type is initialized.
Klas Lindfors [Mon, 28 May 2012 10:44:38 +0000 (12:44 +0200)]
add ndef args to test_args_to_config, make sure ndef_type is initialized.

12 years agoreadd LT_CURRENT and friends
Klas Lindfors [Mon, 28 May 2012 10:38:40 +0000 (12:38 +0200)]
readd LT_CURRENT and friends

12 years agoDocument the new options n, t, u and x + new flags.
Fredrik Thulin [Fri, 25 May 2012 12:26:09 +0000 (14:26 +0200)]
Document the new options n, t, u and x + new flags.

12 years agoMerge branch 'master' into private/testing+ndef
Fredrik Thulin [Fri, 25 May 2012 12:00:29 +0000 (14:00 +0200)]
Merge branch 'master' into private/testing+ndef

Conflicts:
NEWS
configure.ac

12 years agoBump LT_REVISION. v1.6.4
Fredrik Thulin [Thu, 24 May 2012 12:57:54 +0000 (14:57 +0200)]
Bump LT_REVISION.

12 years agoMove declaration of yk_force_key_update to header file.
Fredrik Thulin [Thu, 24 May 2012 12:57:36 +0000 (14:57 +0200)]
Move declaration of yk_force_key_update to header file.

12 years agoPrepare version 1.6.4.
Fredrik Thulin [Thu, 24 May 2012 12:28:29 +0000 (14:28 +0200)]
Prepare version 1.6.4.

12 years agoDocument oath-id option.
Fredrik Thulin [Thu, 24 May 2012 11:19:43 +0000 (13:19 +0200)]
Document oath-id option.

12 years agoRemove debug output.
Fredrik Thulin [Thu, 24 May 2012 11:12:32 +0000 (13:12 +0200)]
Remove debug output.

12 years agoImplement -ooath-id=xx or -ooath-id for serial number based.
Fredrik Thulin [Wed, 23 May 2012 19:02:48 +0000 (21:02 +0200)]
Implement -ooath-id=xx or -ooath-id for serial number based.

This greatly simplifies programming OATH token identifier,
compared to the old method of encoding one manually and setting
it using -ofixed=.

12 years agoRe-factor adding _set_fixed().
Fredrik Thulin [Wed, 23 May 2012 19:00:26 +0000 (21:00 +0200)]
Re-factor adding _set_fixed().

Code moved to cater for upcoming commit (-ooath-id).

12 years agoPass YK_KEY to args_to_config().
Fredrik Thulin [Wed, 23 May 2012 18:58:10 +0000 (20:58 +0200)]
Pass YK_KEY to args_to_config().

Upcoming option -ooath-id needs this to read the serial number
from the YubiKey we are about to program.

12 years agoProperly display OATH token ids.
Fredrik Thulin [Wed, 23 May 2012 18:40:15 +0000 (20:40 +0200)]
Properly display OATH token ids.

There are config flags that control how the YubiKey will output
the 'fixed' part for OATH configurations. Reflect that in this
programs output.

12 years agomake sure the ndef_string is initialized to 0
Klas Lindfors [Tue, 15 May 2012 08:13:56 +0000 (10:13 +0200)]
make sure the ndef_string is initialized to 0

12 years agoMerge branch 'private/testing+ndef'
Klas Lindfors [Thu, 10 May 2012 09:08:08 +0000 (11:08 +0200)]
Merge branch 'private/testing+ndef'

12 years agoBump version and LT_ variables
Klas Lindfors [Thu, 10 May 2012 08:41:01 +0000 (10:41 +0200)]
Bump version and LT_ variables

12 years agonews for yubikey-personalization 1.7
Klas Lindfors [Wed, 9 May 2012 18:35:07 +0000 (20:35 +0200)]
news for yubikey-personalization 1.7

12 years agooath imf is only available from neo version 2.1.7
Klas Lindfors [Wed, 9 May 2012 18:13:47 +0000 (20:13 +0200)]
oath imf is only available from neo version 2.1.7

12 years agochange signature of ykp_construct_ndef_text()
Klas Lindfors [Fri, 27 Apr 2012 06:23:57 +0000 (08:23 +0200)]
change signature of ykp_construct_ndef_text()

include language and encoding, follow the ndef specification for encoding text in ndef.

12 years agochange signature of ykp_construct_ndef_text()
Klas Lindfors [Fri, 27 Apr 2012 06:23:57 +0000 (08:23 +0200)]
change signature of ykp_construct_ndef_text()

include language and encoding, follow the ndef specification for encoding text in ndef.

12 years agoignore the new ndef test
Klas Lindfors [Thu, 26 Apr 2012 12:41:05 +0000 (14:41 +0200)]
ignore the new ndef test

12 years agomove ykcore_lcl.h include to be next to other yubikey includes
Klas Lindfors [Thu, 26 Apr 2012 12:40:14 +0000 (14:40 +0200)]
move ykcore_lcl.h include to be next to other yubikey includes

12 years agoadd some config checks for neos
Klas Lindfors [Thu, 26 Apr 2012 12:10:12 +0000 (14:10 +0200)]
add some config checks for neos

12 years agowe changed how the ndef string is passed in
Klas Lindfors [Thu, 26 Apr 2012 12:09:58 +0000 (14:09 +0200)]
we changed how the ndef string is passed in

12 years agowe changed configuration_number to command in the sources, change in test
Klas Lindfors [Thu, 26 Apr 2012 12:06:26 +0000 (14:06 +0200)]
we changed configuration_number to command in the sources, change in test

12 years agoadd the build version to the struct in the test
Klas Lindfors [Thu, 26 Apr 2012 12:05:57 +0000 (14:05 +0200)]
add the build version to the struct in the test