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

13 years agoFix 'make check' before 'make'.
Fredrik Thulin [Tue, 8 Mar 2011 14:12:11 +0000 (15:12 +0100)]
Fix 'make check' before 'make'.

13 years agoChange product link.
Fredrik Thulin [Tue, 8 Mar 2011 13:48:10 +0000 (14:48 +0100)]
Change product link.

13 years agoMerge branch 'feature/challenge-response'
Fredrik Thulin [Tue, 8 Mar 2011 09:04:50 +0000 (10:04 +0100)]
Merge branch 'feature/challenge-response'

Conflicts:
ykcore/ykcore.h

13 years agoElaborate a bit on uid= and fixed=.
Fredrik Thulin [Tue, 8 Mar 2011 08:59:46 +0000 (09:59 +0100)]
Elaborate a bit on uid= and fixed=.

13 years agoCorrect version required for C/R configuration flags.
Fredrik Thulin [Tue, 8 Mar 2011 08:39:52 +0000 (09:39 +0100)]
Correct version required for C/R configuration flags.

13 years agoRevert "Remove redundant '-h' check."
Fredrik Thulin [Tue, 8 Mar 2011 08:35:15 +0000 (09:35 +0100)]
Revert "Remove redundant '-h' check."

This reverts commit 6a07096ae503b6f548149735c8cb0a2112dcbe53.

13 years agoAdd ability to read serial number.
Fredrik Thulin [Mon, 7 Mar 2011 15:28:08 +0000 (16:28 +0100)]
Add ability to read serial number.

13 years ago'fixed' is n/a for OATH/CHAL-RESP.
Fredrik Thulin [Mon, 7 Mar 2011 14:26:37 +0000 (15:26 +0100)]
'fixed' is n/a for OATH/CHAL-RESP.

13 years agoClarify type of key in error message.
Fredrik Thulin [Mon, 7 Mar 2011 14:23:01 +0000 (15:23 +0100)]
Clarify type of key in error message.

13 years agoNew URL for issue tracker.
Fredrik Thulin [Mon, 7 Mar 2011 14:22:29 +0000 (15:22 +0100)]
New URL for issue tracker.

13 years agoinit
Fredrik Thulin [Mon, 7 Mar 2011 14:22:11 +0000 (15:22 +0100)]
init

13 years agoWait for configuration writing to finish.
Fredrik Thulin [Mon, 7 Mar 2011 13:57:42 +0000 (14:57 +0100)]
Wait for configuration writing to finish.

After last write, we must wait for the key to turn off SLOT_WRITE_FLAG
before fetching status to verify write operation.

13 years agoUse AC_CHECK_LIB to check for FreeBSD libusb.
Fredrik Thulin [Sun, 6 Mar 2011 19:19:22 +0000 (20:19 +0100)]
Use AC_CHECK_LIB to check for FreeBSD libusb.

Can't use AC_LIB_HAVE_LINKFLAGS twice since the result is cached.

13 years agoFix FreeBSD libusb detection.
Fredrik Thulin [Sun, 6 Mar 2011 15:36:04 +0000 (16:36 +0100)]
Fix FreeBSD libusb detection.

13 years agoTry to fix libusb detection on FreeBSD 8.
Fredrik Thulin [Tue, 1 Mar 2011 14:22:27 +0000 (15:22 +0100)]
Try to fix libusb detection on FreeBSD 8.

FreeBSD 8 has an implementation of the libusb-1.0 API in -lusb,
try to handle it.

13 years agoDon't track generated ChangeLog.
Fredrik Thulin [Wed, 16 Feb 2011 10:30:30 +0000 (11:30 +0100)]
Don't track generated ChangeLog.

13 years agoUpdate.
Simon Josefsson [Tue, 8 Feb 2011 10:19:15 +0000 (11:19 +0100)]
Update.

13 years agoFix YK_ENOMEM and YK_ENOSTATUS both being 0x07.
Fredrik Thulin [Sat, 5 Feb 2011 19:19:59 +0000 (20:19 +0100)]
Fix YK_ENOMEM and YK_ENOSTATUS both being 0x07.

13 years agoRemove redundant '-h' check.
Fredrik Thulin [Sat, 5 Feb 2011 19:19:15 +0000 (20:19 +0100)]
Remove redundant '-h' check.

