]> err.no Git - yubikey-personalization/log
yubikey-personalization
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 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

12 years agoadd basic tests for the ndef construction functions.
Klas Lindfors [Thu, 26 Apr 2012 11:46:22 +0000 (13:46 +0200)]
add basic tests for the ndef construction functions.

12 years agomove modifying of ndef struct until after we've checked the length
Klas Lindfors [Thu, 26 Apr 2012 11:38:47 +0000 (13:38 +0200)]
move modifying of ndef struct until after we've checked the length

12 years agohave to return when hitting the error
Klas Lindfors [Thu, 26 Apr 2012 07:24:30 +0000 (09:24 +0200)]
have to return when hitting the error

12 years agosupport for writing ndef text and uri
Klas Lindfors [Thu, 26 Apr 2012 07:04:13 +0000 (09:04 +0200)]
support for writing ndef text and uri

let there be ykp_construct_ndef_uri() and ykp_construct_ndef_text()

12 years agodon't check for neo after 4, check if it's older than 5
Klas Lindfors [Thu, 26 Apr 2012 06:15:46 +0000 (08:15 +0200)]
don't check for neo after 4, check if it's older than 5

12 years agothe neo has serial_api, not the other serial functions
Klas Lindfors [Thu, 26 Apr 2012 06:08:37 +0000 (08:08 +0200)]
the neo has serial_api, not the other serial functions

12 years agothere was no 2.1.9 and there might be a neo with 2.1.9
Klas Lindfors [Thu, 26 Apr 2012 05:42:04 +0000 (07:42 +0200)]
there was no 2.1.9 and there might be a neo with 2.1.9

12 years agowrite ndef uri to key
Klas Lindfors [Wed, 25 Apr 2012 12:54:16 +0000 (14:54 +0200)]
write ndef uri to key

12 years agocollect ndef uri properly.
Klas Lindfors [Wed, 25 Apr 2012 12:54:07 +0000 (14:54 +0200)]
collect ndef uri properly.

12 years agoadd version check for neo for serial printing
Klas Lindfors [Wed, 25 Apr 2012 12:21:12 +0000 (14:21 +0200)]
add version check for neo for serial printing

12 years agoexport ndef functions
Klas Lindfors [Wed, 25 Apr 2012 12:15:26 +0000 (14:15 +0200)]
export ndef functions

12 years agofunction for constructing ndef struct from uri
Klas Lindfors [Wed, 25 Apr 2012 12:13:02 +0000 (14:13 +0200)]
function for constructing ndef struct from uri

12 years agocheck version for SLOT_NDEF, copy the data to the ndef pointer
Klas Lindfors [Wed, 25 Apr 2012 12:11:21 +0000 (14:11 +0200)]
check version for SLOT_NDEF, copy the data to the ndef pointer

12 years agofunction for writing ndef struct to yubikey
Klas Lindfors [Wed, 25 Apr 2012 12:10:33 +0000 (14:10 +0200)]
function for writing ndef struct to yubikey

12 years agoadd checks for neo to the capabilities that matter
Klas Lindfors [Wed, 25 Apr 2012 11:04:00 +0000 (13:04 +0200)]
add checks for neo to the capabilities that matter

12 years agoadd neo checks for slot2 and the vcheck_v21_or_greater
Klas Lindfors [Wed, 25 Apr 2012 10:46:11 +0000 (12:46 +0200)]
add neo checks for slot2 and the vcheck_v21_or_greater

12 years agoconvert the existing vcheck_ arguments to descriptive capabilities instead, prepare...
Klas Lindfors [Wed, 25 Apr 2012 10:20:48 +0000 (12:20 +0200)]
convert the existing vcheck_ arguments to descriptive capabilities instead, prepare for NEO

12 years agoadd build_version to config struct
Klas Lindfors [Wed, 25 Apr 2012 10:19:37 +0000 (12:19 +0200)]
add build_version to config struct

