Commit graph

27 commits

Author SHA1 Message Date
e7fbb4e47c
[client] Unused dependencies, certificate documentation and minor improvements
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-08 22:12:04 +01:00
7515462433
Cleaning up clippy warning
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-08 10:41:38 +01:00
6a22429632
Remove From<Path> for Certificate
All checks were successful
continuous-integration/drone/push Build is passing
Deserialization from a path is a heavy conversion. This should be done by
an explicit `Certificate::new_from_cbor` call.
2020-02-08 09:56:41 +01:00
74f84913c0
[companion] Clean up CLI
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2020-02-05 01:20:57 +01:00
25638c1de1 [server][client] Parse hostnames 2020-02-04 20:13:00 +00:00
d3ec436f48 [server] Allow nested clients
Tables can be nested arbitrary, only tables with `id` attribute
are considered
2020-02-04 20:13:00 +00:00
927fbc9936 [server] Read known client ids from secrets file
Remove explicit client id file
2020-02-04 20:13:00 +00:00
1bba95fff9 [client] Adapted to new protocol 2020-02-04 20:13:00 +00:00
ca2b0cd83a [all] Read from toml, simplify protocol, export key ids 2020-02-04 20:13:00 +00:00
9393ed69f9 [all] Simplification 2020-02-04 20:13:00 +00:00
06f71418fb
[drone] Drone configuration
Some checks failed
continuous-integration/drone/push Build is failing
2020-02-04 20:53:48 +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