Commit Graph

1319 Commits

Author SHA1 Message Date
Klas Lindfors 6d749a38f7 make sure we try to decode uppercase hex 2015-02-02 10:29:34 +01:00
Klas Lindfors dca651070d use DES_set_key_checked() instead of DES_is_weak_key()
since DES_set_key_checked() checks the parity as well
2015-02-02 10:26:25 +01:00
Klas Lindfors f24b1d0c46 report error if setting a new key fails 2015-02-02 10:26:12 +01:00
Klas Lindfors 07c73200e4 calculate offsets properly 2015-02-02 10:19:15 +01:00
Klas Lindfors 22d04fc1c8 return error properly on hex decode 2015-02-02 10:17:45 +01:00
Klas Lindfors 60c8b757ae use bounded scanf 2015-01-29 11:03:13 +01:00
Klas Lindfors 9046955606 drop unnecessary memset() 2015-01-29 11:03:13 +01:00
Klas Lindfors f8c35043cc reduce scope of variables 2015-01-29 10:48:05 +01:00
Klas Lindfors fe2f470d3c move parantheses to make check clearer 2015-01-29 10:48:05 +01:00
Klas Lindfors 1a1b6fcf2e add cppcheck rule 2015-01-29 10:48:05 +01:00
Klas Lindfors 22f74f9499 ignore coverage artifacts 2015-01-20 13:29:44 +01:00
Klas Lindfors c611913a38 run coverage for travis 2015-01-20 13:22:16 +01:00
Klas Lindfors d2e0a3bc79 add --enable-coverage for lcov 2015-01-20 13:06:07 +01:00
Klas Lindfors d26f609d78 Merge pull request #14 from westfeld/fixed_unblock_pin_response
Fixed error when parameters in unblock-pin
2015-01-19 08:35:07 +01:00
Thomas Westfeld 1b4ad6b8bd Fixed error when parameters in unblock-pin
when unblock-pin action is called without -P and -N parameter, the wrong
error is returned, saying that -P should be a pin, whereas in this
action it is a puk.
2015-01-18 22:35:35 +01:00
Klas Lindfors f69a4ff8f6 mark all bits of the signature as used
the first byte of a bit string marks how many bits should be
subtracted, make sure this doesn't get set.
2015-01-14 12:52:10 +01:00
Klas Lindfors f86ded25bf rip input_ready() and call isatty() instead
should be more portable (work on windows)
relates to #12
2015-01-12 21:20:15 +01:00
Klas Lindfors b1a673b1f9 try to discover if there is input waiting on stdin
otherwise give the user a hint
resolves #12
2015-01-12 16:27:13 +01:00
Simon Josefsson 98320c2c0d Fix markup. 2015-01-08 15:27:19 +01:00
Simon Josefsson f84d332c15 Fix typo. 2015-01-08 15:25:27 +01:00
Klas Lindfors 860011d897 add a check for mac linking being correct
relates to #10
2015-01-08 14:29:43 +01:00
Klas Lindfors 16a71427a8 fix mac makefile 2015-01-08 14:28:40 +01:00
Klas Lindfors 9cd8c6d814 fixup libtool versions 2015-01-08 12:51:23 +01:00
Klas Lindfors 5d82d011ce bump versions 2014-12-18 14:11:36 +01:00
Klas Lindfors a0b30fc571 news for 0.1.3 2014-12-18 14:02:18 +01:00
Klas Lindfors 7b9d086e24 correctly bump versions 2014-12-18 14:01:16 +01:00
Klas Lindfors 31f6b61af0 add more feedback for successful actions 2014-12-17 15:37:46 +01:00
Klas Lindfors 458bde4bef diagnostic output for generate key 2014-12-17 09:54:06 +01:00
Klas Lindfors 7ef2015f38 switch diagnostic output to stderr 2014-12-17 09:53:24 +01:00
Klas Lindfors 2204dd8ac6 s/codesigning/code signing/g 2014-12-17 09:17:08 +01:00
Klas Lindfors caf64fc464 add valgrind for tests 2014-12-09 15:11:22 +01:00
Klas Lindfors bfee8a164e text about ssh-agent support 2014-12-09 15:02:30 +01:00
Klas Lindfors bddfa55403 add instructions for SSH with PIV 2014-12-09 14:56:59 +01:00
Klas Lindfors d835ba1cff doc files changed names. 2014-12-09 10:03:48 +01:00
Henrik Stråth 7dd7c33cd8 Update README 2014-12-09 09:28:45 +01:00
Henrik Stråth 7710a0640e Renamed doc files to snake case. 2014-12-09 09:22:40 +01:00
Klas Lindfors 8db5a05c67 add new doc to EXTRA_DIST 2014-12-05 11:40:31 +01:00
Klas Lindfors 6698f387b8 more text 2014-12-05 11:26:32 +01:00
Klas Lindfors 72f6e57595 add some text about how to use for codesigning on OS X 2014-12-05 11:17:08 +01:00
Klas Lindfors 368b527fa1 add DER format for certificate import 2014-12-05 11:10:33 +01:00
Klas Lindfors c49882f274 bump versions after release 2014-11-14 14:51:12 +01:00
Klas Lindfors c93a6ceb38 NEWS for 0.1.2 2014-11-14 14:46:00 +01:00
Klas Lindfors 36468219c2 check length of private key components before setting
the card functions only accepts key components of correct size
so here we add 0 before if they're shorter (usually one byte shorter)
thus fixing the issue where the card returned 6f00
2014-11-12 14:08:11 +01:00
Klas Lindfors d0cef2f469 bump versions after release 2014-11-10 11:00:16 +01:00
Klas Lindfors 7d34d9e2b0 dist the docs, and check that all docs are included 2014-11-10 10:47:06 +01:00
Klas Lindfors 5ef6f885d9 move to .txt for consistency 2014-11-10 10:35:03 +01:00
Klas Lindfors fad5df8e36 NEWS for 0.1.1 2014-11-10 10:31:29 +01:00
Klas Lindfors cd4fdef2f7 cast cert_len to size_t shouldn't be negative here.
gets rid of warnings about int/size_t combinations
2014-11-10 10:12:01 +01:00
Klas Lindfors c14f53dfad check that stat completes correctly 2014-11-10 10:07:35 +01:00
Klas Lindfors 4fd1cf953e Merge branch 'master' of ssh://github.com/dwmw2/yubico-piv-tool 2014-11-10 09:54:09 +01:00