Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use libar2simplified instead of crypt as crypt has a verily limited imput size, and add -h to key2root-addkey, and add key2root-crypt | Mattias Andrée | 2023-06-23 | 14 | -94/+360 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix exit status | Mattias Andrée | 2023-06-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix mistakes | Mattias Andrée | 2023-06-23 | 4 | -19/+29 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Implement authentication | Mattias Andrée | 2023-06-23 | 3 | -6/+153 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix support for NUL bytes in the keyfile | Mattias Andrée | 2023-06-23 | 1 | -0/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Implement keyfile forwarding | Mattias Andrée | 2023-06-23 | 1 | -1/+72 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | key2root-addkey.c: Add key hashing and updating | Mattias Andrée | 2023-06-23 | 1 | -2/+94 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Add key lookup to key2root-addkey and fix writeall | Mattias Andrée | 2023-06-23 | 2 | -8/+99 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | key2root-rmkey, key2root-lskeys: check for NUL byte on truncated line | Mattias Andrée | 2023-06-23 | 2 | -2/+7 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | key2root-addkey: mkdir /etc/key2root before saving changes | Mattias Andrée | 2023-06-23 | 1 | -0/+5 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Add code from key2root-rmkey.c to key2root-addkey.c | Mattias Andrée | 2023-06-23 | 2 | -2/+71 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix error handling in key2root-rmkey on failure to commit | Mattias Andrée | 2023-06-23 | 1 | -4/+8 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix comment | Mattias Andrée | 2023-06-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Add comment as to why key2root-rmkey retains the order when unlisting keys | Mattias Andrée | 2023-06-23 | 1 | -0/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Make key directory compile-time configurable (intended for testing) | Mattias Andrée | 2023-06-23 | 3 | -14/+16 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix minor mistakes i key2root-lskeys.c, implement key2root-rmkey.c, and minor work on key2root-addkey.c | Mattias Andrée | 2023-06-23 | 4 | -7/+205 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Add argument checks to key2root-addkey and key2root-rmkey | Mattias Andrée | 2023-06-23 | 3 | -1/+43 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Implement key2root-lskeys | Mattias Andrée | 2023-06-23 | 1 | -1/+142 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Fix stdout doc for key2root-lskeys | Mattias Andrée | 2023-06-23 | 1 | -1/+7 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | Some initial work on key2root: everything but authentication and keyfile forwarding | Mattias Andrée | 2023-06-23 | 1 | -2/+203 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | First commit | Mattias Andrée | 2023-06-23 | 14 | -0/+828 |
Signed-off-by: Mattias Andrée <maandree@kth.se> |