12 years agosend ndef through to args function, fix definition for args function in header
Klas Lindfors [Wed, 25 Apr 2012 10:08:38 +0000 (12:08 +0200)]
send ndef through to args function, fix definition for args function in header

12 years agobreak in case 'n'
Klas Lindfors [Wed, 25 Apr 2012 09:24:49 +0000 (11:24 +0200)]
break in case 'n'

12 years agorules for combinations with -n
Klas Lindfors [Wed, 11 Apr 2012 08:49:10 +0000 (10:49 +0200)]
rules for combinations with -n

12 years agourl -> uri
Klas Lindfors [Wed, 11 Apr 2012 08:49:00 +0000 (10:49 +0200)]
url -> uri

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

12 years agoindentation.
Klas Lindfors [Wed, 11 Apr 2012 08:42:52 +0000 (10:42 +0200)]
indentation.

12 years agoargs stuff for setting ndef uri
Klas Lindfors [Wed, 11 Apr 2012 08:41:51 +0000 (10:41 +0200)]
args stuff for setting ndef uri

12 years agoNEO changes for ykdef.h from JE
Klas Lindfors [Wed, 11 Apr 2012 08:30:06 +0000 (10:30 +0200)]
NEO changes for ykdef.h from JE

12 years agosimple tests for parsing of new flags.
Klas Lindfors [Tue, 10 Apr 2012 12:32:51 +0000 (14:32 +0200)]
simple tests for parsing of new flags.

12 years agouse ykp_alloc() instead of ykp_create_config(). add -1 to _test_non_config_args
Klas Lindfors [Tue, 10 Apr 2012 12:10:21 +0000 (14:10 +0200)]
use ykp_alloc() instead of ykp_create_config(). add -1 to _test_non_config_args

12 years agoremove comment about deprecation.
Klas Lindfors [Tue, 10 Apr 2012 09:34:07 +0000 (11:34 +0200)]
remove comment about deprecation.

12 years agorework default flags:
Klas Lindfors [Thu, 5 Apr 2012 09:16:03 +0000 (11:16 +0200)]
rework default flags:

the library does not give defaults for any of the configuration flags
this is done in the ykpersonalize tool instead. ykp_alloc() and
ykp_configure_version() introduced, removed status parameter from
ykp_configure_command(). Remove defaulting to slot 1, instead force
the user to select a slot.

12 years agoupdated update masks from JE
Klas Lindfors [Wed, 28 Mar 2012 11:58:32 +0000 (13:58 +0200)]
updated update masks from JE

12 years agofix indentation
Klas Lindfors [Wed, 28 Mar 2012 11:35:02 +0000 (13:35 +0200)]
fix indentation

12 years agodefaults for updates
Klas Lindfors [Wed, 28 Mar 2012 11:21:03 +0000 (13:21 +0200)]
defaults for updates

by default add ALLOW_UPDATE to updates.

12 years agoupdate text depending on command to be written to key.
Klas Lindfors [Wed, 28 Mar 2012 06:10:53 +0000 (08:10 +0200)]
update text depending on command to be written to key.

12 years agocheck if update flags are allowed.
Klas Lindfors [Wed, 28 Mar 2012 05:40:32 +0000 (07:40 +0200)]
check if update flags are allowed.

12 years agoadd new extended flags for 2.3
Klas Lindfors [Tue, 27 Mar 2012 12:37:32 +0000 (14:37 +0200)]
add new extended flags for 2.3

USE_NUMERIC_KEYPAD, FAST_TRIG, ALLOW_UPDATE and DORMANT

12 years agoykdef.h 2.3 from JE (copied from python-yubico)
Klas Lindfors [Tue, 27 Mar 2012 12:21:09 +0000 (14:21 +0200)]
ykdef.h 2.3 from JE (copied from python-yubico)

