summaryrefslogtreecommitdiff
path: root/sys/src/libauthsrv/readnvram.c
AgeCommit message (Collapse)Author
2023-05-13libauthsrv: readnvram: prompt for use of p9sk1 in nvram, with a default of noJacob Moody
By default by writing the p9sk1 key out in to nvram, factotum would read it and offer p9sk1 authentication for hostowner. This authentication will happen regardless of the authsrv configuration. This change makes readnvram ask if the user would like to use p9sk1 with a default of no.
2020-12-07libauthsrv: open internal file-descriptors with OCEXEC flagcinap_lenrek
2016-07-31libauthsrv: export common readcons() routine and introduce PASSWDLEN constantcinap_lenrek
drawterm, factotum, secstore and the auth commands all had ther own implementation of readcons. we want to have one common function for this to avoid the duplication, so putting that in libauthsrv. introduce PASSWDLEN which makes the use more explicit than ANAMELEN.
2015-08-21introduce AES key into nvram and keyfscinap_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.
2015-08-03libauthsrv: readnvram() use vlong for nvroff, parse $nvlen/$nvoff with ↵cinap_lenrek
strtol() instead of atoi()
2014-03-26libauthsrv: recognize amd64 $cputype in readnvram() to look for default ↵cinap_lenrek
locations
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen