aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement authenticationMattias Andrée2023-06-233-6/+153
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix support for NUL bytes in the keyfileMattias Andrée2023-06-231-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement keyfile forwardingMattias Andrée2023-06-231-1/+72
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* key2root-addkey.c: Add key hashing and updatingMattias Andrée2023-06-231-2/+94
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add key lookup to key2root-addkey and fix writeallMattias Andrée2023-06-232-8/+99
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* key2root-rmkey, key2root-lskeys: check for NUL byte on truncated lineMattias Andrée2023-06-232-2/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* key2root-addkey: mkdir /etc/key2root before saving changesMattias Andrée2023-06-231-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add code from key2root-rmkey.c to key2root-addkey.cMattias Andrée2023-06-232-2/+71
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix error handling in key2root-rmkey on failure to commitMattias Andrée2023-06-231-4/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix commentMattias Andrée2023-06-231-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add comment as to why key2root-rmkey retains the order when unlisting keysMattias Andrée2023-06-231-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Make key directory compile-time configurable (intended for testing)Mattias Andrée2023-06-233-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.cMattias Andrée2023-06-234-7/+205
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add argument checks to key2root-addkey and key2root-rmkeyMattias Andrée2023-06-233-1/+43
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement key2root-lskeysMattias Andrée2023-06-231-1/+142
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix stdout doc for key2root-lskeysMattias Andrée2023-06-231-1/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some initial work on key2root: everything but authentication and keyfile forwardingMattias Andrée2023-06-231-2/+203
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commitMattias Andrée2023-06-2314-0/+828
Signed-off-by: Mattias Andrée <maandree@kth.se>