]> err.no Git - yubikey-personalization.old/log
yubikey-personalization.old
13 years agoUpdate symbols file yubikey-personalisation_1.4.1-1
Tollef Fog Heen [Wed, 19 Jan 2011 20:18:13 +0000 (21:18 +0100)]
Update symbols file

13 years agoNew upstream release, just adjust changelog show
Tollef Fog Heen [Wed, 19 Jan 2011 20:01:09 +0000 (21:01 +0100)]
New upstream release, just adjust changelog

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Wed, 19 Jan 2011 20:00:44 +0000 (21:00 +0100)]
Merge branch 'master' into debian

13 years agoMerge commit 'v1.4.1'
Tollef Fog Heen [Wed, 19 Jan 2011 19:59:21 +0000 (20:59 +0100)]
Merge commit 'v1.4.1'

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 agoUpdate debian/docs to accomodate new paths
Tollef Fog Heen [Tue, 18 Jan 2011 18:49:52 +0000 (19:49 +0100)]
Update debian/docs to accomodate new paths

13 years agoNew upstream release
Tollef Fog Heen [Tue, 18 Jan 2011 18:43:26 +0000 (19:43 +0100)]
New upstream release

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Tue, 18 Jan 2011 18:42:01 +0000 (19:42 +0100)]
Merge branch 'master' into debian

Conflicts:
ykpersonalize.1

13 years agoMerge commit 'v1.4.0'
Tollef Fog Heen [Tue, 18 Jan 2011 18:40:09 +0000 (19:40 +0100)]
Merge commit 'v1.4.0'

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 agoDocument modhex yubikey-personalisation_1.3.5-1
Tollef Fog Heen [Fri, 31 Dec 2010 08:18:28 +0000 (09:18 +0100)]
Document modhex

13 years agoUpdate link to Yubikey manual
Tollef Fog Heen [Fri, 31 Dec 2010 08:18:01 +0000 (09:18 +0100)]
Update link to Yubikey manual

13 years agoNew upstream version
Tollef Fog Heen [Fri, 31 Dec 2010 08:17:43 +0000 (09:17 +0100)]
New upstream version

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Fri, 31 Dec 2010 08:12:38 +0000 (09:12 +0100)]
Merge branch 'master' into debian

13 years agoMerge remote branch 'origin/master'
Tollef Fog Heen [Fri, 31 Dec 2010 08:11:30 +0000 (09:11 +0100)]
Merge remote branch 'origin/master'

13 years agoMerge remote branch 'origin/master' into debian
Tollef Fog Heen [Fri, 31 Dec 2010 07:34:33 +0000 (08:34 +0100)]
Merge remote branch 'origin/master' into debian

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Fri, 31 Dec 2010 07:30:28 +0000 (08:30 +0100)]
Merge branch 'master' into debian

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

13 years agoAmend last commit.
Fredrik Thulin [Sat, 25 Dec 2010 17:00:23 +0000 (18:00 +0100)]
Amend last commit.

Missing some {}.

13 years agoCheck return value of ykp_set_(cfg|tkt)flag.
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
$

13 years agoSupport 64-bit Windows in upload target.
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

13 years agoSupport 64-bit Windows in upload target.
Simon Josefsson [Thu, 25 Nov 2010 15:32:25 +0000 (15:32 +0000)]
Support 64-bit Windows in upload target.

13 years agoSupport 64-bit.
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

13 years agoSupport 64-bit.
Simon Josefsson [Thu, 25 Nov 2010 15:30:44 +0000 (15:30 +0000)]
Support 64-bit.

13 years agoAdd upload target.
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

13 years agoAdd upload target.
Simon Josefsson [Thu, 25 Nov 2010 14:58:17 +0000 (14:58 +0000)]
Add upload target.

13 years agoFix.
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

13 years agoFix.
Simon Josefsson [Thu, 25 Nov 2010 14:27:36 +0000 (14:27 +0000)]
Fix.

13 years agoAdd.
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

13 years agoAdd.
Simon Josefsson [Thu, 25 Nov 2010 14:24:50 +0000 (14:24 +0000)]
Add.

13 years agoHandle svn2cl failures.
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

13 years agoHandle svn2cl failures.
Simon Josefsson [Thu, 25 Nov 2010 14:15:26 +0000 (14:15 +0000)]
Handle svn2cl failures.

13 years agoAdd docs.
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

13 years agoAdd docs.
Simon Josefsson [Thu, 25 Nov 2010 14:14:07 +0000 (14:14 +0000)]
Add docs.

13 years agoVersion 1.3.5.
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

13 years agoVersion 1.3.5.
Simon Josefsson [Thu, 25 Nov 2010 14:13:46 +0000 (14:13 +0000)]
Version 1.3.5.

13 years agoAdd.
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

13 years agoAdd.
Simon Josefsson [Thu, 25 Nov 2010 14:02:05 +0000 (14:02 +0000)]
Add.

13 years agoAdd.
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

13 years agoAdd.
Simon Josefsson [Thu, 25 Nov 2010 13:55:54 +0000 (13:55 +0000)]
Add.

13 years agoFix compilation under Windows.
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

13 years agoFix compilation under Windows.
Simon Josefsson [Thu, 25 Nov 2010 11:57:22 +0000 (11:57 +0000)]
Fix compilation under Windows.

13 years agoAdd.
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

13 years agoAdd.
Simon Josefsson [Thu, 11 Nov 2010 14:38:36 +0000 (14:38 +0000)]
Add.

13 years agoBump versions.
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

13 years agoBump versions.
Simon Josefsson [Fri, 10 Sep 2010 07:49:58 +0000 (07:49 +0000)]
Bump versions.

13 years agoVersion 1.3.4.
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

13 years agoVersion 1.3.4.
Simon Josefsson [Fri, 10 Sep 2010 07:47:01 +0000 (07:47 +0000)]
Version 1.3.4.

13 years agoMake a copy of released archive.
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

13 years agoMake a copy of released archive.
Simon Josefsson [Fri, 10 Sep 2010 07:41:22 +0000 (07:41 +0000)]
Make a copy of released archive.

13 years agoFix crash on Mac OS X.
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

13 years agoFix crash on Mac OS X.
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>.

13 years agoFix bug that prevented salting during AES key generation
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

13 years agoFix bug that prevented salting during AES key generation
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.

13 years agoFix typo in last commit.
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

13 years agoFix typo in last commit.
Simon Josefsson [Fri, 10 Sep 2010 07:28:23 +0000 (07:28 +0000)]
Fix typo in last commit.

13 years agoClarify that salt only applies to key generation from password.
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

13 years agoClarify that salt only applies to key generation from password.
Simon Josefsson [Fri, 10 Sep 2010 07:18:43 +0000 (07:18 +0000)]
Clarify that salt only applies to key generation from password.

13 years agoClarify 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

13 years agoClarify that salt only applies to key generation from password.
Simon Josefsson [Fri, 10 Sep 2010 07:17:17 +0000 (07:17 +0000)]
Clarify that salt only applies to key generation from password.

13 years agoAdd contrib/ sub-directory and contrib/programming.sh from David Dindorp.
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

13 years agoAdd contrib/ sub-directory and contrib/programming.sh from David Dindorp.
Simon Josefsson [Mon, 14 Jun 2010 19:39:37 +0000 (19:39 +0000)]
Add contrib/ sub-directory and contrib/programming.sh from David Dindorp.