]> err.no Git - yubikey-personalization/log
yubikey-personalization
11 years agoincrease WAIT_FOR_WRITE_FLAG as 600ms is not enough for swap in some cases.
Klas Lindfors [Tue, 11 Dec 2012 09:09:49 +0000 (10:09 +0100)]
increase WAIT_FOR_WRITE_FLAG as 600ms is not enough for swap in some cases.

11 years agomore info about new api functions
Klas Lindfors [Fri, 7 Dec 2012 14:53:39 +0000 (15:53 +0100)]
more info about new api functions

11 years agocheck for swap_seen
Klas Lindfors [Thu, 6 Dec 2012 08:33:10 +0000 (09:33 +0100)]
check for swap_seen

11 years agoremove the wording about ndef type, works for both 2 and 4 (at least)
Klas Lindfors [Wed, 5 Dec 2012 12:34:51 +0000 (13:34 +0100)]
remove the wording about ndef type, works for both 2 and 4 (at least)

11 years agoupdate NEWS for new scan_map
Klas Lindfors [Wed, 5 Dec 2012 12:27:46 +0000 (13:27 +0100)]
update NEWS for new scan_map

11 years agoupdate man page for -S with more examples and addition of !
Klas Lindfors [Wed, 5 Dec 2012 10:40:23 +0000 (11:40 +0100)]
update man page for -S with more examples and addition of !

11 years agoupdate SCAN_MAP with !
Klas Lindfors [Wed, 5 Dec 2012 09:28:34 +0000 (10:28 +0100)]
update SCAN_MAP with !

11 years agouse sizeof() on the static string instead of strlen()
Klas Lindfors [Tue, 4 Dec 2012 19:15:44 +0000 (20:15 +0100)]
use sizeof() on the static string instead of strlen()

11 years agoonly accept sequence 0 as success if no config is valid
Klas Lindfors [Tue, 4 Dec 2012 19:11:32 +0000 (20:11 +0100)]
only accept sequence 0 as success if no config is valid

11 years agoNEWS for 1.10.0
Klas Lindfors [Tue, 4 Dec 2012 19:08:58 +0000 (20:08 +0100)]
NEWS for 1.10.0

11 years agoremove duplicate VID/PID mappings
Klas Lindfors [Tue, 4 Dec 2012 19:01:07 +0000 (20:01 +0100)]
remove duplicate VID/PID mappings

11 years agoman for -m and -S
Klas Lindfors [Tue, 4 Dec 2012 14:56:22 +0000 (15:56 +0100)]
man for -m and -S

11 years agodo some work to get the mutually exclusive flags make more sense in the code
Klas Lindfors [Tue, 4 Dec 2012 14:38:36 +0000 (15:38 +0100)]
do some work to get the mutually exclusive flags make more sense in the code

11 years agoadd -S flag for setting scanmap to the YubiKey NEO
Klas Lindfors [Tue, 4 Dec 2012 14:21:07 +0000 (15:21 +0100)]
add -S flag for setting scanmap to the YubiKey NEO

11 years agounsigned char for usb_mode
Klas Lindfors [Tue, 4 Dec 2012 14:20:55 +0000 (15:20 +0100)]
unsigned char for usb_mode

11 years agomore general way of setting mode bits for usb_mode
Klas Lindfors [Tue, 4 Dec 2012 13:47:18 +0000 (14:47 +0100)]
more general way of setting mode bits for usb_mode

11 years agoyk_write_device_config(), not yk_set_device_config()
Klas Lindfors [Mon, 3 Dec 2012 13:46:50 +0000 (14:46 +0100)]
yk_write_device_config(), not yk_set_device_config()

11 years agorefactor different write commands into a common _yk_write()
Klas Lindfors [Mon, 3 Dec 2012 13:42:30 +0000 (14:42 +0100)]
refactor different write commands into a common _yk_write()

11 years agoMerge branch 'feature/usb_mode'
Klas Lindfors [Mon, 3 Dec 2012 13:42:21 +0000 (14:42 +0100)]
Merge branch 'feature/usb_mode'

11 years agoupdate ykdef flags for mode
Klas Lindfors [Mon, 3 Dec 2012 11:12:49 +0000 (12:12 +0100)]
update ykdef flags for mode

11 years agocomplete commands for setting usb_mode
Klas Lindfors [Mon, 3 Dec 2012 10:08:22 +0000 (11:08 +0100)]
complete commands for setting usb_mode

