]>
err.no Git - yubikey-personalization/log
Fredrik Thulin [Fri, 14 Jan 2011 12:08:05 +0000 (13:08 +0100)]
Merge branch 'devel/add_test_cases' into feature/yubikey22_support
Fredrik Thulin [Fri, 14 Jan 2011 09:57:14 +0000 (10:57 +0100)]
More test cases, and fixes to old ones.
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 .
Fredrik Thulin [Thu, 13 Jan 2011 22:07:57 +0000 (23:07 +0100)]
Add test cases for ykpersonalize argument parsing.
Fredrik Thulin [Thu, 13 Jan 2011 22:04:47 +0000 (23:04 +0100)]
Make argument parsing testable.
Fredrik Thulin [Thu, 13 Jan 2011 12:37:13 +0000 (13:37 +0100)]
Create proper tests/ subdir.
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.
Fredrik Thulin [Wed, 12 Jan 2011 09:49:45 +0000 (10:49 +0100)]
Version 2.2.0 from JE.
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
Fredrik Thulin [Tue, 11 Jan 2011 14:40:13 +0000 (15:40 +0100)]
Merge branch 'fix/flags_printing' into feature/yubikey22_support
Tollef Fog Heen [Fri, 31 Dec 2010 08:11:30 +0000 (09:11 +0100)]
Merge remote branch 'origin/master'
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.
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).
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).
Fredrik Thulin [Sat, 25 Dec 2010 17:01:19 +0000 (18:01 +0100)]
init
Fredrik Thulin [Sat, 25 Dec 2010 17:00:23 +0000 (18:00 +0100)]
Amend last commit.
Missing some {}.
Fredrik Thulin [Tue, 21 Dec 2010 22:08:17 +0000 (23:08 +0100)]
Check return value of ykp_set_(cfg|tkt)flag.
Wrong Yubikey version errors were concealed (and flags just dropped) :
$ ./ykpersonalize -ooath-hotp8 -s-
Firmware version 1.3.2 Touch level 7104 Program sequence 1
...
ticket_flags: APPEND_CR
config_flags:
$
With this patch :
$ ./ykpersonalize -ooath-hotp8 -s-
Firmware version 1.3.2 Touch level 7440 Program sequence 4
Yubikey personalization error: option not available for this Yubikey version
$
simon@yubico.com [Thu, 25 Nov 2010 15:32:25 +0000 (15:32 +0000)]
Support 64-bit Windows in upload target.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@280
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 15:32:25 +0000 (15:32 +0000)]
Support 64-bit Windows in upload target.
simon@yubico.com [Thu, 25 Nov 2010 15:30:44 +0000 (15:30 +0000)]
Support 64-bit.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@279
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 15:30:44 +0000 (15:30 +0000)]
Support 64-bit.
simon@yubico.com [Thu, 25 Nov 2010 14:58:17 +0000 (14:58 +0000)]
Add upload target.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@278
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:58:17 +0000 (14:58 +0000)]
Add upload target.
simon@yubico.com [Thu, 25 Nov 2010 14:27:36 +0000 (14:27 +0000)]
Fix.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@277
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:27:36 +0000 (14:27 +0000)]
Fix.
simon@yubico.com [Thu, 25 Nov 2010 14:24:50 +0000 (14:24 +0000)]
Add.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@276
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:24:50 +0000 (14:24 +0000)]
Add.
simon@yubico.com [Thu, 25 Nov 2010 14:15:26 +0000 (14:15 +0000)]
Handle svn2cl failures.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@274
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:15:26 +0000 (14:15 +0000)]
Handle svn2cl failures.
simon@yubico.com [Thu, 25 Nov 2010 14:14:07 +0000 (14:14 +0000)]
Add docs.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@273
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:14:07 +0000 (14:14 +0000)]
Add docs.
simon@yubico.com [Thu, 25 Nov 2010 14:13:46 +0000 (14:13 +0000)]
Version 1.3.5.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@272
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:13:46 +0000 (14:13 +0000)]
Version 1.3.5.
simon@yubico.com [Thu, 25 Nov 2010 14:02:05 +0000 (14:02 +0000)]
Add.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@271
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 14:02:05 +0000 (14:02 +0000)]
Add.
simon@yubico.com [Thu, 25 Nov 2010 13:55:54 +0000 (13:55 +0000)]
Add.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@267
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 13:55:54 +0000 (13:55 +0000)]
Add.
simon@yubico.com [Thu, 25 Nov 2010 11:57:22 +0000 (11:57 +0000)]
Fix compilation under Windows.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@266
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 25 Nov 2010 11:57:22 +0000 (11:57 +0000)]
Fix compilation under Windows.
simon@yubico.com [Thu, 11 Nov 2010 14:38:36 +0000 (14:38 +0000)]
Add.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@265
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 11 Nov 2010 14:38:36 +0000 (14:38 +0000)]
Add.
simon75j [Fri, 10 Sep 2010 07:49:58 +0000 (07:49 +0000)]
Bump versions.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@264
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:49:58 +0000 (07:49 +0000)]
Bump versions.
simon75j [Fri, 10 Sep 2010 07:47:01 +0000 (07:47 +0000)]
Version 1.3.4.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@262
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:47:01 +0000 (07:47 +0000)]
Version 1.3.4.
simon75j [Fri, 10 Sep 2010 07:41:22 +0000 (07:41 +0000)]
Make a copy of released archive.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@261
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:41:22 +0000 (07:41 +0000)]
Make a copy of released archive.
simon75j [Fri, 10 Sep 2010 07:36:20 +0000 (07:36 +0000)]
Fix crash on Mac OS X.
Reported by rosmiitto in Issue #6:
<http://code.google.com/p/yubikey-personalization/issues/detail?id=6>.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@260
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:36:20 +0000 (07:36 +0000)]
Fix crash on Mac OS X.
Reported by rosmiitto in Issue #6:
<http://code.google.com/p/yubikey-personalization/issues/detail?id=6>.
simon75j [Fri, 10 Sep 2010 07:28:46 +0000 (07:28 +0000)]
Fix bug that prevented salting during AES key generation
from passwords from working. Reported by Ben.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@259
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:28:46 +0000 (07:28 +0000)]
Fix bug that prevented salting during AES key generation
from passwords from working. Reported by Ben.
simon75j [Fri, 10 Sep 2010 07:28:23 +0000 (07:28 +0000)]
Fix typo in last commit.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@258
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:28:23 +0000 (07:28 +0000)]
Fix typo in last commit.
simon75j [Fri, 10 Sep 2010 07:18:43 +0000 (07:18 +0000)]
Clarify that salt only applies to key generation from password.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@257
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:18:43 +0000 (07:18 +0000)]
Clarify that salt only applies to key generation from password.
simon75j [Fri, 10 Sep 2010 07:17:17 +0000 (07:17 +0000)]
Clarify that salt only applies to key generation from password.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@256
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 10 Sep 2010 07:17:17 +0000 (07:17 +0000)]
Clarify that salt only applies to key generation from password.
simon75j [Mon, 14 Jun 2010 19:39:37 +0000 (19:39 +0000)]
Add contrib/ sub-directory and contrib/programming.sh from David Dindorp.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@251
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Mon, 14 Jun 2010 19:39:37 +0000 (19:39 +0000)]
Add contrib/ sub-directory and contrib/programming.sh from David Dindorp.
simon75j [Thu, 20 May 2010 09:07:10 +0000 (09:07 +0000)]
Bump version.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@250
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 20 May 2010 09:07:10 +0000 (09:07 +0000)]
Bump version.
simon75j [Thu, 20 May 2010 09:01:09 +0000 (09:01 +0000)]
Version 1.3.3.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@248
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 20 May 2010 09:01:09 +0000 (09:01 +0000)]
Version 1.3.3.
simon75j [Thu, 20 May 2010 09:00:14 +0000 (09:00 +0000)]
Fix release target.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@247
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 20 May 2010 09:00:14 +0000 (09:00 +0000)]
Fix release target.
simon75j [Thu, 20 May 2010 08:59:52 +0000 (08:59 +0000)]
Don't warn about upcoming YubiKey firmware 2.2.x, it is compatible.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@246
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Thu, 20 May 2010 08:59:52 +0000 (08:59 +0000)]
Don't warn about upcoming YubiKey firmware 2.2.x, it is compatible.
simon75j [Fri, 12 Mar 2010 15:37:48 +0000 (15:37 +0000)]
Bump version.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@245
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 12 Mar 2010 15:37:48 +0000 (15:37 +0000)]
Bump version.
simon75j [Fri, 12 Mar 2010 15:31:15 +0000 (15:31 +0000)]
Version 1.3.2.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@241
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 12 Mar 2010 15:31:15 +0000 (15:31 +0000)]
Version 1.3.2.
simon75j [Fri, 12 Mar 2010 15:29:43 +0000 (15:29 +0000)]
Bump version.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@240
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 12 Mar 2010 15:29:43 +0000 (15:29 +0000)]
Bump version.
simon75j [Fri, 12 Mar 2010 15:28:34 +0000 (15:28 +0000)]
I found a really old yubikey 0.9.9 and it worked fine. Silencing warning.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@239
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 12 Mar 2010 15:28:34 +0000 (15:28 +0000)]
I found a really old yubikey 0.9.9 and it worked fine. Silencing warning.
simon75j [Fri, 12 Mar 2010 15:25:52 +0000 (15:25 +0000)]
Fix output for unsupported firmware.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@238
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 12 Mar 2010 15:25:52 +0000 (15:25 +0000)]
Fix output for unsupported firmware.
tfheen [Tue, 2 Feb 2010 07:41:57 +0000 (07:41 +0000)]
Fix typo in ticket_flags_map
s/PROTECT_OATH_HOTP/OATH_HOTP/
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@237
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Tue, 2 Feb 2010 07:41:57 +0000 (07:41 +0000)]
Fix typo in ticket_flags_map
s/PROTECT_OATH_HOTP/OATH_HOTP/
tfheen [Sat, 30 Jan 2010 12:50:29 +0000 (12:50 +0000)]
Release 1.3.1
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@234
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 12:50:29 +0000 (12:50 +0000)]
Release 1.3.1
tfheen [Sat, 30 Jan 2010 12:33:11 +0000 (12:33 +0000)]
Revert r225, this breaks the build in some cases
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@232
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 12:33:11 +0000 (12:33 +0000)]
Revert r225, this breaks the build in some cases
tfheen [Sat, 30 Jan 2010 12:02:03 +0000 (12:02 +0000)]
Distribute stub .c files too
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@231
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 12:02:03 +0000 (12:02 +0000)]
Distribute stub .c files too
tfheen [Sat, 30 Jan 2010 11:44:16 +0000 (11:44 +0000)]
Bump version number, document changes in 1.3
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@229
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 11:44:16 +0000 (11:44 +0000)]
Bump version number, document changes in 1.3
tfheen [Sat, 30 Jan 2010 11:39:00 +0000 (11:39 +0000)]
Document OATH-HOTP a little bit
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@228
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 11:39:00 +0000 (11:39 +0000)]
Document OATH-HOTP a little bit
tfheen [Sat, 30 Jan 2010 10:06:12 +0000 (10:06 +0000)]
Update the manual page for OATH-HOTP
Also rewrite some descriptions to make it easier to understand what
the different flags does.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@227
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 10:06:12 +0000 (10:06 +0000)]
Update the manual page for OATH-HOTP
Also rewrite some descriptions to make it easier to understand what
the different flags does.
tfheen [Sat, 30 Jan 2010 10:06:05 +0000 (10:06 +0000)]
Add OATH-HOTP support
In addition, rewrite help output to make it more readable and ticket-
and configuration flag parsing to make it easier to read.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@226
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 10:06:05 +0000 (10:06 +0000)]
Add OATH-HOTP support
In addition, rewrite help output to make it more readable and ticket-
and configuration flag parsing to make it easier to read.
tfheen [Sat, 30 Jan 2010 10:05:56 +0000 (10:05 +0000)]
Make sure to rebuild library if map file changes
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@225
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Sat, 30 Jan 2010 10:05:56 +0000 (10:05 +0000)]
Make sure to rebuild library if map file changes
simon75j [Fri, 29 Jan 2010 12:28:39 +0000 (12:28 +0000)]
Dist doc/Compatibility.wiki.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@224
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Simon Josefsson [Fri, 29 Jan 2010 12:28:39 +0000 (12:28 +0000)]
Dist doc/Compatibility.wiki.
tfheen [Thu, 28 Jan 2010 22:52:32 +0000 (22:52 +0000)]
Add reference to compatibility wiki page
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@223
b62f149e -849f-11dd-9899-
c7ba65f7c4c7
Tollef Fog Heen [Thu, 28 Jan 2010 22:52:32 +0000 (22:52 +0000)]
Add reference to compatibility wiki page
tfheen [Thu, 28 Jan 2010 22:43:09 +0000 (22:43 +0000)]
Stop bailing out on unknown firmwares
Previously, we would bail out if we saw an unsupported firmware. Stop
doing that and instead write out a warning message saying not all
features might be supported.
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@221
b62f149e -849f-11dd-9899-
c7ba65f7c4c7