Commit graph

21 commits

Author SHA1 Message Date
90142ec5c1
[server] Allow nested clients
Tables can be nested arbitrary, only tables with `id` attribute
are considered
2020-02-04 21:09:33 +01:00
9ae5a72fce
[server] Read known client ids from secrets file
Remove explicit client id file
2020-02-04 21:09:33 +01:00
40905d647a
[client] Adapted to new protocol 2020-02-04 21:09:24 +01:00
2a90f993ee
[all] Read from toml, simplify protocol, export key ids 2020-02-04 21:09:16 +01:00
52989eb143
[all] Simplification 2020-02-04 21:09:09 +01:00
aa1c835186
Conditional export for certificates 2020-01-19 11:31:33 +01:00
d2a113e5a4
Protocol encryption/decryption 2020-01-13 01:22:46 +01:00
119ff2903f Protocol finite state machine 2020-01-12 23:46:44 +01:00
076447cce7 New structure
- [server] Reworked for new Coffer trait, common keyring implementation and tokio
- [companion] Certificate generation
- [common] Keyring implementation

Signed-off-by: Armin Friedl <dev@friedl.net>
2020-01-08 23:13:00 +01:00
Armin Friedl
86212f244f Certificate implementation, coffer trait 2020-01-06 17:32:56 +01:00
Armin Friedl
7c983d1afd Optimize release build 2020-01-01 19:11:14 +01:00
a7ad7bc51c
Fix current directory in Makefile 2019-11-30 20:15:00 +01:00
1c7af47476
Add Makefile for build targets 2019-11-30 20:01:44 +01:00
8bcf05fd8f
[docker] Dockerfile for coffer-server 2019-11-30 19:56:31 +01:00
caec5a14c7
[client] Use host instead of IP
Enables DNS based resolution (in addition to direct IP) as e.g. used in
docker-compose
2019-11-30 19:54:18 +01:00
83d2b0a5a1
[server] Remove old code, fix double deletion 2019-11-30 19:52:06 +01:00
83999d7680
[companion] Remove old code
Signed-off-by: Armin Friedl <dev@friedl.net>
2019-11-29 19:05:35 +01:00
8427a6ad53
[companion] Introduce subcommands
Subcommands for `generate`-ing keys and `encrypt`-ing secrets.

Generated artifacts can be consumed by `coffer-server`.

Signed-off-by: Armin Friedl <dev@friedl.net>
2019-11-28 23:51:06 +01:00
b3b86b4238
[client] Set up environment, spawn subprocess
- Coffer client sets up the environment from the keys and secrets read
- Coffer client spawns a subprocess and reaps itself

Signed-off-by: Armin Friedl <dev@friedl.net>
2019-11-27 23:00:18 +01:00
3344ca4877
Rebranding to coffer, restructuring
Signed-off-by: Armin Friedl <dev@friedl.net>
2019-11-26 04:03:12 +01:00
b39a3ef1ac
First version
- secsrv handling out secrets
- secsrv-companion helping in generating input
- secsrv-client retrieving secrets

Signed-off-by: Armin Friedl <dev@friedl.net>
2019-11-23 22:45:40 +01:00