Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						560cb0c132 
					 
					
						
						
							
							gsskrb5: fix ec and padding handling in _gssapi_unwrap_cfx_iov()  
						
						... 
						
						
						
						metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-25 23:34:38 -07:00 
						 
				 
			
				
					
						
							
							
								Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						76f0fb9170 
					 
					
						
						
							
							gsskrb5: fix ec and padding handling in _gssapi_wrap_cfx_iov()  
						
						... 
						
						
						
						metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-25 23:34:38 -07:00 
						 
				 
			
				
					
						
							
							
								Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						f286dd5d64 
					 
					
						
						
							
							gsskrb5: fix _gssapi_wrap_iov_length_cfx() - there's more than just krb5 overhead...  
						
						... 
						
						
						
						metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-25 23:34:38 -07:00 
						 
				 
			
				
					
						
							
							
								Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						1a0423fd3d 
					 
					
						
						
							
							gsskrb5: make _gk_allocate_buffer() non static  
						
						... 
						
						
						
						metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-25 23:34:38 -07:00 
						 
				 
			
				
					
						
							
							
								Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						60725fd2f5 
					 
					
						
						
							
							gsskrb5: add _gk_verify_buffers()  
						
						... 
						
						
						
						metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-25 23:34:37 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						9ccc79c5b6 
					 
					
						
						
							
							Don't leak context if nsi_probe failes  
						
						... 
						
						
						
						Deduced from valgrind log produced by Markus Moeller 
						
						
					 
					
						2009-08-22 10:52:22 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						6618ca5ffc 
					 
					
						
						
							
							switch to EVP_MD_CTX_create() and thus make smaller  
						
						
						
						
					 
					
						2009-08-21 07:22:49 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						56f90c5b19 
					 
					
						
						
							
							switch to EVP_MD_CTX_create() and thus make smaller  
						
						
						
						
					 
					
						2009-08-21 07:16:28 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						f465930be7 
					 
					
						
						
							
							switch to EVP_MD_CTX_create() and thus make smaller  
						
						
						
						
					 
					
						2009-08-21 07:16:19 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						dfd40e4403 
					 
					
						
						
							
							switch to EVP_MD_CTX_create() and thus make smaller  
						
						
						
						
					 
					
						2009-08-21 07:16:09 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						03cb3aa56b 
					 
					
						
						
							
							use EVP_MD_CTX_create  
						
						
						
						
					 
					
						2009-08-20 17:13:09 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						88d55a1d06 
					 
					
						
						
							
							Make compile for weak crypto global (HEIM_WEAK_CRYPTO) and use it for GSSAPI too  
						
						
						
						
					 
					
						2009-08-17 18:06:42 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						fc702a97f5 
					 
					
						
						
							
							switch to use EVP interface instead of old crypto interface  
						
						
						
						
					 
					
						2009-08-17 17:30:59 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						62433c844c 
					 
					
						
						
							
							switch to use EVP interface instead of old crypto interface  
						
						
						
						
					 
					
						2009-08-17 16:02:45 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						fcfa32b0b9 
					 
					
						
						
							
							Use constant time memcmp  
						
						
						
						
					 
					
						2009-08-17 12:04:51 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						42cec58cb4 
					 
					
						
						
							
							switch to use EVP interface instead of old crypto interface  
						
						
						
						
					 
					
						2009-08-17 11:43:24 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						dfd1edb54d 
					 
					
						
						
							
							switch to use EVP interface instead of old MDX_ style interface  
						
						
						
						
					 
					
						2009-08-17 10:20:01 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						ddb54ca483 
					 
					
						
						
							
							switch to use EVP interface instead of old MDX_ style interface  
						
						
						
						
					 
					
						2009-08-17 10:16:13 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						13c3b9b1c6 
					 
					
						
						
							
							switch to use EVP interface instead of old MDX_ style interface  
						
						
						
						
					 
					
						2009-08-17 10:15:31 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						639e93d436 
					 
					
						
						
							
							switch to use EVP interface instead of old MDX_ style interface  
						
						
						
						
					 
					
						2009-08-17 10:14:24 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						3ef05891ee 
					 
					
						
						
							
							switch to use EVP interface instead of old MDX_ style interface  
						
						
						
						
					 
					
						2009-08-17 10:13:04 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						ddb8230917 
					 
					
						
						
							
							switch to use EVP interface instead of old MDX_ style interface  
						
						
						
						
					 
					
						2009-08-17 10:10:42 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						6ac304d156 
					 
					
						
						
							
							Use min() instead of MIN()  
						
						
						
						
					 
					
						2009-08-14 20:05:36 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						07f0c8be5d 
					 
					
						
						
							
							Clean better  
						
						
						
						
					 
					
						2009-08-06 10:18:52 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						95993f222c 
					 
					
						
						
							
							Fix order of flags, passes regression test now  
						
						
						
						
					 
					
						2009-08-05 13:42:34 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						0ede7ac561 
					 
					
						
						
							
							Pass down the use-dce-style flag instead of the while gssapi krb5 context  
						
						
						
						
					 
					
						2009-08-05 12:00:07 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						ab9e5d13ec 
					 
					
						
						
							
							gsskrb5: try to be compatible with windows for gss_wrap* and cfx  
						
						... 
						
						
						
						The good thing is that windows and heimdal both use EC=0
