summaryrefslogtreecommitdiff
path: root/sys/src/cmd/auth/as.c
AgeCommit message (Collapse)Author
2022-12-25auth: use caphash and capuse under /dev instead of #¤cinap_lenrek
2022-04-04auth/as: fix wrong filesystem permissions due to wrong factotum being attachedcinap_lenrek
to change user, have to (re-)mount factotum under the new user, so it can authenticate us under the correct user for the filesystems.
2016-12-22auth/as: simplify furthercinap_lenrek
2016-12-22auth/as, auth/none, auth/newns: consistent handling of command arguments, ↵cinap_lenrek
cleanup
2015-08-21cmd/auth: remove private /dev/random reading routines, use genrandom()cinap_lenrek
2015-08-19libauthsrv: generalize ticket service, not hardcoding ticket format and DES ↵cinap_lenrek
encryption this is in preparation for replacing DES ticket encryption with something better. but first need to make the code stop making assumptions. the wire encoding of the Ticket might be variable length with TICKETLEN just giving an upper bound. the details will be handled by libauthsrv _asgetticket() and _asgetresp() funciotns. the Authenticator and Passwordreq structures are encrypted with the random ticket key. The encryption schmeme will depend on the Ticket format used, so we pass the Ticket* structure instead of the DES key. introduce Authkey structure that will hold all the required cryptographic keys instead of passing DES key.
2013-05-29fixed a segfault in auth/as because it didn't check to see if argv[0] and ↵mveety
argv[1] actually had things in them
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen