]> err.no Git - yubikey-personalization/log
yubikey-personalization
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 agoman entry for -z
Klas Lindfors [Fri, 19 Oct 2012 07:47:15 +0000 (09:47 +0200)]
man entry for -z

12 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

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

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

12 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

12 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

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

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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

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

12 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

12 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

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

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

12 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

12 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

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

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

12 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

12 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

12 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

12 years agomake yk_challenge_response() take challenge as const
Klas Lindfors [Fri, 21 Sep 2012 08:11:29 +0000 (10:11 +0200)]
make yk_challenge_response() take challenge as const

12 years agomention yk_challenge_response()
Klas Lindfors [Fri, 21 Sep 2012 06:29:41 +0000 (08:29 +0200)]
mention yk_challenge_response()

12 years agoextern on function yk_write_ndef()
Klas Lindfors [Fri, 21 Sep 2012 06:28:35 +0000 (08:28 +0200)]
extern on function yk_write_ndef()

12 years agoNEWS for next release
Klas Lindfors [Thu, 20 Sep 2012 13:35:10 +0000 (15:35 +0200)]
NEWS for next release

12 years agounbreak. remove yk_ndef_st name and map both YKNDEF and YK_NDEF to ndef_st
Klas Lindfors [Thu, 20 Sep 2012 13:30:06 +0000 (15:30 +0200)]
unbreak. remove yk_ndef_st name and map both YKNDEF and YK_NDEF to ndef_st

12 years agotry to give CC later
Klas Lindfors [Thu, 20 Sep 2012 12:15:02 +0000 (14:15 +0200)]
try to give CC later

12 years agoand the compiler is -gcc
Klas Lindfors [Thu, 20 Sep 2012 12:07:11 +0000 (14:07 +0200)]
and the compiler is -gcc

12 years agotry to set compiler to i586-mingw32msvc
Klas Lindfors [Thu, 20 Sep 2012 12:04:33 +0000 (14:04 +0200)]
try to set compiler to i586-mingw32msvc

12 years agoadd mingw32-runtime
Klas Lindfors [Thu, 20 Sep 2012 12:01:27 +0000 (14:01 +0200)]
add mingw32-runtime

12 years agoupdate to windows building for travis
Klas Lindfors [Thu, 20 Sep 2012 11:43:53 +0000 (13:43 +0200)]
update to windows building for travis

12 years agodrop apt-get update
Klas Lindfors [Thu, 20 Sep 2012 11:42:22 +0000 (13:42 +0200)]
drop apt-get update

12 years agodon't use strnlen
Klas Lindfors [Thu, 20 Sep 2012 11:42:03 +0000 (13:42 +0200)]
don't use strnlen

12 years agotry other travis options
Klas Lindfors [Thu, 20 Sep 2012 10:55:37 +0000 (12:55 +0200)]
try other travis options

12 years agouse stub backend. try to install wine
Klas Lindfors [Thu, 20 Sep 2012 09:28:29 +0000 (11:28 +0200)]
use stub backend. try to install wine

12 years agoinstall libusb-dev for win so we can run configure
Klas Lindfors [Thu, 20 Sep 2012 09:26:30 +0000 (11:26 +0200)]
install libusb-dev for win so we can run configure

12 years agotry to just build the win stuff
Klas Lindfors [Thu, 20 Sep 2012 09:24:57 +0000 (11:24 +0200)]
try to just build the win stuff

12 years agoMerge branch 'master' into devel/windows_for_travis
Klas Lindfors [Thu, 20 Sep 2012 09:24:37 +0000 (11:24 +0200)]
Merge branch 'master' into devel/windows_for_travis

12 years agomore fixing
Klas Lindfors [Thu, 20 Sep 2012 09:22:21 +0000 (11:22 +0200)]
more fixing

12 years agoinstall fewer packages with variables
Klas Lindfors [Thu, 20 Sep 2012 09:20:39 +0000 (11:20 +0200)]
install fewer packages with variables

12 years agocreate an empty ChangeLog, try apt-get update
Klas Lindfors [Thu, 20 Sep 2012 09:18:30 +0000 (11:18 +0200)]
create an empty ChangeLog, try apt-get update

