Commit Graph

  • 6eb9572056 use sign_data() from request_certificate() Klas Lindfors 2014-02-10 13:27:01 +01:00
  • 7c1b071e39 break out signing from selfsign to it's own function Klas Lindfors 2014-02-10 13:24:19 +01:00
  • 42faa7d0c8 add a selfsign-certificate action Klas Lindfors 2014-02-10 13:08:55 +01:00
  • ef1013d8b1 move opening files to it's own function Klas Lindfors 2014-02-10 12:14:19 +01:00
  • d78b7a6dde README text Klas Lindfors 2014-02-10 10:29:31 +01:00
  • 5f18703344 more text on key slots Klas Lindfors 2014-02-10 10:23:12 +01:00
  • dcb230bf66 text Klas Lindfors 2014-02-10 10:19:52 +01:00
  • 752fe91872 add mac.mk for binary mac builds Klas Lindfors 2014-02-10 10:02:34 +01:00
  • 0c178cce0e properly dereference pointer before assigning Klas Lindfors 2014-02-10 09:51:56 +01:00
  • 2b1b70caa0 re-encode fasc Klas Lindfors 2014-02-10 08:56:56 +01:00
  • c6d2747f53 explaining comments and small change-around Klas Lindfors 2014-02-10 08:56:25 +01:00
  • 95625a5c1c make sure to zero-out apdu before use Klas Lindfors 2014-02-09 21:07:19 +01:00
  • 2c529eb108 more text about pin-retries Klas Lindfors 2014-02-09 20:31:51 +01:00
  • e8d0a6f265 refactor import_key() to use transfer_data() instead of own chaining. Klas Lindfors 2014-02-09 20:30:18 +01:00
  • dd9be8f82a let import_cert() use transfer_data() instead of own chaining Klas Lindfors 2014-02-09 20:26:11 +01:00
  • 7ae105c7d1 better error messages for verify pin Klas Lindfors 2014-02-08 22:42:48 +01:00
  • e50075534b successfull -> successful Klas Lindfors 2014-02-08 22:39:35 +01:00
  • 64f4d4a29a drop verbose print of digest Klas Lindfors 2014-02-08 22:38:57 +01:00
  • b8fd17fadc setup the ec pub key properly when doing generate key Klas Lindfors 2014-02-08 22:20:42 +01:00
  • d3b4574ec7 switch to sha256 for cert requests and fix for ec csr Klas Lindfors 2014-02-08 22:11:59 +01:00
  • cc6283f618 add unblock-pin action and more text and checks to change- Klas Lindfors 2014-02-08 21:33:36 +01:00
  • b603840066 make sure to set ret to false before goto Klas Lindfors 2014-02-08 21:18:33 +01:00
  • b19655496d properly initialize memory to 0 Klas Lindfors 2014-02-08 21:16:37 +01:00
  • f2c7fb4497 check the new key before setting it Klas Lindfors 2014-02-08 15:07:20 +01:00
  • aa25c6fc16 more help on actions Klas Lindfors 2014-02-07 23:17:16 +01:00
  • f984081349 implement change-pin Klas Lindfors 2014-02-07 23:13:44 +01:00
  • 4c1a692838 let generate use chaining with transfer_data() Klas Lindfors 2014-02-07 17:11:56 +01:00
  • 4a51550f4b break out looped sending from request-cert to own function Klas Lindfors 2014-02-07 16:58:29 +01:00
  • 0e054bd61c fix bug with continued data in request cert Klas Lindfors 2014-02-07 16:15:15 +01:00
  • d419d425b0 drop debug prints Klas Lindfors 2014-02-07 16:12:02 +01:00
  • e26a595361 correct certificate length text Klas Lindfors 2014-02-07 15:25:41 +01:00
  • 1f9b7ffca0 remove usage of strtok_r so it builds on windows again Klas Lindfors 2014-02-07 15:19:54 +01:00
  • 164812abfc reorder includes so openssl includes fix X509_NAME on windows Klas Lindfors 2014-02-07 15:12:16 +01:00
  • 37b7da60f2 some support for ecc key import Klas Lindfors 2014-02-07 13:45:24 +01:00
  • c96caa9ceb refactor send_len to calculate the send_len internally Klas Lindfors 2014-02-07 11:29:32 +01:00
  • 85a9dc4252 fix warnings and variable names Klas Lindfors 2014-02-07 11:24:56 +01:00
  • 8141e44161 add some code for ecc CSR Klas Lindfors 2014-02-07 11:18:28 +01:00
  • 823afda92e more help for subject, and generate man page from detailed-help Klas Lindfors 2014-02-07 11:12:25 +01:00
  • 26499f11ca Merge branch 'devel/request_cert' Klas Lindfors 2014-02-07 10:55:04 +01:00
  • 4b64a5c800 working certificate-requests Klas Lindfors 2014-02-07 10:52:56 +01:00
  • cfbb702068 more work on request, try to sign digest Klas Lindfors 2014-02-06 10:20:50 +01:00
  • ca45b6a565 add a verify-pin action (needed for signing request) Klas Lindfors 2014-02-06 10:20:37 +01:00
  • 71cb66e5bf refactor so we get algorithm from a function. Klas Lindfors 2014-02-06 09:54:29 +01:00
  • d9507f0787 open output for writing.. Klas Lindfors 2014-02-06 09:31:32 +01:00
  • be9211dc5b more work on request Klas Lindfors 2014-02-06 09:30:59 +01:00
  • a7d5f1ed0a start on request certificate action Klas Lindfors 2014-02-06 09:06:09 +01:00
  • e601a08e52 print verbose information about found key Klas Lindfors 2014-02-06 08:13:25 +01:00
  • 8f58430e1a print sizes in a more stable fashion Klas Lindfors 2014-02-06 08:04:49 +01:00
  • d0f7a291b2 don't print password Klas Lindfors 2014-02-06 08:01:37 +01:00
  • f3f89d8f48 remove debug prints. Klas Lindfors 2014-02-05 15:41:29 +01:00
  • 24c7f22022 rework get_length() and fix bug(s) Klas Lindfors 2014-02-05 15:17:30 +01:00
  • 3657cc5000 more text Klas Lindfors 2014-02-05 14:38:31 +01:00
  • 1466163db6 use sizeof(aid) instead of constant Klas Lindfors 2014-02-05 14:07:05 +01:00
  • d9e2bbb26b chuid comments.. Klas Lindfors 2014-02-05 14:05:06 +01:00
  • 1032f7009f add code for setting CHUID Klas Lindfors 2014-02-05 13:57:09 +01:00
  • 7f75184552 small tool to build the fasc Klas Lindfors 2014-02-05 13:26:49 +01:00
  • 7af2439f45 change around and let send_data() take a pointer to APDU Klas Lindfors 2014-02-05 09:45:09 +01:00
  • bfe8f2d376 ignore more Klas Lindfors 2014-02-05 09:24:16 +01:00
  • 7fc8dd8c7c add a config.rpath Klas Lindfors 2014-02-05 09:24:03 +01:00
  • ead674dce8 add a windows.mk Klas Lindfors 2014-02-05 09:15:28 +01:00
  • 708a9cb5a4 pcsc for platforms fixes Klas Lindfors 2014-02-04 17:17:31 +01:00
  • 711f24a846 add password for private keys Klas Lindfors 2014-02-04 17:00:35 +01:00
  • 73589efb13 add certificate import Klas Lindfors 2014-02-04 16:32:54 +01:00
  • a0da70be7c use switch-case for action args Klas Lindfors 2014-02-04 15:16:23 +01:00
  • cc0078e224 fix help Klas Lindfors 2014-02-04 15:09:53 +01:00
  • d0ea90f25d set default reader to Yubikey Klas Lindfors 2014-02-04 15:04:27 +01:00
  • 547ca14050 drop ec.h Klas Lindfors 2014-02-04 15:03:12 +01:00
  • d6d8c8fc41 handle generation of ecc keys Klas Lindfors 2014-02-04 15:02:11 +01:00
  • 79527ed21f correct C style comment Klas Lindfors 2014-02-04 14:30:53 +01:00
  • bbe27a2a82 more error info Klas Lindfors 2014-02-04 14:26:40 +01:00
  • b62d60058b proper output of public key after generate Klas Lindfors 2014-02-04 14:20:20 +01:00
  • 005e25d3ba TODO Klas Lindfors 2014-02-04 12:53:09 +01:00
  • a4c9681046 a bit more messages Klas Lindfors 2014-02-04 12:52:25 +01:00
  • d610fe7903 make action a multi-val Klas Lindfors 2014-02-04 12:47:10 +01:00
  • 987e3cb9cd PKCS12 support for import Klas Lindfors 2014-02-04 11:41:55 +01:00
  • e2b152345a implement import-key action Klas Lindfors 2014-02-04 11:15:27 +01:00
  • 76d5e83d89 implement set pin retries Klas Lindfors 2014-02-04 09:27:55 +01:00
  • 5495ee405d implement reset instruction Klas Lindfors 2014-02-04 09:14:13 +01:00
  • 5c96f77269 rework verbose prints Klas Lindfors 2014-02-04 09:06:35 +01:00
  • f53ddf285d make -v take a numeric value Klas Lindfors 2014-02-04 09:01:27 +01:00
  • 6e3d265d4c add action to set management key Klas Lindfors 2014-02-04 08:44:47 +01:00
  • 0bd1280a1a 9b is not available as a slot generally Klas Lindfors 2014-02-04 08:25:46 +01:00
  • 97accf91db implement algorithms for generate Klas Lindfors 2014-02-03 16:24:23 +01:00
  • 6d3018ecc9 multiple fetch for public key. Klas Lindfors 2014-02-03 16:11:18 +01:00
  • 6478ebc37d implement generate Klas Lindfors 2014-02-03 16:02:59 +01:00
  • ecffbe953c add action for what to do Klas Lindfors 2014-02-03 15:29:44 +01:00
  • 8fff971bfd get rid of openssl warnings Klas Lindfors 2014-02-03 15:27:27 +01:00
  • e155000209 print version Klas Lindfors 2014-02-03 15:13:25 +01:00
  • 013161014b implement authenticate Klas Lindfors 2014-02-03 15:08:15 +01:00
  • 8069baa283 parse authentication key Klas Lindfors 2014-02-03 13:40:41 +01:00
  • 26f171873c some working code for selecting applet Klas Lindfors 2014-02-03 13:10:43 +01:00
  • 4389ffde1b drop indent rule and re-indent Klas Lindfors 2014-02-03 11:02:44 +01:00
  • 9200f83953 ignore more Klas Lindfors 2014-02-03 11:01:19 +01:00
  • 899c12a5d3 various stuff Klas Lindfors 2014-02-03 10:59:32 +01:00
  • f2dc1e6d62 ignore Klas Lindfors 2014-02-03 10:46:40 +01:00
  • 31751340be basic structure Klas Lindfors 2014-02-03 10:44:15 +01:00
  • 6bf23a19e6 Initial commit Klas Lindfors 2014-02-03 10:21:22 +01:00