Commit Graph

1364 Commits

Author SHA1 Message Date
Klas Lindfors 37b7da60f2 some support for ecc key import 2014-02-07 13:45:24 +01:00
Klas Lindfors c96caa9ceb refactor send_len to calculate the send_len internally 2014-02-07 11:29:32 +01:00
Klas Lindfors 85a9dc4252 fix warnings and variable names 2014-02-07 11:24:56 +01:00
Klas Lindfors 8141e44161 add some code for ecc CSR 2014-02-07 11:18:28 +01:00
Klas Lindfors 823afda92e more help for subject, and generate man page from detailed-help 2014-02-07 11:12:25 +01:00
Klas Lindfors 26499f11ca Merge branch 'devel/request_cert' 2014-02-07 10:55:04 +01:00
Klas Lindfors 4b64a5c800 working certificate-requests 2014-02-07 10:52:56 +01:00
Klas Lindfors cfbb702068 more work on request, try to sign digest 2014-02-06 10:20:50 +01:00
Klas Lindfors ca45b6a565 add a verify-pin action (needed for signing request) 2014-02-06 10:20:37 +01:00
Klas Lindfors 71cb66e5bf refactor so we get algorithm from a function. 2014-02-06 09:54:29 +01:00
Klas Lindfors d9507f0787 open output for writing.. 2014-02-06 09:31:32 +01:00
Klas Lindfors be9211dc5b more work on request 2014-02-06 09:30:59 +01:00
Klas Lindfors a7d5f1ed0a start on request certificate action 2014-02-06 09:06:09 +01:00
Klas Lindfors e601a08e52 print verbose information about found key 2014-02-06 09:04:19 +01:00
Klas Lindfors 8f58430e1a print sizes in a more stable fashion 2014-02-06 09:04:19 +01:00
Klas Lindfors d0f7a291b2 don't print password
instead remind the user the password might be wrong.
2014-02-06 09:04:18 +01:00
Klas Lindfors f3f89d8f48 remove debug prints. 2014-02-06 09:04:18 +01:00
Klas Lindfors 24c7f22022 rework get_length() and fix bug(s) 2014-02-06 09:04:18 +01:00
Klas Lindfors 3657cc5000 more text 2014-02-06 09:04:18 +01:00
Klas Lindfors 1466163db6 use sizeof(aid) instead of constant 2014-02-06 09:04:18 +01:00
Klas Lindfors d9e2bbb26b chuid comments.. 2014-02-06 09:04:18 +01:00
Klas Lindfors 1032f7009f add code for setting CHUID 2014-02-06 09:04:18 +01:00
Klas Lindfors 7f75184552 small tool to build the fasc 2014-02-06 09:04:11 +01:00
Klas Lindfors 7af2439f45 change around and let send_data() take a pointer to APDU 2014-02-06 09:03:46 +01:00
Klas Lindfors bfe8f2d376 ignore more 2014-02-06 09:03:46 +01:00
Klas Lindfors 7fc8dd8c7c add a config.rpath 2014-02-06 09:03:46 +01:00
Klas Lindfors ead674dce8 add a windows.mk 2014-02-06 09:03:42 +01:00
Klas Lindfors 708a9cb5a4 pcsc for platforms fixes 2014-02-06 09:03:01 +01:00
Klas Lindfors 711f24a846 add password for private keys 2014-02-06 09:03:01 +01:00
Klas Lindfors 73589efb13 add certificate import 2014-02-06 09:03:01 +01:00
Klas Lindfors a0da70be7c use switch-case for action args 2014-02-06 09:03:01 +01:00
Klas Lindfors cc0078e224 fix help 2014-02-06 09:03:00 +01:00
Klas Lindfors d0ea90f25d set default reader to Yubikey 2014-02-06 09:03:00 +01:00
Klas Lindfors 547ca14050 drop ec.h 2014-02-06 09:03:00 +01:00
Klas Lindfors d6d8c8fc41 handle generation of ecc keys 2014-02-06 09:03:00 +01:00
Klas Lindfors 79527ed21f correct C style comment 2014-02-06 09:03:00 +01:00
Klas Lindfors bbe27a2a82 more error info 2014-02-06 09:03:00 +01:00
Klas Lindfors b62d60058b proper output of public key after generate 2014-02-06 09:03:00 +01:00
Klas Lindfors 005e25d3ba TODO 2014-02-06 09:03:00 +01:00
Klas Lindfors a4c9681046 a bit more messages 2014-02-06 09:03:00 +01:00
Klas Lindfors d610fe7903 make action a multi-val 2014-02-06 09:03:00 +01:00
Klas Lindfors 987e3cb9cd PKCS12 support for import 2014-02-06 09:03:00 +01:00
Klas Lindfors e2b152345a implement import-key action 2014-02-06 09:03:00 +01:00
Klas Lindfors 76d5e83d89 implement set pin retries 2014-02-06 09:03:00 +01:00
Klas Lindfors 5495ee405d implement reset instruction 2014-02-06 09:03:00 +01:00
Klas Lindfors 5c96f77269 rework verbose prints 2014-02-06 09:03:00 +01:00
Klas Lindfors f53ddf285d make -v take a numeric value 2014-02-06 09:03:00 +01:00
Klas Lindfors 6e3d265d4c add action to set management key 2014-02-06 09:03:00 +01:00
Klas Lindfors 0bd1280a1a 9b is not available as a slot generally 2014-02-06 09:02:59 +01:00
Klas Lindfors 97accf91db implement algorithms for generate 2014-02-06 09:02:59 +01:00