12 years agochange ykp_free_ndef to return int
Klas Lindfors [Thu, 20 Sep 2012 09:02:32 +0000 (11:02 +0200)]
change ykp_free_ndef to return int

12 years agoso mingw-w32 for travis?
Klas Lindfors [Thu, 20 Sep 2012 08:53:26 +0000 (10:53 +0200)]
so mingw-w32 for travis?

12 years agotravis for windows builds
Klas Lindfors [Thu, 20 Sep 2012 08:51:09 +0000 (10:51 +0200)]
travis for windows builds

12 years agotrack version in ykpers4win.mk
Klas Lindfors [Thu, 20 Sep 2012 08:43:10 +0000 (10:43 +0200)]
track version in ykpers4win.mk

12 years agomake the thread test work on windows
Klas Lindfors [Thu, 20 Sep 2012 08:35:05 +0000 (10:35 +0200)]
make the thread test work on windows

12 years agorm .svnignore, we're using git
Klas Lindfors [Thu, 20 Sep 2012 07:54:32 +0000 (09:54 +0200)]
rm .svnignore, we're using git

12 years agofix the NFC interfaces to work like the rest of our api
Klas Lindfors [Wed, 19 Sep 2012 14:18:22 +0000 (16:18 +0200)]
fix the NFC interfaces to work like the rest of our api

12 years agocorrect return values, 1 for success and 0 for fail
Klas Lindfors [Wed, 19 Sep 2012 13:07:36 +0000 (15:07 +0200)]
correct return values, 1 for success and 0 for fail

12 years agoremove ignored const on errno_location functions
Klas Lindfors [Wed, 19 Sep 2012 12:26:18 +0000 (14:26 +0200)]
remove ignored const on errno_location functions

fixes #11

12 years agoremove yk_write_key() from ykcore_lcl.h, defined in ykcore.h
Klas Lindfors [Wed, 19 Sep 2012 07:39:33 +0000 (09:39 +0200)]
remove yk_write_key() from ykcore_lcl.h, defined in ykcore.h

12 years agomake status unsigned to match other types
Klas Lindfors [Wed, 19 Sep 2012 06:47:58 +0000 (08:47 +0200)]
make status unsigned to match other types

12 years agochange to size_t to match function returns
Klas Lindfors [Wed, 19 Sep 2012 06:45:46 +0000 (08:45 +0200)]
change to size_t to match function returns

12 years agocast to const char* instead of char* to not discard const
Klas Lindfors [Wed, 19 Sep 2012 06:44:53 +0000 (08:44 +0200)]
cast to const char* instead of char* to not discard const

12 years agodidn't read properly how the LT_ versioning flags should change
Klas Lindfors [Wed, 19 Sep 2012 06:11:38 +0000 (08:11 +0200)]
didn't read properly how the LT_ versioning flags should change

12 years agolet ykpers-args.c include ykpers-args.h and fix function declaraction for report_yk_e...
Klas Lindfors [Tue, 18 Sep 2012 12:01:34 +0000 (14:01 +0200)]
let ykpers-args.c include ykpers-args.h and fix function declaraction for report_yk_error()

12 years agostrlen returns a size_t
Klas Lindfors [Tue, 18 Sep 2012 11:58:12 +0000 (13:58 +0200)]
strlen returns a size_t

12 years agodon't go into error-reporting mode before we can have errors
Klas Lindfors [Tue, 18 Sep 2012 11:54:33 +0000 (13:54 +0200)]
don't go into error-reporting mode before we can have errors

12 years agoadd function yk_challenge_response
Klas Lindfors [Tue, 18 Sep 2012 11:29:28 +0000 (13:29 +0200)]
add function yk_challenge_response

used for doing challenge-response with a key. used from ykchalresp.c

12 years agoremove unused variables
Klas Lindfors [Tue, 18 Sep 2012 11:23:35 +0000 (13:23 +0200)]
remove unused variables

12 years agoremove inaccurate comment
Klas Lindfors [Tue, 18 Sep 2012 07:48:08 +0000 (09:48 +0200)]
remove inaccurate comment

