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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agoBump version.
Simon Josefsson [Thu, 20 May 2010 09:07:10 +0000 (09:07 +0000)]
Bump version.

14 years agoVersion 1.3.3.
Simon Josefsson [Thu, 20 May 2010 09:01:09 +0000 (09:01 +0000)]
Version 1.3.3.

14 years agoFix release target.
Simon Josefsson [Thu, 20 May 2010 09:00:14 +0000 (09:00 +0000)]
Fix release target.

14 years agoDon't warn about upcoming YubiKey firmware 2.2.x, it is compatible.
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.

14 years agoBump version.
Simon Josefsson [Fri, 12 Mar 2010 15:37:48 +0000 (15:37 +0000)]
Bump version.

14 years agoVersion 1.3.2.
Simon Josefsson [Fri, 12 Mar 2010 15:31:15 +0000 (15:31 +0000)]
Version 1.3.2.

14 years agoBump version.
Simon Josefsson [Fri, 12 Mar 2010 15:29:43 +0000 (15:29 +0000)]
Bump version.

14 years agoI found a really old yubikey 0.9.9 and it worked fine. Silencing warning.
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.

14 years agoFix output for unsupported firmware.
Simon Josefsson [Fri, 12 Mar 2010 15:25:52 +0000 (15:25 +0000)]
Fix output for unsupported firmware.

14 years agoFix typo in ticket_flags_map
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/

14 years agoRelease 1.3.1
Tollef Fog Heen [Sat, 30 Jan 2010 12:50:29 +0000 (12:50 +0000)]
Release 1.3.1

14 years agoRevert r225, this breaks the build in some cases
Tollef Fog Heen [Sat, 30 Jan 2010 12:33:11 +0000 (12:33 +0000)]
Revert r225, this breaks the build in some cases

14 years agoDistribute stub .c files too
Tollef Fog Heen [Sat, 30 Jan 2010 12:02:03 +0000 (12:02 +0000)]
Distribute stub .c files too

14 years agoBump version number, document changes in 1.3
Tollef Fog Heen [Sat, 30 Jan 2010 11:44:16 +0000 (11:44 +0000)]
Bump version number, document changes in 1.3

14 years agoDocument OATH-HOTP a little bit
Tollef Fog Heen [Sat, 30 Jan 2010 11:39:00 +0000 (11:39 +0000)]
Document OATH-HOTP a little bit

14 years agoUpdate the manual page for OATH-HOTP
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.

14 years agoAdd OATH-HOTP support
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.

14 years agoMake sure to rebuild library if map file changes
Tollef Fog Heen [Sat, 30 Jan 2010 10:05:56 +0000 (10:05 +0000)]
Make sure to rebuild library if map file changes

14 years agoDist doc/Compatibility.wiki.
Simon Josefsson [Fri, 29 Jan 2010 12:28:39 +0000 (12:28 +0000)]
Dist doc/Compatibility.wiki.

14 years agoAdd reference to compatibility wiki page
Tollef Fog Heen [Thu, 28 Jan 2010 22:52:32 +0000 (22:52 +0000)]
Add reference to compatibility wiki page

