This project is mirrored from https://github.com/smallstep/pkcs11-proxy.
Pull mirroring updated .
- Dec 20, 2012
-
-
Fredrik Thulin authored
Sending side gck_rpc_message_write_byte_array() adds length data when valid == 0, so receiving code (this) need to parse that obviosly.
-
- Dec 19, 2012
-
-
Fredrik Thulin authored
Since proto_write_attribute_array() happily writes arrays with len == 0, we should probably parse them. Tounge in cheek.
-
Fredrik Thulin authored
-
Fredrik Thulin authored
Necessary to close all ongoing sessions.
-
Fredrik Thulin authored
-
- Dec 18, 2012
-
-
Fredrik Thulin authored
This harmonizes with the softhsm test suite.
-
Fredrik Thulin authored
This matches the PKCS#11 specification better, and also matches the test cases for softhsm.
-
- Dec 17, 2012
-
-
Fredrik Thulin authored
-
Leif Johansson authored
Fix zero sized buffers
-
Fredrik Thulin authored
Best for the proxy to be as transparent as possible. This fixes a test case with C_GenerateRandom of 0 bytes, found in pkcs11-tool --test.
-
- Dec 14, 2012
-
-
Fredrik Thulin authored
Commit 09669a08 introduced ds->cs.sock along side ds->socket. The code that closed the socket only set ds->cs.sock to -1, so the cleanup code (that looked at ds->socket) never realized it should free the message buffers. This commit removes ds->socket completely, and makes the cleanup code look if ds->cs.sock is -1. Memory usage now stays constant when looping 'pkcs11-tool --test --slot 0' at least.
-
Fredrik Thulin authored
Helps find resource leaks, if nothing else.
-
Fredrik Thulin authored
softhsm 1.3.0-1build1 Ubuntu 12.04.1
-
Fredrik Thulin authored
-
Fredrik Thulin authored
-
Fredrik Thulin authored
-
Fredrik Thulin authored
-
- Dec 13, 2012
-
-
Leif Johansson authored
Avoid DoS
-
Fredrik Thulin authored
This is necessary to not get a SIGPIPE on write failures (easy DoS of the pkcs11-daemon - client just need to close the connection at the wrong moment).
-
- Sep 04, 2012
-
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
- use syslog instead of stderr unless DEBUG_OUTPUT is 1
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
Leif Johansson authored
-
- Sep 03, 2012
-
-
Leif Johansson authored
-
Leif Johansson authored
-
- Jun 03, 2012
-
-
Andre Grueneberg authored
SetPIN was using incorrect PIN length.
-
Andre Grueneberg authored
Remove references to /opt/commonit environment.
-
- Mar 31, 2012
-
-
Leif Johansson authored
-