aboutsummaryrefslogtreecommitdiffstats
path: root/key2root-addkey.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use libar2simplified instead of crypt as crypt has a verily limited imput size, and add -h to key2root-addkey, and add key2root-cryptMattias Andrée2023-06-231-66/+50
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix mistakesMattias Andrée2023-06-231-9/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement authenticationMattias Andrée2023-06-231-1/+1
| | | | 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>
* 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-231-7/+98
| | | | 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-231-1/+70
| | | | 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>
* Fix minor mistakes i key2root-lskeys.c, implement key2root-rmkey.c, and minor work on key2root-addkey.cMattias Andrée2023-06-231-1/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add argument checks to key2root-addkey and key2root-rmkeyMattias Andrée2023-06-231-1/+21
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commitMattias Andrée2023-06-231-0/+42
Signed-off-by: Mattias Andrée <maandree@kth.se>