14 years agoStop bailing out on unknown firmwares
Tollef Fog Heen [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.

14 years agoVersion 1.2.
Simon Josefsson [Fri, 22 Jan 2010 14:01:29 +0000 (14:01 +0000)]
Version 1.2.

14 years agoBump version.
Simon Josefsson [Fri, 22 Jan 2010 13:59:58 +0000 (13:59 +0000)]
Bump version.

14 years agoSupport firmware version 2.1 too.
Simon Josefsson [Fri, 22 Jan 2010 13:58:56 +0000 (13:58 +0000)]
Support firmware version 2.1 too.

15 years agoUpdate NEWS for 1.1
Tollef Fog Heen [Sat, 3 Oct 2009 19:25:07 +0000 (19:25 +0000)]
Update NEWS for 1.1

15 years agoRevert last commit, I was confused
Tollef Fog Heen [Sat, 3 Oct 2009 19:03:18 +0000 (19:03 +0000)]
Revert last commit, I was confused

15 years agoChange reference to the documentation to something that most people are likely to...
Tollef Fog Heen [Sat, 3 Oct 2009 18:30:15 +0000 (18:30 +0000)]
Change reference to the documentation to something that most people are likely to see/find

15 years agoFix typo
Tollef Fog Heen [Sat, 19 Sep 2009 08:10:40 +0000 (08:10 +0000)]
Fix typo

15 years agoDocument last changes
Richard Levitte [Fri, 18 Sep 2009 12:09:11 +0000 (12:09 +0000)]
Document last changes

15 years agoBetter to handle -h after the core is initialised
Richard Levitte [Fri, 18 Sep 2009 12:04:23 +0000 (12:04 +0000)]
Better to handle -h after the core is initialised

15 years agoMake sure to handle cases when the backend is stopped before being initialised
Richard Levitte [Fri, 18 Sep 2009 12:03:56 +0000 (12:03 +0000)]
Make sure to handle cases when the backend is stopped before being initialised

15 years agoIncrement version to 1.1
Richard Levitte [Fri, 18 Sep 2009 10:55:00 +0000 (10:55 +0000)]
Increment version to 1.1

15 years agoThe return code from hex_modhex_decode() was incorrectly treated.
Richard Levitte [Fri, 18 Sep 2009 10:51:18 +0000 (10:51 +0000)]
The return code from hex_modhex_decode() was incorrectly treated.
new_access_code was improperly set.

15 years agoVersion 1.0.
Simon Josefsson [Fri, 18 Sep 2009 05:57:31 +0000 (05:57 +0000)]
Version 1.0.

15 years agoBump version.
Simon Josefsson [Fri, 18 Sep 2009 05:56:36 +0000 (05:56 +0000)]
Bump version.

15 years agoVersion 0.999.
Simon Josefsson [Thu, 17 Sep 2009 06:34:12 +0000 (06:34 +0000)]
Version 0.999.

15 years agoBump versions.
Simon Josefsson [Mon, 14 Sep 2009 14:39:45 +0000 (14:39 +0000)]
Bump versions.

15 years agoFix signedness warnings.
Richard Levitte [Sun, 13 Sep 2009 09:57:52 +0000 (09:57 +0000)]
Fix signedness warnings.
Remove unused variable.

15 years agoInclude unistd.h to get the declaration of usleep().
Richard Levitte [Sun, 13 Sep 2009 09:57:11 +0000 (09:57 +0000)]
Include unistd.h to get the declaration of usleep().
Make sure yk_init() and yk_release() return a status code.
Make sure yk_release() calls _ykusb_stop() rather than _tkusb_start()!!!
Fix other gcc warnings.

15 years agoInclude ctype.h to get declaration of tolower.h and friends.
Richard Levitte [Sun, 13 Sep 2009 09:55:14 +0000 (09:55 +0000)]
Include ctype.h to get declaration of tolower.h and friends.
Fix gcc warnings.

15 years agoFixed gcc warnings.
Richard Levitte [Sun, 13 Sep 2009 09:54:13 +0000 (09:54 +0000)]
Fixed gcc warnings.

15 years agoAdded include of yubikey.h to get the declaration of
Richard Levitte [Sun, 13 Sep 2009 09:53:21 +0000 (09:53 +0000)]
Added include of yubikey.h to get the declaration of
yubikey_modehex_decode and yubikey_hex_decode.
Made hex_modhex_decode check the argument so it's valid.
Changed binary strings from 'char' to 'unsigned char'.

15 years agoFix warnings.
Simon Josefsson [Sun, 13 Sep 2009 06:17:55 +0000 (06:17 +0000)]
Fix warnings.
Reported by Patrick Neave <p.neave@gmail.com>.

15 years agoVersion 0.99.
Simon Josefsson [Sat, 12 Sep 2009 07:14:27 +0000 (07:14 +0000)]
Version 0.99.

15 years agoFix build error related to _ykp_errno_location on non-Linux.
Simon Josefsson [Sat, 12 Sep 2009 07:13:15 +0000 (07:13 +0000)]
Fix build error related to _ykp_errno_location on non-Linux.

15 years agoVersion 0.98.
Simon Josefsson [Tue, 8 Sep 2009 08:47:48 +0000 (08:47 +0000)]
Version 0.98.

15 years agoSanity check NEWS before release.
Simon Josefsson [Tue, 8 Sep 2009 08:47:20 +0000 (08:47 +0000)]
Sanity check NEWS before release.

15 years agoAdd.
Simon Josefsson [Tue, 8 Sep 2009 08:45:20 +0000 (08:45 +0000)]
Add.

15 years agoBump versions.
Simon Josefsson [Tue, 8 Sep 2009 08:45:10 +0000 (08:45 +0000)]
Bump versions.

15 years agoExit with non-zero exit code on no yubikey present errors.
Simon Josefsson [Tue, 8 Sep 2009 08:43:00 +0000 (08:43 +0000)]
Exit with non-zero exit code on no yubikey present errors.
Reported by Greg Woods.

15 years agoUpdate man page
Tollef Fog Heen [Sat, 5 Sep 2009 09:23:54 +0000 (09:23 +0000)]
Update man page

Make the man page up to date with the help output from ykpersonalize

15 years agoCorrect documentation
Richard Levitte [Wed, 2 Sep 2009 14:46:19 +0000 (14:46 +0000)]
Correct documentation

15 years agoFound another old key, confirmed working.
Simon Josefsson [Tue, 1 Sep 2009 13:04:04 +0000 (13:04 +0000)]
Found another old key, confirmed working.

15 years agoFix constness
Richard Levitte [Mon, 31 Aug 2009 17:38:56 +0000 (17:38 +0000)]
Fix constness

15 years agoCheck for libyubikey v1.5+.
Simon Josefsson [Mon, 31 Aug 2009 14:26:40 +0000 (14:26 +0000)]
Check for libyubikey v1.5+.

15 years agoAdd.
Simon Josefsson [Mon, 31 Aug 2009 14:26:30 +0000 (14:26 +0000)]
Add.

15 years agoAdd.
Simon Josefsson [Mon, 31 Aug 2009 06:00:15 +0000 (06:00 +0000)]
Add.

15 years agoUse linker version script.
Simon Josefsson [Mon, 31 Aug 2009 05:59:52 +0000 (05:59 +0000)]
Use linker version script.

15 years agoInclude the configuration number to be written to
Richard Levitte [Fri, 28 Aug 2009 05:17:02 +0000 (05:17 +0000)]
Include the configuration number to be written to

15 years agoAdd.
Simon Josefsson [Thu, 27 Aug 2009 18:40:12 +0000 (18:40 +0000)]
Add.

15 years agoAdd.
Simon Josefsson [Thu, 27 Aug 2009 18:34:02 +0000 (18:34 +0000)]
Add.

15 years agoBump versions.
Simon Josefsson [Thu, 27 Aug 2009 18:19:52 +0000 (18:19 +0000)]
Bump versions.

15 years agoAdd.
Simon Josefsson [Thu, 27 Aug 2009 18:19:42 +0000 (18:19 +0000)]
Add.

15 years agoMake sure -h works even without yubikey.
Simon Josefsson [Thu, 27 Aug 2009 18:18:56 +0000 (18:18 +0000)]
Make sure -h works even without yubikey.

15 years agoVersion 0.96.
Simon Josefsson [Thu, 27 Aug 2009 14:34:32 +0000 (14:34 +0000)]
Version 0.96.

15 years agoFix error.
Simon Josefsson [Thu, 27 Aug 2009 14:32:40 +0000 (14:32 +0000)]
Fix error.

15 years agoAdd pkg-config script and document versioning.
Simon Josefsson [Thu, 27 Aug 2009 14:30:32 +0000 (14:30 +0000)]
Add pkg-config script and document versioning.

15 years agoImprove versioning.
Simon Josefsson [Thu, 27 Aug 2009 13:56:11 +0000 (13:56 +0000)]
Improve versioning.

15 years agoAdd -1 and -2.
Simon Josefsson [Thu, 27 Aug 2009 13:51:57 +0000 (13:51 +0000)]
Add -1 and -2.

15 years agoBump ABI.
Simon Josefsson [Thu, 27 Aug 2009 13:41:08 +0000 (13:41 +0000)]
Bump ABI.

15 years agoMake sure the 'fixed' prefix is in modhex by default, the rest in hex.
Richard Levitte [Wed, 26 Aug 2009 13:35:14 +0000 (13:35 +0000)]
Make sure the 'fixed' prefix is in modhex by default, the rest in hex.

15 years agoLeave all controls of the input number to hex_modhex_decode().
Richard Levitte [Wed, 26 Aug 2009 13:34:49 +0000 (13:34 +0000)]
Leave all controls of the input number to hex_modhex_decode().
Make sure the 'fixed' prefix is in modhex by default, the rest in hex.

15 years agoThe command line arguments are with dashes, not underscores...
Richard Levitte [Tue, 25 Aug 2009 19:44:47 +0000 (19:44 +0000)]
The command line arguments are with dashes, not underscores...