Commit Graph

598 Commits

Author SHA1 Message Date
Klas Lindfors 9124e82ea6 write version to output file 2015-03-19 14:43:13 +01:00
Klas Lindfors 635729f339 call get_algorithm() to get the algorithm
as it was already implemented..
2015-03-19 14:37:59 +01:00
Klas Lindfors 91ddd394e4 give a better link for PIV standards 2015-03-19 09:14:39 +01:00
Klas Lindfors 24130c7154 mention version of gengetopt required 2015-03-19 09:00:55 +01:00
Klas Lindfors 0f26a7c1e3 refactor dump_hex to drop some redundant code 2015-03-18 15:09:32 +01:00
Klas Lindfors cd1410a950 make parts of argument validation cleaner 2015-03-18 15:09:32 +01:00
Klas Lindfors 9b6bf1b737 write action name instead of number 2015-03-18 15:09:32 +01:00
Klas Lindfors 9d35d16e24 space to fix formatting 2015-03-18 09:27:30 +01:00
Klas Lindfors 808670371f add status to README
relates #17
2015-03-18 08:38:59 +01:00
Klas Lindfors ad3c92f7d2 break out after error 2015-03-17 15:00:54 +01:00
Klas Lindfors 340c898dcb print out slot/cert algorithm in status
relates #17
2015-03-17 14:20:13 +01:00
Klas Lindfors 26d5c23090 write CHUID in status
relates #17
2015-03-17 13:59:29 +01:00
Klas Lindfors 4552e8700c write out number of pin tries left
references #17
2015-03-17 13:54:50 +01:00
Klas Lindfors 16bc868d90 verify with NULL pin now reports tries without decrementing 2015-03-17 13:49:58 +01:00
Klas Lindfors 572b3b1739 add status action and print certificate information
relates #17
2015-03-17 12:42:05 +01:00
Klas Lindfors 35d75051b0 don't try to parse returned data if it was an error 2015-03-17 12:41:42 +01:00
Klas Lindfors e64952476d add a read-certificate action 2015-03-17 10:40:37 +01:00
Simon Josefsson 3f576f610f Slight word tweak. 2015-03-05 12:44:38 +01:00
Klas Lindfors 3f0e1b7869 add fasc.pl to the distribution 2015-02-20 22:45:57 +01:00
Klas Lindfors 356ab2d105 add that pin has to be verified for reset retry counters 2015-02-19 13:32:00 +01:00
Klas Lindfors c6e423327b bump versions 2015-02-04 14:09:57 +01:00
Klas Lindfors 5c768ee153 NEWS for 0.1.5 2015-02-04 13:41:24 +01:00
Klas Lindfors 10eb09d0ba use same format for default key as other keys 2015-02-04 13:34:08 +01:00
Klas Lindfors fa1d3ca9f9 set parity bits for weak check instead of enforcing them
rework of dca651070d
2015-02-04 10:00:03 +01:00
Klas Lindfors 220f0f0226 add a negative test for the hex decode 2015-02-03 10:56:13 +01:00
Klas Lindfors 06997e3d52 bump versions after release 2015-02-02 12:30:22 +01:00
Klas Lindfors 5f442af752 NEWS for 0.1.4 2015-02-02 11:25:37 +01:00
Klas Lindfors 8b36d6706d add a test with uppercase hex 2015-02-02 10:40:41 +01:00
Klas Lindfors 63f95773b9 bump openssl version 2015-02-02 10:32:44 +01:00
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