summaryrefslogtreecommitdiff
path: root/p11p-daemon/src
Commit message (Collapse)AuthorAgeFilesLines
* don't send that version octet by itselfLinus Nordberg2019-06-284-34/+40
| | | | Instead, add it to new remote outbuf.
* parse rpc requests and don't send until we've got a full requestLinus Nordberg2019-06-281-14/+30
|
* serialise rpcLinus Nordberg2019-06-281-2/+10
|
* prepend debug printouts with own pidLinus Nordberg2019-06-281-10/+7
|
* first rought cut of an rpc parserLinus Nordberg2019-06-282-0/+173
|
* add a genserver for handling remotes and start forwarding dataLinus Nordberg2019-06-274-45/+158
| | | | | | | | | | Current status is that p11tool successfully performs a --list-tokens request over p11p, yay! Only once though -- the next request hangs. heh. Also, the timeout logic is wrong and should move to the server, measuring the time it takes to get a full p11 response. This reqires parsing of the p11-kit rpc protocol, which we need anyway.
* typeLinus Nordberg2019-06-271-1/+1
|
* add remote manager, fork+execing p11-kit-remote processesLinus Nordberg2019-06-263-6/+104
|
* keep tokens and their modules in mapsLinus Nordberg2019-06-262-38/+73
| | | | | | For convenient lookup by name. Not the most storage efficient, and maybe proplists would be better suited. Learning maps is useful though.
* stop exposing config recordsLinus Nordberg2019-06-245-26/+15
|
* debugLinus Nordberg2019-06-241-0/+2
|
* init servers from config; cleanup on app stopLinus Nordberg2019-06-243-11/+29
|
* make top sup rest-for-one: restart servers if config changesLinus Nordberg2019-06-241-1/+1
|
* whitespaceLinus Nordberg2019-06-241-1/+1
|
* start one sock_server per token; give servers a chance to clean upLinus Nordberg2019-06-242-31/+63
| | | | still not rm'ing the socket file though. wonder where that should happen.
* include unix pid in socket nameLinus Nordberg2019-06-241-3/+4
|
* use default intensity/restart values (1 restart in 5 seconds)Linus Nordberg2019-06-241-4/+5
|
* server side accepting connections, reading from socketLinus Nordberg2019-06-204-74/+101
|
* add listenerLinus Nordberg2019-06-192-1/+75
|
* follow our own spec a bitLinus Nordberg2019-06-191-2/+3
|
* tidy up, add path to p11moduleLinus Nordberg2019-06-192-11/+18
|
* new fileLinus Nordberg2019-06-191-0/+8
|
* add p11p-daemon skeletonLinus Nordberg2019-06-195-0/+179