]> err.no Git - yubikey-personalization/log
yubikey-personalization
11 years agoHandle both GNU/WIN32 and BSD getopt reinit
Matt Stofko [Wed, 30 Jan 2013 01:13:05 +0000 (17:13 -0800)]
Handle both GNU/WIN32 and BSD getopt reinit

This allows all the tests to pass on systems that use the BSD version of getopt which uses optind = 1 and optreset to reinitialize getopt.

11 years agoadd YubiKey neo product ids to the udev rules scripts
Klas Lindfors [Thu, 17 Jan 2013 08:29:49 +0000 (09:29 +0100)]
add YubiKey neo product ids to the udev rules scripts

resolves #21

11 years agobump versions
Klas Lindfors [Mon, 14 Jan 2013 08:32:17 +0000 (09:32 +0100)]
bump versions

11 years agoNEWS for 1.11.3 (1.11.2 got broken NEWS) v1.11.3
Klas Lindfors [Wed, 9 Jan 2013 14:20:17 +0000 (15:20 +0100)]
NEWS for 1.11.3 (1.11.2 got broken NEWS)

11 years agobump version after release
Klas Lindfors [Wed, 9 Jan 2013 13:56:38 +0000 (14:56 +0100)]
bump version after release

11 years agoNEWS for 1.11.2
Klas Lindfors [Wed, 9 Jan 2013 13:56:10 +0000 (14:56 +0100)]
NEWS for 1.11.2

11 years agoMerge branch 'devel/only_one_key' v1.11.2
Klas Lindfors [Wed, 9 Jan 2013 13:08:58 +0000 (14:08 +0100)]
Merge branch 'devel/only_one_key'

11 years agofixup EMORETHANONE for windows
Klas Lindfors [Wed, 9 Jan 2013 13:02:55 +0000 (14:02 +0100)]
fixup EMORETHANONE for windows

11 years agoget rid of warning by casting
Klas Lindfors [Wed, 9 Jan 2013 12:30:32 +0000 (12:30 +0000)]
get rid of warning by casting

11 years agodrop c++ style comments
Klas Lindfors [Wed, 9 Jan 2013 12:26:21 +0000 (12:26 +0000)]
drop c++ style comments

11 years agorework the osx implementation to look at all devices
Klas Lindfors [Wed, 9 Jan 2013 12:24:23 +0000 (12:24 +0000)]
rework the osx implementation to look at all devices

avoids the wacky api of key and value matching

11 years agoset required automake version to 1.11.2
Klas Lindfors [Mon, 7 Jan 2013 09:55:37 +0000 (10:55 +0100)]
set required automake version to 1.11.2

fixes #22 and #20

11 years agolink the binaries correctly with ykpers and libyubikey
Klas Lindfors [Sun, 6 Jan 2013 20:03:59 +0000 (21:03 +0100)]
link the binaries correctly with ykpers and libyubikey

fixes where the binaries only got built static

11 years agolet _ykusb_open_device() error on several keys present
Klas Lindfors [Sun, 6 Jan 2013 10:58:04 +0000 (11:58 +0100)]
let _ykusb_open_device() error on several keys present

if more than one YubiKey is present _ykusb_open_device()
will return YK_EMORETHANONE.

11 years agoNEWS for 1.11.2
Klas Lindfors [Sat, 5 Jan 2013 13:22:23 +0000 (14:22 +0100)]
NEWS for 1.11.2

11 years agofix a bug writing invalid data to a YubiKey NEO
Klas Lindfors [Wed, 26 Dec 2012 13:01:12 +0000 (14:01 +0100)]
fix a bug writing invalid data to a YubiKey NEO

if an unknown identifier was used (or no identifier)
0x24 would be written instead of 0x00.
add a test for this.

11 years agobump versions after releasing 1.11.1
Klas Lindfors [Fri, 21 Dec 2012 07:58:22 +0000 (08:58 +0100)]
bump versions after releasing 1.11.1

11 years agoupdate documentation v1.11.1
Klas Lindfors [Fri, 21 Dec 2012 07:44:45 +0000 (08:44 +0100)]
update documentation

11 years agoNEWS for 1.11.1
Klas Lindfors [Fri, 21 Dec 2012 07:44:05 +0000 (08:44 +0100)]
NEWS for 1.11.1

11 years agobetter strerror() for windows usb issues
Klas Lindfors [Thu, 20 Dec 2012 13:01:24 +0000 (14:01 +0100)]
better strerror() for windows usb issues

11 years agofix a case where we would fail to recognize a YubiKey
Klas Lindfors [Wed, 19 Dec 2012 11:43:10 +0000 (12:43 +0100)]
fix a case where we would fail to recognize a YubiKey

if the first device found is from yubico (vid 1050) but not
a YubiKey we will fail on that instead of trying later devices.

11 years agodocument the scan-code mode with an example.
Klas Lindfors [Mon, 17 Dec 2012 08:58:32 +0000 (09:58 +0100)]
document the scan-code mode with an example.

11 years agofixed can be 16 bytes, 32 characters
Klas Lindfors [Mon, 17 Dec 2012 08:58:19 +0000 (09:58 +0100)]
fixed can be 16 bytes, 32 characters

11 years agotry to change some wording and make the manpage better
Klas Lindfors [Mon, 17 Dec 2012 08:38:20 +0000 (09:38 +0100)]
try to change some wording and make the manpage better

11 years agoadd labels for googlecode when uploading releases
Klas Lindfors [Wed, 12 Dec 2012 13:01:46 +0000 (14:01 +0100)]
add labels for googlecode when uploading releases

11 years agobump versions after release
Klas Lindfors [Wed, 12 Dec 2012 13:01:22 +0000 (14:01 +0100)]
bump versions after release

11 years agorelease 1.11.0 v1.11.0
Klas Lindfors [Wed, 12 Dec 2012 12:53:23 +0000 (13:53 +0100)]
release 1.11.0

11 years agoAvoid hard coding VERSION in ykpers4win.
Simon Josefsson [Wed, 12 Dec 2012 12:27:03 +0000 (13:27 +0100)]
Avoid hard coding VERSION in ykpers4win.

11 years agoBump so version.
Simon Josefsson [Wed, 12 Dec 2012 11:02:51 +0000 (12:02 +0100)]
Bump so version.

11 years agoIgnore more.
Simon Josefsson [Wed, 12 Dec 2012 11:01:00 +0000 (12:01 +0100)]
Ignore more.

11 years agoAdd version information.
Simon Josefsson [Wed, 12 Dec 2012 10:59:21 +0000 (11:59 +0100)]
Add version information.

11 years agobump versions after release
Klas Lindfors [Tue, 11 Dec 2012 15:23:35 +0000 (16:23 +0100)]
bump versions after release

11 years agorelease 1.10.0 v1.10.0
Klas Lindfors [Tue, 11 Dec 2012 15:11:46 +0000 (16:11 +0100)]
release 1.10.0

11 years agomisstake, that should be \0, not \n
Klas Lindfors [Tue, 11 Dec 2012 15:03:59 +0000 (16:03 +0100)]
misstake, that should be \0, not \n

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

12 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()

12 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()

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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

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

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

12 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)

12 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

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

12 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

12 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

12 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

12 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()

12 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

12 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

12 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

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

12 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

12 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

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

12 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

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

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

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

12 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

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

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

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

12 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

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

12 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

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

12 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

12 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

12 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

12 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)

12 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

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

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

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