12 years agoremove unused variable and make sleep ints unsigned
Klas Lindfors [Tue, 18 Sep 2012 07:46:54 +0000 (09:46 +0200)]
remove unused variable and make sleep ints unsigned

12 years agoadd void as function argument to silence warning
Klas Lindfors [Tue, 18 Sep 2012 07:44:54 +0000 (09:44 +0200)]
add void as function argument to silence warning

12 years agoremove duplicated function declarations
Klas Lindfors [Tue, 18 Sep 2012 07:43:34 +0000 (09:43 +0200)]
remove duplicated function declarations

12 years agoremove unused variable
Klas Lindfors [Tue, 18 Sep 2012 07:39:32 +0000 (09:39 +0200)]
remove unused variable

12 years agoreturn 1 on success
Klas Lindfors [Tue, 18 Sep 2012 07:38:42 +0000 (09:38 +0200)]
return 1 on success

12 years agomake local function static
Klas Lindfors [Tue, 18 Sep 2012 07:30:52 +0000 (09:30 +0200)]
make local function static

12 years agoadd void to function declaration
Klas Lindfors [Tue, 18 Sep 2012 07:30:11 +0000 (09:30 +0200)]
add void to function declaration

12 years agomake local functions static
Klas Lindfors [Tue, 18 Sep 2012 07:29:30 +0000 (09:29 +0200)]
make local functions static

12 years agosize_t > ssize_t to match return type
Klas Lindfors [Tue, 18 Sep 2012 07:06:24 +0000 (09:06 +0200)]
size_t > ssize_t to match return type

12 years agovoid as argument to be a correct prototype
Klas Lindfors [Tue, 18 Sep 2012 07:00:42 +0000 (09:00 +0200)]
void as argument to be a correct prototype

12 years agouse passed-in vendor_id and product_id instead of constants
Klas Lindfors [Tue, 18 Sep 2012 06:59:31 +0000 (08:59 +0200)]
use passed-in vendor_id and product_id instead of constants

12 years agoadd void as function argument to get rid of warnings
Klas Lindfors [Tue, 18 Sep 2012 06:56:51 +0000 (08:56 +0200)]
add void as function argument to get rid of warnings

12 years agomake buf const as we assign static strings
Klas Lindfors [Tue, 18 Sep 2012 06:53:45 +0000 (08:53 +0200)]
make buf const as we assign static strings

12 years agoconst on static strings
Klas Lindfors [Tue, 18 Sep 2012 06:48:10 +0000 (08:48 +0200)]
const on static strings

12 years agomove up declarations before code to avoid warnings
Klas Lindfors [Tue, 18 Sep 2012 06:37:52 +0000 (08:37 +0200)]
move up declarations before code to avoid warnings

12 years agofunction declarations and make functions static
Klas Lindfors [Tue, 18 Sep 2012 06:35:56 +0000 (08:35 +0200)]
function declarations and make functions static

12 years agoremove apt-get update step, it breaks to often
Klas Lindfors [Tue, 18 Sep 2012 05:52:23 +0000 (07:52 +0200)]
remove apt-get update step, it breaks to often

12 years agoenable warnings for ykcore and tests
Klas Lindfors [Mon, 17 Sep 2012 13:38:49 +0000 (15:38 +0200)]
enable warnings for ykcore and tests

12 years agooptarg shadows global optarg, change variable name
Klas Lindfors [Mon, 17 Sep 2012 13:28:55 +0000 (15:28 +0200)]
optarg shadows global optarg, change variable name

12 years agoadd void as argument to silence warning
Klas Lindfors [Mon, 17 Sep 2012 13:28:38 +0000 (15:28 +0200)]
add void as argument to silence warning

12 years agobraces to remove warnings
Klas Lindfors [Mon, 17 Sep 2012 13:21:07 +0000 (15:21 +0200)]
braces to remove warnings

12 years agomake _get_supported_key_length() static
Klas Lindfors [Mon, 17 Sep 2012 13:18:05 +0000 (15:18 +0200)]
make _get_supported_key_length() static