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

13 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.

13 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.

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

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

13 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.

13 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.

13 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.

13 years agoIgnore more.
Simon Josefsson [Mon, 11 Apr 2011 13:01:57 +0000 (15:01 +0200)]
Ignore more.

13 years agoBump versions to reflect added header and functions.
Simon Josefsson [Mon, 11 Apr 2011 12:48:50 +0000 (14:48 +0200)]
Bump versions to reflect added header and functions.

13 years agoFixed a build error in self tests when '-z muldefs' is not supported.
Simon Josefsson [Mon, 11 Apr 2011 12:46:29 +0000 (14:46 +0200)]
Fixed a build error in self tests when '-z muldefs' is not supported.

13 years agoRe-enable make check now that it works.
Simon Josefsson [Mon, 11 Apr 2011 12:45:06 +0000 (14:45 +0200)]
Re-enable make check now that it works.

13 years agoList bugfixes for 1.5.1.
Fredrik Thulin [Mon, 11 Apr 2011 12:38:25 +0000 (14:38 +0200)]
List bugfixes for 1.5.1.

13 years agoFix .gitignore.
Simon Josefsson [Mon, 11 Apr 2011 12:32:34 +0000 (14:32 +0200)]
Fix .gitignore.

13 years agoUse valgrind for self checks.
Simon Josefsson [Mon, 11 Apr 2011 12:30:01 +0000 (14:30 +0200)]
Use valgrind for self checks.

13 years agoAdd some news entries for 1.5.1.
Simon Josefsson [Mon, 11 Apr 2011 12:27:53 +0000 (14:27 +0200)]
Add some news entries for 1.5.1.

13 years agoMerge remote branch 'remotes/origin/fix/selfcheck_crash'
Simon Josefsson [Mon, 11 Apr 2011 12:02:02 +0000 (14:02 +0200)]
Merge remote branch 'remotes/origin/fix/selfcheck_crash'

13 years agoMerge remote branch 'remotes/origin/feature/windows-backend'
Simon Josefsson [Mon, 11 Apr 2011 12:01:58 +0000 (14:01 +0200)]
Merge remote branch 'remotes/origin/feature/windows-backend'

13 years agoUse native Windows backend by assuming 1.5.1 and drop libusb.
Simon Josefsson [Sun, 10 Apr 2011 15:58:27 +0000 (17:58 +0200)]
Use native Windows backend by assuming 1.5.1 and drop libusb.

13 years agoFix last commit.
Simon Josefsson [Sun, 10 Apr 2011 15:49:14 +0000 (17:49 +0200)]
Fix last commit.

13 years agoFix crash in self test. Fix expected error codes.
Simon Josefsson [Sun, 10 Apr 2011 15:39:41 +0000 (17:39 +0200)]
Fix crash in self test.  Fix expected error codes.

13 years agoAdd native Windows backend.
Simon Josefsson [Sat, 9 Apr 2011 06:47:47 +0000 (08:47 +0200)]
Add native Windows backend.

13 years agoCleanup stub.
Simon Josefsson [Sat, 9 Apr 2011 05:21:25 +0000 (07:21 +0200)]
Cleanup stub.

13 years agoSlot 2 configuration was broken with libusb-win32.
Fredrik Thulin [Thu, 7 Apr 2011 18:03:48 +0000 (20:03 +0200)]
Slot 2 configuration was broken with libusb-win32.

Reading status reports with slot 2 did not work with
libusb-win32 (1.0.8) for some reason, while working just fine on
Linux and Mac OS X.

13 years agofixed= is not n/a for OATH-HOTP.
Fredrik Thulin [Sat, 2 Apr 2011 11:02:09 +0000 (13:02 +0200)]
fixed= is not n/a for OATH-HOTP.

13 years agoAdd some missing prototypes.
Fredrik Thulin [Wed, 23 Mar 2011 14:30:09 +0000 (15:30 +0100)]
Add some missing prototypes.
u# Please enter the commit message for your changes. Lines starting

13 years agoDistribute ykdef.h too
Tollef Fog Heen [Sat, 12 Mar 2011 14:36:46 +0000 (15:36 +0100)]
Distribute ykdef.h too

13 years agoDocument modhex
Tollef Fog Heen [Fri, 31 Dec 2010 08:18:28 +0000 (09:18 +0100)]
Document modhex

13 years agoFix Swedishism
Tollef Fog Heen [Wed, 26 Jan 2011 19:15:47 +0000 (20:15 +0100)]
Fix Swedishism

13 years agoAdd new man-page ykchalresp.1
Fredrik Thulin [Thu, 10 Mar 2011 08:04:07 +0000 (09:04 +0100)]
Add new man-page ykchalresp.1

13 years agoPrepare for release 1.5.0. v1.5.0
Fredrik Thulin [Wed, 9 Mar 2011 09:43:40 +0000 (10:43 +0100)]
Prepare for release 1.5.0.

13 years agowhitespace
Fredrik Thulin [Wed, 9 Mar 2011 09:41:49 +0000 (10:41 +0100)]
whitespace

13 years agoUse new helper function _parse_args_rc.
Fredrik Thulin [Wed, 9 Mar 2011 09:27:34 +0000 (10:27 +0100)]
Use new helper function _parse_args_rc.

13 years agoBan -ouid= with -ochal-resp and -ooath-hotp.
Fredrik Thulin [Wed, 9 Mar 2011 09:22:45 +0000 (10:22 +0100)]
Ban -ouid= with -ochal-resp and -ooath-hotp.

Challenge response and OATH-HOTP store part of the HMAC key in
the 6 bytes for 'uid', so specifying -ouid= with these modes is
just an easy way to end up with another HMAC key being programmed
than you think.

13 years agoClarifications.
Fredrik Thulin [Wed, 9 Mar 2011 09:01:35 +0000 (10:01 +0100)]
Clarifications.

13 years agoMerge branch 'feature/get_serial_number'
Fredrik Thulin [Wed, 9 Mar 2011 08:43:05 +0000 (09:43 +0100)]
Merge branch 'feature/get_serial_number'

13 years agoSerial number API appeared in 2.2, not 2.0.
Fredrik Thulin [Tue, 8 Mar 2011 19:35:49 +0000 (20:35 +0100)]
Serial number API appeared in 2.2, not 2.0.

13 years agoAdd new libykpers functions.
Fredrik Thulin [Tue, 8 Mar 2011 19:29:47 +0000 (20:29 +0100)]
Add new libykpers functions.