13 years agoAdd challenge-response tool (ykchalresp).
Fredrik Thulin [Sat, 5 Feb 2011 18:42:53 +0000 (19:42 +0100)]
Add challenge-response tool (ykchalresp).

This required implementing multi-feature-report reads in ykcore.c.

It is kind of wrong to have these functions in libykpers, but that's
where they are at the moment. We might split some part of libykpers
out into a new library before releasing anything official. This is
to be considered work in progress.

13 years agoDocument 160 bit key fix, and increase LT_REVISION since it modified
Fredrik Thulin [Mon, 31 Jan 2011 12:55:46 +0000 (13:55 +0100)]
Document 160 bit key fix, and increase LT_REVISION since it modified
libykpers code.

13 years agoMinor cleanups.
Fredrik Thulin [Mon, 31 Jan 2011 12:55:31 +0000 (13:55 +0100)]
Minor cleanups.

13 years agoMake ykp_AES_key_from_passphrase() handle 160 bit keys too.
Fredrik Thulin [Mon, 31 Jan 2011 12:44:06 +0000 (13:44 +0100)]
Make ykp_AES_key_from_passphrase() handle 160 bit keys too.

13 years agoykp_write_config: Some modes now store four bytes key in uid.
Fredrik Thulin [Mon, 31 Jan 2011 10:12:35 +0000 (11:12 +0100)]
ykp_write_config: Some modes now store four bytes key in uid.

OATH-HOTP and HMAC challenge response have 20 bytes key, but the
key field in the configuration is only 16 bytes. They therefor store
four more bytes in the uid field. The pretty-printer is now aware
of this, and will say "uid: n/a" when there is actually key data in
there, and show the complete 20 bytes key as "key:".

13 years agoAdd info about how to populate the doc/ directory after the move to Git.
Fredrik Thulin [Thu, 20 Jan 2011 07:06:53 +0000 (08:06 +0100)]
Add info about how to populate the doc/ directory after the move to Git.

13 years agorelease: One more fix for build dir != src dir.
Fredrik Thulin [Wed, 19 Jan 2011 10:12:53 +0000 (11:12 +0100)]
release: One more fix for build dir != src dir.

Do 'git push' before tagging to find any problems before tagging.

13 years agorelease: Make work with build dir != src dir. v1.4.1
Fredrik Thulin [Wed, 19 Jan 2011 09:39:31 +0000 (10:39 +0100)]
release: Make work with build dir != src dir.

13 years agoUpdates for new release 1.4.1.
Fredrik Thulin [Tue, 18 Jan 2011 21:22:46 +0000 (22:22 +0100)]
Updates for new release 1.4.1.

13 years agoMerge branch 'master' of github.com:Yubico/yubikey-personalization
Fredrik Thulin [Tue, 18 Jan 2011 21:10:21 +0000 (22:10 +0100)]
Merge branch 'master' of github.com:Yubico/yubikey-personalization

13 years agoMove OATH-HOTP symbols back to LIBYKPERS_1.0.
Fredrik Thulin [Tue, 18 Jan 2011 21:09:06 +0000 (22:09 +0100)]
Move OATH-HOTP symbols back to LIBYKPERS_1.0.

This reverts parts of 868c2b38 - the cat was out of the bag.

13 years agoDrop make check until we've fixed -z muldefs.
Simon Josefsson [Mon, 17 Jan 2011 16:02:01 +0000 (17:02 +0100)]
Drop make check until we've fixed -z muldefs.

13 years agoAdd all rule.
Simon Josefsson [Mon, 17 Jan 2011 15:55:55 +0000 (16:55 +0100)]
Add all rule.

13 years agoUpdate for 1.4.0.
Simon Josefsson [Mon, 17 Jan 2011 15:55:25 +0000 (16:55 +0100)]
Update for 1.4.0.

13 years agoUpdate release target. v1.4.0
Simon Josefsson [Mon, 17 Jan 2011 15:41:07 +0000 (16:41 +0100)]
Update release target.

13 years agoUpdate doc/.
Simon Josefsson [Mon, 17 Jan 2011 15:37:10 +0000 (16:37 +0100)]
Update doc/.

