summaryrefslogtreecommitdiff
path: root/p11p-daemon
Commit message (Collapse)AuthorAgeFilesLines
* Be consistent with version numberHEADmasterLinus Nordberg2020-02-192-2/+2
|
* Sane default path to p11-kit-remoteLinus Nordberg2020-02-192-2/+2
| | | | This is where the Debian package installs it.
* Use a default socket path which works on non systemdLinus Nordberg2020-02-181-1/+1
|
* Document defaults in config fileLinus Nordberg2020-02-171-3/+4
|
* Make the $PID part of socket names configurableLinus Nordberg2020-02-173-2/+23
|
* Make socket base path configurableLinus Nordberg2020-02-173-10/+26
|
* Fix a bug in balance config settingsLinus Nordberg2020-02-141-2/+2
|
* better balance settingsLinus Nordberg2020-02-144-32/+40
|
* Make probability of dropping a request, for testing, configurableLinus Nordberg2020-02-143-15/+45
|
* Some more documentation and cosmetic changesLinus Nordberg2020-02-113-99/+133
|
* WIP track p11 state and shortcut responses when neededLinus Nordberg2020-02-115-40/+149
|
* WIP parts from transparent-failover + half baked toml configdevelLinus Nordberg2020-02-107-244/+577
| | | | | | | | | | | | The transparent failover experiment, see branch transparent-failover, resulted in a bunch of changes that we want regardless of failover implementation. This commit incorporates these. This commit also has a half baked implementation of TOML file based configuration, to not expose the operator for Erlang syntax when configuring the daemon. TODO: sort this out!
* Rename remote -> clientLinus Nordberg2020-01-107-132/+148
| | | | Also rename token -> vtoken where appropriate.
* Verify RPC versionLinus Nordberg2020-01-093-61/+96
| | | | | | | | | | Don't just forward the version octet, verify it and refuse other protocol versions. Send it once in each direction and don't count on the misconception that new client means new remote, or vice versa. Especially the latter, that a new remote means new client, will be untrue as soon as we implement failover.
* Code cleanup, variable renamingLinus Nordberg2020-01-077-156/+167
| | | | | | | | Move away from func(Foo) -> NewFoo = something(Foo) and instead use FooIn and Foo, or something else that makes sense.
* Servers don't need to know socket pathLinus Nordberg2020-01-072-12/+14
|
* Set up environment for remotes according to configurationLinus Nordberg2020-01-074-19/+40
|
* Add documentation to READMELinus Nordberg2020-01-071-2/+82
|
* use better path for p11-kit-remote in config fileLinus Nordberg2020-01-031-3/+4
|
* use better path to p11-kit-client.so in exampleLinus Nordberg2020-01-031-2/+1
|
* clean up the README's someLinus Nordberg2020-01-031-28/+21
|
* expand instructions on running testsLinus Nordberg2020-01-031-2/+10
|
* modern versions of the p11-kit package will doLinus Nordberg2020-01-031-0/+4
|
* 0.2.0-devLinus Nordberg2019-10-091-1/+1
|
* language and spelingLinus Nordberg2019-10-091-12/+18
|
* p11p-0.1.0p11p-0.1.0Linus Nordberg2019-07-021-1/+1
|
* add copyright and license info headersLinus Nordberg2019-07-0210-0/+30
|
* add contact infoLinus Nordberg2019-07-021-0/+4
|
* update README with more build instructionsLinus Nordberg2019-07-021-10/+31
|
* improve that commentLinus Nordberg2019-07-021-1/+1
|
* get rid of hardcoded EUIDLinus Nordberg2019-07-021-2/+5
|
* use sane default for p11-kit-remote pathLinus Nordberg2019-07-021-2/+1
|
* move path to p11-kit-remote properlyLinus Nordberg2019-07-022-6/+5
|
* move path to p11-kit-remote to configLinus Nordberg2019-07-024-2/+22
|
* implement load balancingLinus Nordberg2019-07-025-36/+87
|
* update README someLinus Nordberg2019-07-011-7/+24
|
* formattingLinus Nordberg2019-07-011-21/+28
|
* squelch lager warning at startupLinus Nordberg2019-07-011-1/+3
|
* add rebar and goldrush packages as dependenciesLinus Nordberg2019-07-011-4/+7
| | | | | | Add plugin rebar3_hex to make that work. Had to 'rebar3 local upgrade' before anything worked at all. Magic.
* clarify that return value from terminate/2 is ignoredLinus Nordberg2019-07-011-3/+3
|
* stop server with reason normalLinus Nordberg2019-07-011-1/+1
| | | | | | I'm starting to think that 'shutdown' means that we're shutting down the application. Anyhow, we're not using this information, other than for debug printouts, which we can do explicitly instead.
* go back to lists:mapLinus Nordberg2019-07-011-4/+5
| | | | | I think it makes sense using map/2 when changing a list, like here, and use list comprehensions when filtering and bulding _other_ lists.
* add outcommented code for testing remote timeoutsLinus Nordberg2019-07-011-0/+9
|
* make events casts instead of calls; ask remotes to stop themselvesLinus Nordberg2019-07-012-23/+35
| | | | | | | casts bc don't risk blocking avoiding gen_server:stop/1 so that we terminate processes which we are not sure are alive
* improve READMELinus Nordberg2019-07-011-0/+11
|
* commentLinus Nordberg2019-07-011-1/+1
|
* when a remote times out, hang up its p11 clientLinus Nordberg2019-07-011-2/+2
| | | | | 7db7c1d ("remove some FIXME:s") contained more than what the commit message says. Needs this too.
* add target 'eunit' for running that onlyLinus Nordberg2019-07-011-0/+2
|
* remove some FIXME:sLinus Nordberg2019-07-014-8/+9
|
* add 'mode' to token configLinus Nordberg2019-07-012-5/+20
|