summaryrefslogtreecommitdiff
path: root/sys/include/authsrv.h
AgeCommit message (Collapse)Author
2018-05-20separate MSCHAP(v2) and NTLM(v2) authenticationcinap_lenrek
due to linux omiting the final Z(4) in the NTLMv2 reply, and the need for the windom for LMv2 authentication, here is a new AuthNTLM ticket request now with length and dom fields.
2018-01-21authsrv: implement mschapv2 authentication, include MPPE secret in the ticketcinap_lenrek
this adds new rpc for mschapv2 authentication (21) deliver the MPPE secret not after the ticket/authenticator response as cheartext, but include it in the first 128 bit of the ticket key. and the authenticator in the first 160 bit of the authenticator random field.
2016-08-05libauthsrv: ANAMELEN -> PASSWDLENcinap_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.
2016-01-06auth: release dp9ik implementation and reentrant factotumcinap_lenrek
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-06-09remove drawlsetrefresh and convM2Tnoenc: undefined functionsftrvxmtrx
2015-06-09authsrv.h: remove nonexistent prototypesftrvxmtrx
2015-06-09authsrv: remove unused opasstokeyftrvxmtrx
2014-02-15factotum/authsrv: fix padding for mschap on amd64, use constants for ↵cinap_lenrek
structure sizes
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso image - sys/includeTaru Karttunen