11 years agochange around to work with device_config instead of raw mode
Klas Lindfors [Mon, 3 Dec 2012 09:54:27 +0000 (10:54 +0100)]
change around to work with device_config instead of raw mode

11 years agoautoEject -> autoEjectTime
Klas Lindfors [Mon, 3 Dec 2012 09:53:32 +0000 (10:53 +0100)]
autoEject -> autoEjectTime

11 years agoadd functions for manipulating the device_config
Klas Lindfors [Mon, 3 Dec 2012 09:53:11 +0000 (10:53 +0100)]
add functions for manipulating the device_config

11 years agoresetting rc is unnecessary with the change around in open_key
Klas Lindfors [Mon, 3 Dec 2012 09:28:54 +0000 (09:28 +0000)]
resetting rc is unnecessary with the change around in open_key

11 years agorelease vendorId even if no YubiKey is found
Klas Lindfors [Mon, 3 Dec 2012 09:19:47 +0000 (10:19 +0100)]
release vendorId even if no YubiKey is found

11 years agosend a reference to the typeCallback
Klas Lindfors [Mon, 3 Dec 2012 08:06:31 +0000 (08:06 +0000)]
send a reference to the typeCallback

11 years agoUSB_MODE ended up as DEVICE_CONFIG
Klas Lindfors [Fri, 30 Nov 2012 19:59:32 +0000 (20:59 +0100)]
USB_MODE ended up as DEVICE_CONFIG

11 years agodefinitions for device_config
Klas Lindfors [Fri, 30 Nov 2012 19:57:10 +0000 (20:57 +0100)]
definitions for device_config

11 years agoMerge branch 'master' into feature/usb_mode
Klas Lindfors [Fri, 30 Nov 2012 19:53:18 +0000 (20:53 +0100)]
Merge branch 'master' into feature/usb_mode

11 years agospelling.. product_ids, not prduct_ids..
Klas Lindfors [Fri, 30 Nov 2012 13:14:44 +0000 (14:14 +0100)]
spelling.. product_ids, not prduct_ids..

11 years agorework _ykusb_open_device() in the ykcore backends
Klas Lindfors [Fri, 30 Nov 2012 11:49:57 +0000 (12:49 +0100)]
rework _ykusb_open_device() in the ykcore backends

it now takes an array of product ids to search for,
let yk_open_first_key() search for all known keys with
a YubiKey interface.

11 years agoupdated ykdef.h for 3.0 (neo)
Klas Lindfors [Thu, 29 Nov 2012 07:41:18 +0000 (08:41 +0100)]
updated ykdef.h for 3.0 (neo)

11 years agoAdded yk_set_usb_mode to libykpers-1.map
Dain Nilsson [Mon, 26 Nov 2012 12:32:43 +0000 (13:32 +0100)]
Added yk_set_usb_mode to libykpers-1.map

11 years agoAdded the USB mode option to ykpersonalize, though the actual implementation is still...
Dain Nilsson [Fri, 23 Nov 2012 16:25:15 +0000 (17:25 +0100)]
Added the USB mode option to ykpersonalize, though the actual implementation is still missing.

11 years agotest yk_check_firmware2() with a couple of versions
Klas Lindfors [Fri, 9 Nov 2012 14:47:46 +0000 (15:47 +0100)]
test yk_check_firmware2() with a couple of versions

11 years agoadd yk_check_firmware2() that takes status instead of key and let yk_check_firmware...
Klas Lindfors [Fri, 9 Nov 2012 14:47:13 +0000 (15:47 +0100)]
add yk_check_firmware2() that takes status instead of key and let yk_check_firmware() call that

for testability

11 years agosome tests for new neo ndef
Klas Lindfors [Fri, 9 Nov 2012 14:17:52 +0000 (15:17 +0100)]
some tests for new neo ndef

11 years agoadd testing of ykp_ndef_as_text()
Klas Lindfors [Fri, 9 Nov 2012 14:06:57 +0000 (15:06 +0100)]
add testing of ykp_ndef_as_text()

11 years agoshow what ndef will be written to key
Klas Lindfors [Fri, 9 Nov 2012 14:09:10 +0000 (15:09 +0100)]
show what ndef will be written to key

11 years agoadd ykp_ndef_as_text() to get the text back from YK_NDEF
Klas Lindfors [Fri, 9 Nov 2012 14:08:50 +0000 (15:08 +0100)]
add ykp_ndef_as_text() to get the text back from YK_NDEF

11 years agoset the ndef_type to 0
Klas Lindfors [Fri, 9 Nov 2012 13:19:35 +0000 (14:19 +0100)]
set the ndef_type to 0

11 years agoallow -n/-t to be used without slot, default to 1 then.
Klas Lindfors [Fri, 9 Nov 2012 13:18:28 +0000 (14:18 +0100)]
allow -n/-t to be used without slot, default to 1 then.

11 years agoreset errnum if we found a key on second attempt
Klas Lindfors [Fri, 9 Nov 2012 13:12:16 +0000 (14:12 +0100)]
reset errnum if we found a key on second attempt

11 years agotool support for writing SLOT_NDEF2
Klas Lindfors [Fri, 9 Nov 2012 12:39:44 +0000 (13:39 +0100)]
tool support for writing SLOT_NDEF2

11 years agoadd support for SLOT_NDEF2
Klas Lindfors [Fri, 9 Nov 2012 12:29:45 +0000 (13:29 +0100)]
add support for SLOT_NDEF2

11 years agosupport for production NEO with new product id and version
Klas Lindfors [Fri, 9 Nov 2012 12:27:09 +0000 (13:27 +0100)]
support for production NEO with new product id and version

11 years agoreturn error for invalid conf
Klas Lindfors [Fri, 9 Nov 2012 12:25:12 +0000 (13:25 +0100)]
return error for invalid conf

11 years agoignore new pbkdf2 test
Klas Lindfors [Fri, 9 Nov 2012 08:55:53 +0000 (09:55 +0100)]
ignore new pbkdf2 test

11 years agobump versions after release
Klas Lindfors [Thu, 8 Nov 2012 07:12:17 +0000 (08:12 +0100)]
bump versions after release

11 years agorelease 1.9.0 v1.9.0
Klas Lindfors [Thu, 8 Nov 2012 07:04:28 +0000 (08:04 +0100)]
release 1.9.0

11 years agobump version correctly for ykpers4win
Klas Lindfors [Wed, 7 Nov 2012 08:35:41 +0000 (09:35 +0100)]
bump version correctly for ykpers4win

11 years agoParametrize the logfile.
Simon Josefsson [Wed, 31 Oct 2012 13:49:16 +0000 (14:49 +0100)]
Parametrize the logfile.

11 years agoAdd ykinfo -a flag.
Simon Josefsson [Mon, 29 Oct 2012 14:23:08 +0000 (15:23 +0100)]
Add ykinfo -a flag.

11 years agolet loop variable be size_t as we're comparing with size_t
Klas Lindfors [Thu, 25 Oct 2012 16:56:15 +0000 (18:56 +0200)]
let loop variable be size_t as we're comparing with size_t

11 years agokeep const when casting
Klas Lindfors [Thu, 25 Oct 2012 16:55:59 +0000 (18:55 +0200)]
keep const when casting

11 years agothe structs where expanded previously, initialize the last for all fields
Klas Lindfors [Thu, 25 Oct 2012 16:54:13 +0000 (18:54 +0200)]
the structs where expanded previously, initialize the last for all fields

11 years agofix space after - in yml
Klas Lindfors [Thu, 25 Oct 2012 16:38:20 +0000 (18:38 +0200)]
fix space after - in yml

11 years agotry to do update before install
Klas Lindfors [Thu, 25 Oct 2012 14:18:08 +0000 (16:18 +0200)]
try to do update before install

11 years agoMerge branch 'master' of github.com:Yubico/yubikey-personalization
Klas Lindfors [Thu, 25 Oct 2012 14:02:55 +0000 (16:02 +0200)]
Merge branch 'master' of github.com:Yubico/yubikey-personalization

11 years agofix the pbkdf2 implementation so output matches rfc 6070
Klas Lindfors [Thu, 25 Oct 2012 14:00:12 +0000 (16:00 +0200)]
fix the pbkdf2 implementation so output matches rfc 6070

11 years agoadd test that checks our implementation of pbkdf2
Klas Lindfors [Thu, 25 Oct 2012 13:59:24 +0000 (15:59 +0200)]
add test that checks our implementation of pbkdf2

test vectors from rfc6070 (http://tools.ietf.org/html/rfc6070)

11 years agochange how we expose the prf method for the pbkdf2
Klas Lindfors [Thu, 25 Oct 2012 13:48:15 +0000 (15:48 +0200)]
change how we expose the prf method for the pbkdf2

export the function in the library and remove the global variable.
add ykpbkdf2.h to the distribution

11 years agoremove extra include
Klas Lindfors [Thu, 25 Oct 2012 12:09:40 +0000 (14:09 +0200)]
remove extra include

11 years agoAdd example tool to automate programming.
Simon Josefsson [Wed, 24 Oct 2012 13:07:33 +0000 (15:07 +0200)]
Add example tool to automate programming.

11 years agoman entry for -z
Klas Lindfors [Fri, 19 Oct 2012 07:47:15 +0000 (09:47 +0200)]
man entry for -z

11 years agoadd -z switch for deleting a configuration
Klas Lindfors [Fri, 19 Oct 2012 07:45:27 +0000 (09:45 +0200)]
add -z switch for deleting a configuration

11 years agohandle deleting configuration better
Klas Lindfors [Thu, 18 Oct 2012 08:49:17 +0000 (10:49 +0200)]
handle deleting configuration better

if both slots are configured and one is deleted programming sequence will be
counted up as usual. when the last slot is deleted programming sequence will
be set to 0. try to handle this.

11 years agobump versions after release
Klas Lindfors [Wed, 17 Oct 2012 13:40:30 +0000 (15:40 +0200)]
bump versions after release

11 years agorelease 1.8.2 v1.8.2
Klas Lindfors [Wed, 17 Oct 2012 13:33:31 +0000 (15:33 +0200)]
release 1.8.2

very minor release, the udev files weren't included in the distribution

11 years agoadd the udev rules files to EXTRA_DIST so they're packed in distribution
Klas Lindfors [Wed, 17 Oct 2012 12:05:15 +0000 (14:05 +0200)]
add the udev rules files to EXTRA_DIST so they're packed in distribution

11 years agodon't use pre-constructed default structs and ykcore-lcl.h
Klas Lindfors [Wed, 17 Oct 2012 10:40:26 +0000 (12:40 +0200)]
don't use pre-constructed default structs and ykcore-lcl.h

use the set functions we provide to set up our defaults instead.

11 years agobump version in configure.ac
Klas Lindfors [Wed, 17 Oct 2012 10:42:28 +0000 (12:42 +0200)]
bump version in configure.ac

11 years agobump versions after release
Klas Lindfors [Wed, 17 Oct 2012 05:56:33 +0000 (07:56 +0200)]
bump versions after release

11 years agomention ykinfo in NEWS, set release date for 1.8.1 v1.8.1
Klas Lindfors [Wed, 17 Oct 2012 05:48:54 +0000 (07:48 +0200)]
mention ykinfo in NEWS, set release date for 1.8.1

11 years agoadd -p switch for programming sequence
Klas Lindfors [Tue, 16 Oct 2012 06:53:06 +0000 (08:53 +0200)]
add -p switch for programming sequence

11 years agouse ykds_free() to free YK_STATUS instead of straight free
Klas Lindfors [Mon, 15 Oct 2012 17:13:07 +0000 (19:13 +0200)]
use ykds_free() to free YK_STATUS instead of straight free

11 years agoman page for ykinfo
Klas Lindfors [Mon, 15 Oct 2012 17:09:12 +0000 (19:09 +0200)]
man page for ykinfo

11 years agoykchalresp doesn't need to depend on libykpers
Klas Lindfors [Mon, 15 Oct 2012 16:49:01 +0000 (18:49 +0200)]
ykchalresp doesn't need to depend on libykpers

11 years agoadd new binary ykinfo
Klas Lindfors [Mon, 15 Oct 2012 16:47:50 +0000 (18:47 +0200)]
add new binary ykinfo

can be used to get serial, version or touch level from the command line

11 years agomore NEWS for 1.8.1
Klas Lindfors [Fri, 12 Oct 2012 13:45:42 +0000 (15:45 +0200)]
more NEWS for 1.8.1

11 years agoMerge branch 'systemd' of https://github.com/wzzrd/yubikey-personalization
Klas Lindfors [Fri, 12 Oct 2012 12:46:19 +0000 (14:46 +0200)]
Merge branch 'systemd' of https://github.com/wzzrd/yubikey-personalization

11 years agoNEWS for 1.8.1 release
Klas Lindfors [Fri, 12 Oct 2012 12:44:47 +0000 (14:44 +0200)]
NEWS for 1.8.1 release

11 years agoFix support for setting ACL through udev
Maxim Burgerhout [Fri, 12 Oct 2012 12:25:23 +0000 (14:25 +0200)]
Fix support for setting ACL through udev

Needs recent udev (>= 188) that has ID_SECURITY_TOKEN in 70-uaccess.rules /
70-udev-acl.rules.

No longer uses the deprecated udev-acl tool for setting ACL's on the
/dev/input/event* files created by the Yubikey.

11 years agoAM_PROG_AR added for the newest automake
Maxim Burgerhout [Fri, 12 Oct 2012 12:17:09 +0000 (14:17 +0200)]
AM_PROG_AR added for the newest automake

Needed on Fedora 18, at least. Will generate a warninig on older platforms,
like EL6, but will not prevent build.

Fixes these error messages during autoreconf:

    linking libtool libraries using a non-POSIX \
    /usr/share/automake-1.12/am/ltlibrary.am: archiver requires \
    'AM_PROG_AR' in 'configure.ac'

11 years agoAdd build-aux/ar-lib to .gitignore
Maxim Burgerhout [Fri, 12 Oct 2012 12:16:33 +0000 (14:16 +0200)]
Add build-aux/ar-lib to .gitignore

11 years agoadd better error returns for osx, return the error names, can't find a good strerror...
Klas Lindfors [Wed, 10 Oct 2012 13:43:20 +0000 (15:43 +0200)]
add better error returns for osx, return the error names, can't find a good strerror() from apple

11 years agoworkaround for a memory leak in IOHIDManagerCopyDevices()
Klas Lindfors [Wed, 10 Oct 2012 13:42:20 +0000 (15:42 +0200)]
workaround for a memory leak in IOHIDManagerCopyDevices()

leaks 192 bytes/call on os x 10.8.2, by scheduling and unscheduling a run loop it doesn't leak.

11 years agodon't do yk_release() when failing to open a device
Klas Lindfors [Wed, 10 Oct 2012 06:48:20 +0000 (08:48 +0200)]
don't do yk_release() when failing to open a device

11 years agowe need to CFRetain(yk) after opening the device
Klas Lindfors [Wed, 10 Oct 2012 06:44:41 +0000 (08:44 +0200)]
we need to CFRetain(yk) after opening the device

and do CFRelease() when closing the device

11 years agodon't do IOHIDManagerClose() in stop
Klas Lindfors [Wed, 10 Oct 2012 06:10:30 +0000 (08:10 +0200)]
don't do IOHIDManagerClose() in stop

it's used for matching IOHIDManagerOpen() not IOHIDManagerCreate()

11 years agoignore more ykcore backends
Klas Lindfors [Mon, 8 Oct 2012 10:44:16 +0000 (11:44 +0100)]
ignore more ykcore backends

11 years agomake error handling match that of other ykcore implementations
Klas Lindfors [Mon, 8 Oct 2012 06:48:48 +0000 (07:48 +0100)]
make error handling match that of other ykcore implementations

11 years agoremove extra spaces in ykcore_osx
Klas Lindfors [Mon, 8 Oct 2012 06:31:50 +0000 (07:31 +0100)]
remove extra spaces in ykcore_osx

11 years agoIOHIDManager object have to be disposed of with CFRelease()
Klas Lindfors [Fri, 5 Oct 2012 19:36:42 +0000 (20:36 +0100)]
IOHIDManager object have to be disposed of with CFRelease()

11 years agobump versions post-release
Klas Lindfors [Fri, 28 Sep 2012 06:44:12 +0000 (08:44 +0200)]
bump versions post-release

11 years agobump version to 1.8.0 for release v1.8.0
Klas Lindfors [Fri, 28 Sep 2012 06:35:51 +0000 (08:35 +0200)]
bump version to 1.8.0 for release

11 years agofix NEWS about ndef_construct return values
Klas Lindfors [Thu, 27 Sep 2012 11:27:05 +0000 (13:27 +0200)]
fix NEWS about ndef_construct return values

11 years agocorrect indentation
Klas Lindfors [Thu, 27 Sep 2012 11:26:56 +0000 (13:26 +0200)]
correct indentation

12 years agowhen calling libusb_exit() clear usb_ctx and libusb_inited
Klas Lindfors [Fri, 21 Sep 2012 11:26:43 +0000 (13:26 +0200)]
when calling libusb_exit() clear usb_ctx and libusb_inited