summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* remove spurious mkdirLinus Nordberg2019-10-221-1/+0
| | | | We already do that in target softhsm/tokens.
* sign and verify once per found tokenLinus Nordberg2019-10-222-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 properlyLinus Nordberg2019-10-221-7/+6
| | | | Also, do create the token directory.
* use a default target testing softhsm without p11p firstLinus Nordberg2019-10-221-0/+1
|
* whitespaceLinus Nordberg2019-10-221-1/+1
|
* use paths used by (debian) packagesLinus Nordberg2019-10-221-2/+3
|
* 0.2.0-devLinus Nordberg2019-10-091-1/+1
|
* language and spelingLinus Nordberg2019-10-092-13/+19
|
* remove empty fileLinus Nordberg2019-07-031-8/+0
|
* split up p11p.mdLinus Nordberg2019-07-033-168/+127
|
* p11p-0.1.0p11p-0.1.0Linus Nordberg2019-07-021-1/+1
|
* add copyright and license info headersLinus Nordberg2019-07-0210-0/+30
|
* remove unused filesLinus Nordberg2019-07-022-0/+0
|
* add LICENSELinus Nordberg2019-07-021-0/+35
|
* add contact infoLinus Nordberg2019-07-021-0/+4
|
* update README with more build instructionsLinus Nordberg2019-07-021-10/+31
|
* use sane paths in tests/MakefileLinus Nordberg2019-07-022-2/+2
|
* improve that commentLinus Nordberg2019-07-021-1/+1
|
* remove unused targetLinus Nordberg2019-07-021-3/+0
|
* 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
|
* reformatLinus Nordberg2019-07-011-18/+15
|
* refer to p11p-daemon/README insteadLinus Nordberg2019-07-011-3/+2
|
* update ASCII art to include p11p-helper (ie p11-kit-remote)Linus Nordberg2019-07-011-16/+21
|
* rename client/server "change" -> "event"Linus Nordberg2019-07-013-10/+10
|
* document the manager a bit moreLinus Nordberg2019-07-011-7/+19
|
* use a list comprehension in the place of lists:map/2Linus Nordberg2019-06-301-5/+4
| | | | | | | | map/2 does _not_ risk reordering the list. The comment "The evaluation order depends on the implementation." in the documentation refers only to in which order fun is applied. A list comprehension looks a little bit nicer though, IMO.
* rename manager functions to reflect where the policy livesLinus Nordberg2019-06-303-11/+11
| | | | | | Servers and remotes (soon renamed "clients") are not the ones implementing policy. They should therefore report events to the manager which then imposes policy.
* at p11 client disconnect, server asks manager to kill remoteLinus Nordberg2019-06-303-18/+34
| | | | | | | | Also, comment out all debug printouts reporting about octets sent and received, all four types. Missing: Switching remote behind the back of the p11 client, including replaying whatever needs to be replayed.
* start remotes on demand rather than at manager startupLinus Nordberg2019-06-302-36/+55
| | | | | | | Also, rotate list of remotes on remote timeout. Still missing: When a remote times out, switch remote under the feet of the client.
* make p11p_server:reply/2 a call tooLinus Nordberg2019-06-302-12/+12
|
* turn most cast's into call's, for more synchronisityLinus Nordberg2019-06-303-20/+30
|