in the non DCE_STYLE case, so we need the windows compat hack
only in DCE_STYLE mode.
metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-04 20:22:05 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Metzmacher 
							
						 
					 
					
						
						
							
						
						0297d047a4 
					 
					
						
						
							
							gsskrb5: add support for DCE_STYLE and des and des3 keys  
						
						... 
						
						
						
						Only the des keys are tested as windows doesn't support des3
metze
Signed-off-by: Love Hornquist Astrand <lha@h5l.org > 
						
						
					 
					
						2009-08-04 20:21:20 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						3cebc3767f 
					 
					
						
						
							
							add more test to test_acquire_cred that removes the need of test_init_creds.c  
						
						
						
						
					 
					
						2009-08-03 13:05:36 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						3608b815b4 
					 
					
						
						
							
							Don't bother checking usage of minor_status [CID-23]  
						
						
						
						
					 
					
						2009-07-30 14:01:57 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						901bac07e8 
					 
					
						
						
							
							Don't need to look check *input_name twice [CID-27].  
						
						
						
						
					 
					
						2009-07-30 14:00:48 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						08256017e4 
					 
					
						
						
							
							Don't dereference input_name [CID-27].  
						
						
						
						
					 
					
						2009-07-30 13:59:42 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						896391a56b 
					 
					
						
						
							
							Double free of sp on empty list of creds [CID-183]  
						
						
						
						
					 
					
						2009-07-30 07:46:37 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						9581e59bde 
					 
					
						
						
							
							FORWARD_NULL fixes [CID-163] and friends  
						
						
						
						
					 
					
						2009-07-30 07:36:03 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						b9644d7060 
					 
					
						
						
							
							Test on wrong variable  
						
						
						
						
					 
					
						2009-07-30 07:30:27 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						2e1ebf8598 
					 
					
						
						
							
							add export/import cred  
						
						
						
						
					 
					
						2009-07-29 23:12:16 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						fa502c6648 
					 
					
						
						
							
							Add support for gss_{import,export}_cred() as requested by metze  
						
						... 
						
						
						
						Works for krb5 and SPNEGO mechanisms. Kerberos credentials are passed as
credential cache names, or if there are memory based credentials, inband in the protocol. This means that the credentials buffers must be keep secret.
As documented by IBM (they have the wrong prototype though)
and GGF (GSS-API Extensions) back in 2001 
						
						
					 
					
						2009-07-29 13:36:02 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						565236c603 
					 
					
						
						
							
							Add store-cred to the dispatch table  
						
						
						
						
					 
					
						2009-07-28 09:50:05 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						c140f0255c 
					 
					
						
						
							
							Implement core of _gsskrb5_store_cred()  
						
						
						
						
					 
					
						2009-07-27 09:42:46 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						1dd94e44ba 
					 
					
						
						
							
							Switch to macros for c++ extern "C" to please editors that want to autoindent  
						
						
						
						
					 
					
						2009-07-23 19:27:34 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						517be51cc5 
					 
					
						
						
							
							Test init_sec_context using keytab based credentials  
						
						... 
						
						
						
						Based on problem description from Rick Macklem in [HEIMDAL-197],
problem still not fixed. 
						
						
					 
					
						2009-07-17 15:57:45 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						8b71d0b93f 
					 
					
						
						
							
							Prefer the realm of the user when doing referrals style ISC krb5-get-creds  
						
						... 
						
						
						
						The the realm of the user's principal and prefer that when doing a lookup.
This code still need to be smarter can cache the "initial value" -> positive result
to avoid roundtrips to the KDC. 
						
						
					 
					
						2009-07-17 15:43:19 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						57e31f7593 
					 
					
						
						
							
							More tests for GSSAPI_DEPRECATED  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25333 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-16 18:27:37 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						de5f912e02 
					 
					
						
						
							
							Contributed by Andrew Bartlett:  
						
						... 
						
						
						
						When Samba4's 'fake' GSSAPI client contacts Windows 2008, and does not
request AP_MUTUAL_REQUIRED, it does not elicit a response packet.
We had previously assumed it was unconditional.  Samba3 didn't mind
very much, but Samba4's samba3-like client did, and the behaviour
differed to Win2008 behaviour.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25328 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-15 22:18:00 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						8eb14db155 
					 
					
						
						
							
							remove unused variable  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25323 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-15 22:16:21 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						9807194527 
					 
					
						
						
							
							check for NULL pointer not no NULL pointer...  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25321 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-08 00:07:05 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						012eae7f34 
					 
					
						
						
							
							rename gssapi/ntlm/digest.c to kdc.c since that is what its talking too  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25292 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-07-03 03:16:21 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						90ac3afd08 
					 
					
						
						
							
							hostname is not_defined_in_RFC4178@please_ignore  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25291 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-06-28 21:12:38 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						8be9f44602 
					 
					
						
						
							
							rename find_buffer  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25289 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-06-23 03:45:56 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						2ca3492e42 
					 
					
						
						
							
							remove stream bits for now  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25288 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-06-23 03:45:37 +00:00