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

12 years agoykchalresp.c: clang warnings about unsigned casts
Clemens Lang [Sat, 18 Feb 2012 16:48:52 +0000 (17:48 +0100)]
ykchalresp.c: clang warnings about unsigned casts

unsigned char * and char * are used alike where casts would be needed to
compile warning-free

12 years agoykchalresp.c: Fix clang format warning
Clemens Lang [Sat, 18 Feb 2012 16:45:49 +0000 (17:45 +0100)]
ykchalresp.c: Fix clang format warning

warning: conversion specifies type 'int' but the argument has type 'unsigned long'

12 years agoSuggest parantheses around assgnmnt used as truth value
Clemens Lang [Sat, 18 Feb 2012 16:44:21 +0000 (17:44 +0100)]
Suggest parantheses around assgnmnt used as truth value

12 years agoSilence warning about implicit cast adding unsigned
Clemens Lang [Sat, 18 Feb 2012 16:43:14 +0000 (17:43 +0100)]
Silence warning about implicit cast adding unsigned

yk_wait_for_key_status expects an unisgned char*, but char* given.

12 years agoAdd function declaration to silence warning
Clemens Lang [Sat, 18 Feb 2012 16:42:12 +0000 (17:42 +0100)]
Add function declaration to silence warning

yk_force_key_update was used without being declared

12 years agoGet latest docs.
Simon Josefsson [Mon, 23 Jan 2012 19:17:01 +0000 (20:17 +0100)]
Get latest docs.

12 years agoBump version. Use silent rules. Bump copyright years.
Simon Josefsson [Mon, 23 Jan 2012 19:10:35 +0000 (20:10 +0100)]
Bump version.  Use silent rules.  Bump copyright years.

12 years agoPrepare version 1.6.3. v1.6.3
Fredrik Thulin [Thu, 15 Dec 2011 14:28:49 +0000 (15:28 +0100)]
Prepare version 1.6.3.

12 years agos/Yubikey/YubiKey/
Fredrik Thulin [Thu, 15 Dec 2011 14:00:55 +0000 (15:00 +0100)]
s/Yubikey/YubiKey/

12 years agoSort oath-imf in --help message.
Fredrik Thulin [Thu, 15 Dec 2011 13:58:57 +0000 (14:58 +0100)]
Sort oath-imf in --help message.

12 years agoDocument oath-imf, serial-{btn,usb,api}-visible.
Fredrik Thulin [Thu, 15 Dec 2011 13:58:31 +0000 (14:58 +0100)]
Document oath-imf, serial-{btn,usb,api}-visible.

12 years agoFix CRC in test cases on big endian systems.
Fredrik Thulin [Mon, 12 Dec 2011 08:35:54 +0000 (09:35 +0100)]
Fix CRC in test cases on big endian systems.

Noticed failure in Debian build of 1.6.2 on mips.

12 years agoPrepare version 1.6.2. v1.6.2
Fredrik Thulin [Mon, 28 Nov 2011 13:14:48 +0000 (14:14 +0100)]
Prepare version 1.6.2.

12 years agoCheck calloc return value when creating errno varibles.
Simon Josefsson [Thu, 24 Nov 2011 13:48:37 +0000 (14:48 +0100)]
Check calloc return value when creating errno varibles.

12 years agoFix firmware version check.
Simon Josefsson [Thu, 10 Nov 2011 10:24:48 +0000 (11:24 +0100)]
Fix firmware version check.

12 years agoUse extern "C" keywords.
Simon Josefsson [Thu, 10 Nov 2011 10:22:34 +0000 (11:22 +0100)]
Use extern "C" keywords.

12 years agoDefine YK_DEBUG to get hex dumps of USB read/writes.
Fredrik Thulin [Thu, 3 Nov 2011 11:00:22 +0000 (12:00 +0100)]
Define YK_DEBUG to get hex dumps of USB read/writes.

12 years agoFix 'char' not always defaulting to sign.
Fredrik Thulin [Mon, 31 Oct 2011 19:59:49 +0000 (20:59 +0100)]
Fix 'char' not always defaulting to sign.