12 years agocode for -u (update) parsing
Klas Lindfors [Tue, 27 Mar 2012 12:08:15 +0000 (14:08 +0200)]
code for -u (update) parsing

12 years agorecognize SLOT_UPDATE1 and SLOT_UPDATE2
Klas Lindfors [Tue, 27 Mar 2012 12:06:02 +0000 (14:06 +0200)]
recognize SLOT_UPDATE1 and SLOT_UPDATE2

12 years agoonly need aes key for SLOT_CONFIG and SLOT_CONFIG2
Klas Lindfors [Tue, 27 Mar 2012 11:49:36 +0000 (13:49 +0200)]
only need aes key for SLOT_CONFIG and SLOT_CONFIG2

12 years agoadd -x option for swapping configurations
Klas Lindfors [Tue, 27 Mar 2012 11:48:46 +0000 (13:48 +0200)]
add -x option for swapping configurations

12 years agoreturn 1 on success
Klas Lindfors [Tue, 27 Mar 2012 10:26:09 +0000 (12:26 +0200)]
return 1 on success

12 years agoadd declarations of ykp_configure_command and ykp_command
Klas Lindfors [Tue, 27 Mar 2012 08:27:03 +0000 (10:27 +0200)]
add declarations of ykp_configure_command and ykp_command

12 years agodeclare yk_write_command
Klas Lindfors [Tue, 27 Mar 2012 08:24:52 +0000 (10:24 +0200)]
declare yk_write_command

12 years agoadd exporting of yk_write_command to mapping file
Klas Lindfors [Tue, 27 Mar 2012 08:19:15 +0000 (10:19 +0200)]
add exporting of yk_write_command to mapping file

12 years agouse yk_write_command instead of yk_write_config
Klas Lindfors [Tue, 27 Mar 2012 08:18:02 +0000 (10:18 +0200)]
use yk_write_command instead of yk_write_config

12 years agoadd ykp_command and ykp_configure_command
Klas Lindfors [Tue, 27 Mar 2012 08:17:08 +0000 (10:17 +0200)]
add ykp_command and ykp_configure_command

work with commands instead of slots. let the slots functions wrap these.

12 years agonew function yk_write_command to support more commands
Klas Lindfors [Tue, 27 Mar 2012 08:13:56 +0000 (10:13 +0200)]
new function yk_write_command to support more commands

let yk_write_config wrap yk_write_command.

12 years agoadd vcheck function for 2.3
Klas Lindfors [Tue, 27 Mar 2012 06:06:38 +0000 (08:06 +0200)]
add vcheck function for 2.3

12 years agoadd 2.3 commands to ykdef
Klas Lindfors [Tue, 27 Mar 2012 06:06:08 +0000 (08:06 +0200)]
add 2.3 commands to ykdef

12 years agomerge code for slot 1 and 2
Klas Lindfors [Mon, 26 Mar 2012 08:05:45 +0000 (10:05 +0200)]
merge code for slot 1 and 2

12 years agogroff-escape minus-signs
Fredrik Thulin [Tue, 21 Feb 2012 11:44:07 +0000 (12:44 +0100)]
groff-escape minus-signs

12 years agoDon't set yk_errno if nothing went wrong
Clemens Lang [Sat, 18 Feb 2012 23:37:13 +0000 (00:37 +0100)]
Don't set yk_errno if nothing went wrong

This fixes a superfluous warning when using challenge-response
authentication with yubico-pam on OS X:
debug: pam_yubico.c:649 (do_challenge_response): USB error: USB error
This warning appeared although no error actually occured.

12 years agoyubikey.h requires char *, cast to silence warning
Clemens Lang [Sat, 18 Feb 2012 16:53:00 +0000 (17:53 +0100)]
yubikey.h requires char *, cast to silence warning

yubikey.h from yubico-c defines yubikey_hex_*() to have a char * as first
parameter, where we use unisgned char[] here. Add a cast to silence the
warning this generates.