Klas Lindfors
|
6123f65158
|
windows fixes for selftest
|
2014-02-10 14:36:16 +01:00 |
|
Klas Lindfors
|
966fe2387c
|
add a very simple selftest
|
2014-02-10 14:15:05 +01:00 |
|
Klas Lindfors
|
6472b28a1b
|
remove details and put them as text
|
2014-02-10 13:48:51 +01:00 |
|
Klas Lindfors
|
c7b82cf889
|
print more build options
|
2014-02-10 13:43:07 +01:00 |
|
Klas Lindfors
|
6889bd09e2
|
example for selfsigned cert
|
2014-02-10 13:31:20 +01:00 |
|
Klas Lindfors
|
6eb9572056
|
use sign_data() from request_certificate()
|
2014-02-10 13:27:01 +01:00 |
|
Klas Lindfors
|
7c1b071e39
|
break out signing from selfsign to it's own function
|
2014-02-10 13:24:19 +01:00 |
|
Klas Lindfors
|
42faa7d0c8
|
add a selfsign-certificate action
|
2014-02-10 13:08:55 +01:00 |
|
Klas Lindfors
|
ef1013d8b1
|
move opening files to it's own function
|
2014-02-10 12:17:43 +01:00 |
|
Klas Lindfors
|
d78b7a6dde
|
README text
|
2014-02-10 10:30:08 +01:00 |
|
Klas Lindfors
|
5f18703344
|
more text on key slots
|
2014-02-10 10:23:12 +01:00 |
|
Klas Lindfors
|
dcb230bf66
|
text
|
2014-02-10 10:19:52 +01:00 |
|
Klas Lindfors
|
752fe91872
|
add mac.mk for binary mac builds
|
2014-02-10 10:02:34 +01:00 |
|
Klas Lindfors
|
0c178cce0e
|
properly dereference pointer before assigning
|
2014-02-10 09:51:56 +01:00 |
|
Klas Lindfors
|
2b1b70caa0
|
re-encode fasc
|
2014-02-10 08:56:56 +01:00 |
|
Klas Lindfors
|
c6d2747f53
|
explaining comments and small change-around
|
2014-02-10 08:56:25 +01:00 |
|
Klas Lindfors
|
95625a5c1c
|
make sure to zero-out apdu before use
|
2014-02-09 21:07:19 +01:00 |
|
Klas Lindfors
|
2c529eb108
|
more text about pin-retries
|
2014-02-09 20:31:51 +01:00 |
|
Klas Lindfors
|
e8d0a6f265
|
refactor import_key() to use transfer_data() instead of own chaining.
|
2014-02-09 20:30:18 +01:00 |
|
Klas Lindfors
|
dd9be8f82a
|
let import_cert() use transfer_data() instead of own chaining
|
2014-02-09 20:26:11 +01:00 |
|
Klas Lindfors
|
7ae105c7d1
|
better error messages for verify pin
|
2014-02-08 22:42:48 +01:00 |
|
Klas Lindfors
|
e50075534b
|
successfull -> successful
|
2014-02-08 22:39:35 +01:00 |
|
Klas Lindfors
|
64f4d4a29a
|
drop verbose print of digest
|
2014-02-08 22:38:57 +01:00 |
|
Klas Lindfors
|
b8fd17fadc
|
setup the ec pub key properly when doing generate key
|
2014-02-08 22:20:42 +01:00 |
|
Klas Lindfors
|
d3b4574ec7
|
switch to sha256 for cert requests and fix for ec csr
|
2014-02-08 22:11:59 +01:00 |
|
Klas Lindfors
|
cc6283f618
|
add unblock-pin action and more text and checks to change-
|
2014-02-08 21:33:36 +01:00 |
|
Klas Lindfors
|
b603840066
|
make sure to set ret to false before goto
|
2014-02-08 21:18:33 +01:00 |
|
Klas Lindfors
|
b19655496d
|
properly initialize memory to 0
|
2014-02-08 21:16:37 +01:00 |
|
Klas Lindfors
|
f2c7fb4497
|
check the new key before setting it
|
2014-02-08 21:08:19 +01:00 |
|
Klas Lindfors
|
aa25c6fc16
|
more help on actions
|
2014-02-07 23:17:16 +01:00 |
|
Klas Lindfors
|
f984081349
|
implement change-pin
|
2014-02-07 23:13:44 +01:00 |
|
Klas Lindfors
|
4c1a692838
|
let generate use chaining with transfer_data()
|
2014-02-07 17:11:56 +01:00 |
|
Klas Lindfors
|
4a51550f4b
|
break out looped sending from request-cert to own function
|
2014-02-07 16:58:29 +01:00 |
|
Klas Lindfors
|
0e054bd61c
|
fix bug with continued data in request cert
|
2014-02-07 16:15:15 +01:00 |
|
Klas Lindfors
|
d419d425b0
|
drop debug prints
|
2014-02-07 16:12:02 +01:00 |
|
Klas Lindfors
|
e26a595361
|
correct certificate length text
|
2014-02-07 15:25:41 +01:00 |
|
Klas Lindfors
|
1f9b7ffca0
|
remove usage of strtok_r so it builds on windows again
|
2014-02-07 15:19:54 +01:00 |
|
Klas Lindfors
|
164812abfc
|
reorder includes so openssl includes fix X509_NAME on windows
|
2014-02-07 15:19:47 +01:00 |
|
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 |
|