"Serge E. Hallyn" <serge.hallyn@canonical.com> reports he has an ARM
computer where 'char' defaults to 'unsigned char'. The correct return
type of getopt() according to getopt(3) is 'int' though.

12 years agoUpdate.
Simon Josefsson [Wed, 5 Oct 2011 16:47:56 +0000 (18:47 +0200)]
Update.

13 years agoMerge branch 'fix-non-linux-libusb' of https://github.com/jrmithdobbs/yubikey-persona...
Fredrik Thulin [Wed, 21 Sep 2011 13:30:54 +0000 (15:30 +0200)]
Merge branch 'fix-non-linux-libusb' of https://github.com/jrmithdobbs/yubikey-personalization

13 years agoMerge branch 'fix-ykpers.h-wall-message' of https://github.com/jrmithdobbs/yubikey...
Fredrik Thulin [Fri, 16 Sep 2011 12:10:00 +0000 (14:10 +0200)]
Merge branch 'fix-ykpers.h-wall-message' of https://github.com/jrmithdobbs/yubikey-personalization

13 years agoFix length in some calls to writer().
Fredrik Thulin [Fri, 16 Sep 2011 12:07:16 +0000 (14:07 +0200)]
Fix length in some calls to writer().

No real change, the correct length was used by coincidence.

13 years agoFix -Wall error.
Doug Huff [Mon, 12 Sep 2011 22:13:49 +0000 (17:13 -0500)]
Fix -Wall error.

13 years agoThis fixes building on OpenBSD and properly adds ykcore_libusb output to gitignore.
Doug Huff [Mon, 12 Sep 2011 22:05:58 +0000 (17:05 -0500)]
This fixes building on OpenBSD and properly adds ykcore_libusb output to gitignore.

13 years agoFix typo in NEWS. v1.6.1
Simon Josefsson [Mon, 15 Aug 2011 20:17:35 +0000 (22:17 +0200)]
Fix typo in NEWS.

13 years agoVersion 1.6.1.
Simon Josefsson [Mon, 15 Aug 2011 20:08:13 +0000 (22:08 +0200)]
Version 1.6.1.

13 years agoFix test_args_to_config crash on some platform.
Simon Josefsson [Mon, 15 Aug 2011 20:06:33 +0000 (22:06 +0200)]
Fix test_args_to_config crash on some platform.

13 years agoBump version.
Simon Josefsson [Mon, 15 Aug 2011 20:05:34 +0000 (22:05 +0200)]
Bump version.

13 years agoUpdate for new google account.
Simon Josefsson [Wed, 20 Jul 2011 17:59:15 +0000 (19:59 +0200)]
Update for new google account.

13 years agoFix constness. v1.6.0
Simon Josefsson [Wed, 20 Jul 2011 10:21:02 +0000 (12:21 +0200)]
Fix constness.

13 years agoVersion 1.6.0.
Simon Josefsson [Wed, 20 Jul 2011 10:17:54 +0000 (12:17 +0200)]
Version 1.6.0.

13 years agoAdd NEWS entry. Bump version. Fixed shared library version. Fix code style.
Simon Josefsson [Wed, 20 Jul 2011 10:16:45 +0000 (12:16 +0200)]
Add NEWS entry.  Bump version.  Fixed shared library version.  Fix code style.

13 years agoAdd flag and API for OATH initial moving factor.
Frank Cusack [Wed, 20 Jul 2011 10:12:11 +0000 (12:12 +0200)]
Add flag and API for OATH initial moving factor.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
13 years agoAccept firmware version 2.3.x too.
Simon Josefsson [Wed, 20 Jul 2011 10:05:59 +0000 (12:05 +0200)]
Accept firmware version 2.3.x too.

13 years agoTry to fix test case problems on armel CPU.
Fredrik Thulin [Tue, 7 Jun 2011 18:12:36 +0000 (20:12 +0200)]
Try to fix test case problems on armel CPU.

Reported in https://bugs.launchpad.net/bugs/791249.

13 years agoVersion 1.5.2. v1.5.2
Simon Josefsson [Tue, 10 May 2011 08:34:40 +0000 (10:34 +0200)]
Version 1.5.2.

