Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP parts from transparent-failover + half baked toml configdevel | Linus Nordberg | 2020-02-10 | 7 | -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 -> client | Linus Nordberg | 2020-01-10 | 7 | -132/+148 |
| | | | | Also rename token -> vtoken where appropriate. | ||||
* | Verify RPC version | Linus Nordberg | 2020-01-09 | 3 | -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 renaming | Linus Nordberg | 2020-01-07 | 7 | -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 path | Linus Nordberg | 2020-01-07 | 2 | -12/+14 |
| | |||||
* | Set up environment for remotes according to configuration | Linus Nordberg | 2020-01-07 | 4 | -19/+40 |
| | |||||
* | Add documentation to README | Linus Nordberg | 2020-01-07 | 1 | -2/+82 |
| | |||||
* | use better path for p11-kit-remote in config file | Linus Nordberg | 2020-01-03 | 1 | -3/+4 |
| | |||||
* | use better path to p11-kit-client.so in example | Linus Nordberg | 2020-01-03 | 1 | -2/+1 |
| | |||||
* | clean up the README's some | Linus Nordberg | 2020-01-03 | 2 | -34/+35 |
| | |||||
* | do clean up after p11-kit server even if the openssl operation fail | Linus Nordberg | 2020-01-03 | 2 | -7/+13 |
| | |||||
* | invoke do-verify.sh with the right arguments | Linus Nordberg | 2020-01-03 | 1 | -4/+4 |
| | | | | | Specifically, don't use $< now that we have the openssl config file as our first dependant. | ||||
* | expand instructions on running tests | Linus Nordberg | 2020-01-03 | 1 | -2/+10 |
| | |||||
* | modern versions of the p11-kit package will do | Linus Nordberg | 2020-01-03 | 1 | -0/+4 |
| | |||||
* | generate openssl config files | Linus Nordberg | 2020-01-03 | 3 | -30/+23 |
| | | | | Also, no .pem on sigfile names. | ||||
* | do export OPENSSL_CONF | Linus Nordberg | 2019-10-24 | 2 | -0/+2 |
| | | | | When not, dgst runs with the default config succeeds. | ||||
* | use the symlink for libsofthsm2.so | Linus Nordberg | 2019-10-22 | 1 | -1/+1 |
| | | | | | This should be more stable. It's used in openssl.direct.cnf too. | ||||
* | allow overriding providers in environment | Linus Nordberg | 2019-10-22 | 1 | -3/+3 |
| | |||||
* | remove spurious mkdir | Linus Nordberg | 2019-10-22 | 1 | -1/+0 |
| | | | | We already do that in target softhsm/tokens. | ||||
* | sign and verify once per found token | Linus Nordberg | 2019-10-22 | 2 | -5/+11 |
| | | | | | | | | If more than one token is found, all of them should have the same key. This is a somewhat lame way of verifying they all work. Lame because the resulting signature will be made from the last key only. Also pass PIN in URI. | ||||
* | export SOFTHSM2_CONF properly | Linus Nordberg | 2019-10-22 | 1 | -7/+6 |
| | | | | Also, do create the token directory. | ||||
* | use a default target testing softhsm without p11p first | Linus Nordberg | 2019-10-22 | 1 | -0/+1 |
| | |||||
* | whitespace | Linus Nordberg | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | use paths used by (debian) packages | Linus Nordberg | 2019-10-22 | 1 | -2/+3 |
| | |||||
* | 0.2.0-dev | Linus Nordberg | 2019-10-09 | 1 | -1/+1 |
| | |||||
* | language and speling | Linus Nordberg | 2019-10-09 | 2 | -13/+19 |
| | |||||
* | remove empty file | Linus Nordberg | 2019-07-03 | 1 | -8/+0 |
| | |||||
* | split up p11p.md | Linus Nordberg | 2019-07-03 | 3 | -168/+127 |
| | |||||
* | p11p-0.1.0p11p-0.1.0 | Linus Nordberg | 2019-07-02 | 1 | -1/+1 |
| | |||||
* | add copyright and license info headers | Linus Nordberg | 2019-07-02 | 10 | -0/+30 |
| | |||||
* | remove unused files | Linus Nordberg | 2019-07-02 | 2 | -0/+0 |
| | |||||
* | add LICENSE | Linus Nordberg | 2019-07-02 | 1 | -0/+35 |
| | |||||
* | add contact info | Linus Nordberg | 2019-07-02 | 1 | -0/+4 |
| | |||||
* | update README with more build instructions | Linus Nordberg | 2019-07-02 | 1 | -10/+31 |
| | |||||
* | use sane paths in tests/Makefile | Linus Nordberg | 2019-07-02 | 2 | -2/+2 |
| | |||||
* | improve that comment | Linus Nordberg | 2019-07-02 | 1 | -1/+1 |
| | |||||
* | remove unused target | Linus Nordberg | 2019-07-02 | 1 | -3/+0 |
| | |||||
* | get rid of hardcoded EUID | Linus Nordberg | 2019-07-02 | 1 | -2/+5 |
| | |||||
* | use sane default for p11-kit-remote path | Linus Nordberg | 2019-07-02 | 1 | -2/+1 |
| | |||||
* | move path to p11-kit-remote properly | Linus Nordberg | 2019-07-02 | 2 | -6/+5 |
| | |||||
* | move path to p11-kit-remote to config | Linus Nordberg | 2019-07-02 | 4 | -2/+22 |
| | |||||
* | implement load balancing | Linus Nordberg | 2019-07-02 | 5 | -36/+87 |
| | |||||
* | update README some | Linus Nordberg | 2019-07-01 | 1 | -7/+24 |
| | |||||
* | formatting | Linus Nordberg | 2019-07-01 | 1 | -21/+28 |
| | |||||
* | squelch lager warning at startup | Linus Nordberg | 2019-07-01 | 1 | -1/+3 |
| | |||||
* | add rebar and goldrush packages as dependencies | Linus Nordberg | 2019-07-01 | 1 | -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 ignored | Linus Nordberg | 2019-07-01 | 1 | -3/+3 |
| | |||||
* | stop server with reason normal | Linus Nordberg | 2019-07-01 | 1 | -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:map | Linus Nordberg | 2019-07-01 | 1 | -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 timeouts | Linus Nordberg | 2019-07-01 | 1 | -0/+9 |
| |