13 years agoFix ChangeLog generation.
Simon Josefsson [Mon, 17 Jan 2011 15:36:49 +0000 (16:36 +0100)]
Fix ChangeLog generation.

13 years agoFix check-doc-dist rule.
Simon Josefsson [Mon, 17 Jan 2011 15:36:05 +0000 (16:36 +0100)]
Fix check-doc-dist rule.

13 years agoMerge branch 'master' of github.com:Yubico/yubikey-personalization
Fredrik Thulin [Mon, 17 Jan 2011 15:32:25 +0000 (16:32 +0100)]
Merge branch 'master' of github.com:Yubico/yubikey-personalization

13 years agoDocument changes betwen 1.3.5 and 1.4.0.
Fredrik Thulin [Mon, 17 Jan 2011 15:32:02 +0000 (16:32 +0100)]
Document changes betwen 1.3.5 and 1.4.0.

13 years agoUpdate doc/.
Simon Josefsson [Mon, 17 Jan 2011 15:20:53 +0000 (16:20 +0100)]
Update doc/.

13 years agoUpdate version numbers for next release.
Fredrik Thulin [Mon, 17 Jan 2011 15:07:51 +0000 (16:07 +0100)]
Update version numbers for next release.

13 years agoReject -a key with upper case hex.
Fredrik Thulin [Mon, 17 Jan 2011 14:49:39 +0000 (15:49 +0100)]
Reject -a key with upper case hex.

yubikey_hex_decode only handles lowercase hex, so use yubikey_hex_p
to check that input string is valid instead of local version which
also allowed upper case.

13 years agowhitespace
Fredrik Thulin [Mon, 17 Jan 2011 14:49:06 +0000 (15:49 +0100)]
whitespace

13 years ago160 bit keys are HMAC keys.
Fredrik Thulin [Mon, 17 Jan 2011 14:36:34 +0000 (15:36 +0100)]
160 bit keys are HMAC keys.

13 years agoUpdate version to 1.4.
Fredrik Thulin [Mon, 17 Jan 2011 14:27:11 +0000 (15:27 +0100)]
Update version to 1.4.

13 years agoAdd doc/ submodule.
Simon Josefsson [Mon, 17 Jan 2011 14:14:44 +0000 (15:14 +0100)]
Add doc/ submodule.

13 years agoAdd test case for option after mode selection.
Fredrik Thulin [Mon, 17 Jan 2011 12:57:20 +0000 (13:57 +0100)]
Add test case for option after mode selection.

13 years agoOnly allow choosing slot once.
Fredrik Thulin [Mon, 17 Jan 2011 11:44:09 +0000 (12:44 +0100)]
Only allow choosing slot once.

Choosing slot resets cfgFlags etc. which violates the principle
of least astonishments if done more than once
(think setting a bunch of flags, and then setting slot).

13 years agoShorter test code.
Fredrik Thulin [Mon, 17 Jan 2011 10:00:26 +0000 (11:00 +0100)]
Shorter test code.

Do like in the python checks and always just check returned buffer
against expected array of bytes.

13 years agoAdd support for the extended flags in Yubikey 2.2.
Fredrik Thulin [Mon, 17 Jan 2011 09:42:28 +0000 (10:42 +0100)]
Add support for the extended flags in Yubikey 2.2.

13 years agoAdd support for the challenge-response mode in Yubikey version 2.2.
Fredrik Thulin [Mon, 17 Jan 2011 08:39:53 +0000 (09:39 +0100)]
Add support for the challenge-response mode in Yubikey version 2.2.

13 years agoAdd support for 40 bytes (160 bits) -a.
Fredrik Thulin [Fri, 14 Jan 2011 16:22:46 +0000 (17:22 +0100)]
Add support for 40 bytes (160 bits) -a.

This is for OATH and HMAC challenge-response, introduced in Yubikey
2.1 and 2.2.

13 years agoRebuild libykpers-1 when libykpers-1.map is updated.
Fredrik Thulin [Fri, 14 Jan 2011 14:09:02 +0000 (15:09 +0100)]
Rebuild libykpers-1 when libykpers-1.map is updated.