13 years agoUse latest docs.
Simon Josefsson [Tue, 10 May 2011 08:27:25 +0000 (10:27 +0200)]
Use latest docs.

13 years agoAdd NEWS entries.
Simon Josefsson [Tue, 10 May 2011 08:26:00 +0000 (10:26 +0200)]
Add NEWS entries.

13 years agoFix license and dist ykpers4win.mk.
Simon Josefsson [Tue, 10 May 2011 08:23:16 +0000 (10:23 +0200)]
Fix license and dist ykpers4win.mk.

13 years agoFix typo and re-indent.
Simon Josefsson [Wed, 20 Apr 2011 17:05:59 +0000 (19:05 +0200)]
Fix typo and re-indent.

13 years agoPrint udev rules directory at the end of ./configure run.
Simon Josefsson [Wed, 20 Apr 2011 17:05:25 +0000 (19:05 +0200)]
Print udev rules directory at the end of ./configure run.

13 years agoAdd udev rules to grant the console user access to the yubikey device node
Tollef Fog Heen [Thu, 14 Apr 2011 20:40:02 +0000 (22:40 +0200)]
Add udev rules to grant the console user access to the yubikey device node

13 years agoDrop hidpi.h too, we only need user space stuff in hidsdi.h.
Simon Josefsson [Thu, 14 Apr 2011 18:56:52 +0000 (20:56 +0200)]
Drop hidpi.h too, we only need user space stuff in hidsdi.h.

13 years agoFix upload rules.
Simon Josefsson [Thu, 14 Apr 2011 17:38:30 +0000 (19:38 +0200)]
Fix upload rules.

13 years agoAssume a fixed MinGW-w64 environment, drop work arounds for missing prototypes.
Simon Josefsson [Thu, 14 Apr 2011 17:38:15 +0000 (19:38 +0200)]
Assume a fixed MinGW-w64 environment, drop work arounds for missing prototypes.

13 years agoFix incorrect length used with 'yubikey_hex_decode'.
Fredrik Thulin [Wed, 13 Apr 2011 11:24:56 +0000 (13:24 +0200)]
Fix incorrect length used with 'yubikey_hex_decode'.

Resulted in coredump for challenges of 128 chars (64 bytes).

13 years agoSince slot choosing resets options, demand it comes first.
Fredrik Thulin [Tue, 12 Apr 2011 15:14:49 +0000 (17:14 +0200)]
Since slot choosing resets options, demand it comes first.

13 years agoMerge branch 'master' of github.com:Yubico/yubikey-personalization
Fredrik Thulin [Tue, 12 Apr 2011 15:11:13 +0000 (17:11 +0200)]
Merge branch 'master' of github.com:Yubico/yubikey-personalization

13 years ago_yk_hexdump: cleaner output
Fredrik Thulin [Tue, 12 Apr 2011 15:06:03 +0000 (17:06 +0200)]
_yk_hexdump: cleaner output

13 years agoMove all Windows targets to ykpers4win.mk.
Simon Josefsson [Tue, 12 Apr 2011 13:30:24 +0000 (15:30 +0200)]
Move all Windows targets to ykpers4win.mk.

13 years agoForce libtool to install DLL even though it doesn't know libuuid etc.
Simon Josefsson [Tue, 12 Apr 2011 08:36:27 +0000 (10:36 +0200)]
Force libtool to install DLL even though it doesn't know libuuid etc.

13 years agoBump versions.
Simon Josefsson [Mon, 11 Apr 2011 13:44:03 +0000 (15:44 +0200)]
Bump versions.

13 years agoUse latest documentation. v1.5.1
Simon Josefsson [Mon, 11 Apr 2011 13:30:59 +0000 (15:30 +0200)]
Use latest documentation.

13 years agoFix pgp key example.
Simon Josefsson [Mon, 11 Apr 2011 13:30:28 +0000 (15:30 +0200)]
Fix pgp key example.

13 years agoVersion 1.5.1.
Simon Josefsson [Mon, 11 Apr 2011 13:28:43 +0000 (15:28 +0200)]
Version 1.5.1.