Commit graph

33 commits

Author SHA1 Message Date
cinap_lenrek e42981dfcf factotum/authsrv: fix padding for mschap on amd64, use constants for structure sizes 2014-02-15 19:57:13 +01:00
cinap_lenrek 3c8db40def factotum: add ntlmv2 (mschap2) client auth for cifs 2013-12-11 05:48:48 +01:00
cinap_lenrek 007520e3fe handle NIL user domain, and Z(4) at end of nt blob for ntlmv2
the nt blob ends with 4 zero bytes, this is not the same as
the EOL av-pair terminator!

this makes ntlmv2 work with windows xp with LmCompatibityLevel = 3
2013-12-08 08:34:31 +01:00
cinap_lenrek c940e98630 experimental ntlmv2 server authenticaion support for cifsd
extending factotums and the auth servers mschap implementation
to handle variable length NT response for NTLMv2.

fix some minor bugs.

only tested with cifs so far.
2013-12-08 02:22:12 +01:00
cinap_lenrek 82f4c1c0b4 rsa2ssh: fix the megashit 2013-10-28 09:20:07 +01:00
mischief 8c9e7ded17 auth/rsa2ssh: add SSH2 RSA output format (from plan9port) 2013-10-27 18:50:14 -07:00
cinap_lenrek 43eed8d824 factotum: update rsa for ssh2 (sync with sources) 2013-10-22 18:55:00 +02:00
cinap_lenrek c501fe6936 factotum: fix mschap password (utf-8 to utf-16) conversion
using strlen() gives the number of bytes in the utf-8 string.
could use utflen() instead, but decided to just go in a loop
and get rid of the counters all together.

UTF-16 surrogates are not handled.
2013-10-17 15:31:07 +02:00
cinap_lenrek c7b56cfe58 auth(8) commands: fix uninitialized Tm.zone in getdate() 2013-08-11 23:21:13 +02:00
cinap_lenrek 40bc0b9de7 auth/asm12dsa: use fd 0 instead of trying to open /dev/stdin (thanks arpunk) 2013-06-19 22:07:10 +02:00
ppatience0 e1bc28d1dd fgui: check if fd is valid before entering new key 2013-06-01 19:40:38 -04:00
mveety a84c51a1e3 fixed a segfault in auth/as because it didn't check to see if argv[0] and argv[1] actually had things in them 2013-05-29 22:25:57 -04:00
cinap_lenrek 420efd93d7 factotum: add wpapsk client authentication 2013-03-09 17:22:59 +01:00
ppatience0 4aae319f76 rdbio: fix bug where a->user never gets set if Bopen fails. 2013-02-17 09:55:03 -05:00
cinap_lenrek 3787f721c1 9p message size too small
various fileservers do not check if the message size is too small
(they subtract IOHDRSZ later from it to calculate iounit) which
can overflow.
2013-01-30 06:28:42 +01:00
cinap_lenrek 6cadd03bbe fix utf and rune handling in preparation for 32bit runes 2012-12-31 21:09:46 +01:00
cinap_lenrek 539f74db81 reverting string "general purpose password" braindamage 2012-11-27 22:07:34 +01:00
glenda 7e0c920fe3 passwd: improved message 2012-11-27 14:16:10 +00:00
cinap_lenrek c4bfecc265 fix permissions for auth/(status enable disable) 2012-10-25 18:25:31 +02:00
cinap_lenrek a0b737ad35 create bio file (/adm/keys.who) if it doesnt exist 2012-10-23 08:55:26 +02:00
cinap_lenrek 909efb22c5 /sys/src/cmd/auth/mkfile: fix lib.$O.a race 2012-10-18 03:49:40 +02:00
cinap_lenrek b14d7ac38c cron: snprint, error handling (update from sources) 2012-08-03 22:50:21 +02:00
cinap_lenrek c7ad44a048 factotum: fix _adgetticket() filedescriptor race, add timeouts to all authserver transactions 2012-08-01 19:18:33 +02:00
cinap_lenrek 0f59758d12 factotum: authdial timeout 2012-07-29 02:53:59 +02:00
cinap_lenrek acce478d8e factotum: use glenda as hostowner default 2012-07-04 13:23:36 +02:00
aiju fc4a0118f7 btc btc btc btc 2012-06-09 00:10:14 +02:00
aiju 42656f38ef more bitcoin 2012-06-08 23:48:41 +02:00
aiju d2357e6961 added ecdsa to factotum 2012-06-06 16:43:15 +02:00
cinap_lenrek 411ba896b8 factotum: allow fgui to cancel needkey transaction 2011-09-28 11:45:33 +02:00
cinap_lenrek b8d741d34b factotum: fix flush handling for /mnt/factotum/needkey use 2011-09-27 11:44:21 +02:00
aiju ccee4677bf auth/debug: default hostowner is glenda 2011-07-21 10:51:32 +02:00
Taru Karttunen a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen e5888a1ffd Import sources from 2011-03-30 iso image 2011-03-30 15:46:40 +03:00