13 years agoMerge branch 'devel/add_test_cases' into feature/yubikey22_support
Fredrik Thulin [Fri, 14 Jan 2011 12:08:05 +0000 (13:08 +0100)]
Merge branch 'devel/add_test_cases' into feature/yubikey22_support

13 years agoMore test cases, and fixes to old ones.
Fredrik Thulin [Fri, 14 Jan 2011 09:57:14 +0000 (10:57 +0100)]
More test cases, and fixes to old ones.

13 years agoMend infname/outfname argument parsing.
Fredrik Thulin [Fri, 14 Jan 2011 09:55:09 +0000 (10:55 +0100)]
Mend infname/outfname argument parsing.

Bug introduced in second-last commit, c9db06dc.

13 years agoAdd test cases for ykpersonalize argument parsing.
Fredrik Thulin [Thu, 13 Jan 2011 22:07:57 +0000 (23:07 +0100)]
Add test cases for ykpersonalize argument parsing.

13 years agoMake argument parsing testable.
Fredrik Thulin [Thu, 13 Jan 2011 22:04:47 +0000 (23:04 +0100)]
Make argument parsing testable.

13 years agoCreate proper tests/ subdir.
Fredrik Thulin [Thu, 13 Jan 2011 12:37:13 +0000 (13:37 +0100)]
Create proper tests/ subdir.

13 years agoyk_write_to_key: use YK_FRAME struct from new ykdef.h.
Fredrik Thulin [Wed, 12 Jan 2011 20:38:44 +0000 (21:38 +0100)]
yk_write_to_key: use YK_FRAME struct from new ykdef.h.

13 years agoVersion 2.2.0 from JE.
Fredrik Thulin [Wed, 12 Jan 2011 09:49:45 +0000 (10:49 +0100)]
Version 2.2.0 from JE.

13 years agoMerge branch 'fix/libusb_0_1_detach_kernel' into feature/yubikey22_support
Fredrik Thulin [Tue, 11 Jan 2011 14:40:18 +0000 (15:40 +0100)]
Merge branch 'fix/libusb_0_1_detach_kernel' into feature/yubikey22_support

13 years agoMerge branch 'fix/flags_printing' into feature/yubikey22_support
Fredrik Thulin [Tue, 11 Jan 2011 14:40:13 +0000 (15:40 +0100)]
Merge branch 'fix/flags_printing' into feature/yubikey22_support

13 years ago_ykusb_open_device: Detach kernel HID driver.
Fredrik Thulin [Thu, 30 Dec 2010 19:42:46 +0000 (20:42 +0100)]
_ykusb_open_device: Detach kernel HID driver.

This avoids the

  USB error: could not claim interface 0: Device or resource busy

when linking with libusb-0.1 - at least on Ubuntu 10.04.

13 years agoykp_write_config: Config flags depend on context.
Fredrik Thulin [Mon, 27 Dec 2010 16:31:13 +0000 (17:31 +0100)]
ykp_write_config: Config flags depend on context.

Some config flags share value (e.g. STRONG_PW2 and
OATH_FIXED_MODHEX2 - both 0x40). With this patch,
we show OATH_FIXED_MODHEX2 if tktFlag OATH_HOTP is
set, and STRONG_PW2 otherwise (if cfgFlag matches
0x40).

13 years agoykp_write_config: Only output flags if all bits match.
Fredrik Thulin [Sun, 26 Dec 2010 21:21:58 +0000 (22:21 +0100)]
ykp_write_config: Only output flags if all bits match.

Do not output a false positive for a config/ticket flag if only
some bits match.

Without this patch, a configuration with the single cfgflag
STRONG_PW2 was shown as

  STRONG_PW2|OATH_FIXED_MODHEX2|OATH_FIXED_MODHEX

since there are some bits matching STRONG_PW2 (0x40) in
OATH_FIXED_MODHEX (0x50). With this patch, single cfgflag
STRONG_PW2 is shown as

  STRONG_PW2|OATH_FIXED_MODHEX2

OATH_FIXED_MODHEX2 is also shown as it shares the value of 0x40,
and the outputting is not context aware (yet).

13 years agoinit
Fredrik Thulin [Sat, 25 Dec 2010 17:01:19 +0000 (18:01 +0100)]
init