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