1 1.1 elric 2008-08-14 Love Hornquist Astrand <lha (a] 10a140laptop.local> 2 1.1 elric 3 1.1 elric * krb5/accept_sec_context.c: If there is a initiator subkey, copy 4 1.1 elric that to acceptor subkey to match windows behavior. From Metze. 5 1.1 elric 6 1.1 elric 2008-08-02 Love Hrnquist strand <lha (a] h5l.org> 7 1.1 elric 8 1.1 elric * ntlm/init_sec_context.c: Catch error 9 1.1 elric 10 1.1 elric * krb5/inquire_sec_context_by_oid.c: Catch store failure. 11 1.1 elric 12 1.1 elric * mech/gss_canonicalize_name.c: Not init m, return never 13 1.1 elric used (overwritten later). 14 1.1 elric 15 1.1 elric 2008-07-25 Love Hrnquist strand <lha (a] kth.se> 16 1.1 elric 17 1.1 elric * ntlm/init_sec_context.c: Use krb5_cc_get_config. 18 1.1 elric 19 1.1 elric 2008-07-25 Love Hrnquist strand <lha (a] kth.se> 20 1.1 elric 21 1.1 elric * krb5/init_sec_context.c: Match the orignal patch I got from 22 1.1 elric metze, seems that DCE-STYLE is even more weirer then what I though 23 1.1 elric when I merged the patch. 24 1.1 elric 25 1.1 elric 2008-06-02 Love Hrnquist strand <lha (a] kth.se> 26 1.1 elric 27 1.1 elric * krb5/init_sec_context.c: Don't add asn1 wrapping to token when 28 1.1 elric using DCE_STYLE. Patch from Stefan Metzmacher. 29 1.1 elric 30 1.1 elric 2008-05-27 Love Hrnquist strand <lha (a] kth.se> 31 1.1 elric 32 1.1 elric * ntlm/init_sec_context.c: use krb5_get_error_message 33 1.1 elric 34 1.1 elric 2008-05-05 Love Hrnquist strand <lha (a] kth.se> 35 1.1 elric 36 1.1 elric * spnego/spnego_locl.h: Add back "mech/utils.h", its needed for 37 1.1 elric oid/buffer functions. 38 1.1 elric 39 1.1 elric 2008-05-02 Love Hrnquist strand <lha (a] it.su.se> 40 1.1 elric 41 1.1 elric * spnego: Changes from doug barton to make spnego indepedant of 42 1.1 elric the heimdal version of the plugin system. 43 1.1 elric 44 1.1 elric 2008-04-27 Love Hrnquist strand <lha (a] it.su.se> 45 1.1 elric 46 1.1 elric * krb5: use DES_set_key_unchecked() 47 1.1 elric 48 1.1 elric 2008-04-17 Love Hrnquist strand <lha (a] it.su.se> 49 1.1 elric 50 1.1 elric * add __declspec() for windows. 51 1.1 elric 52 1.1 elric 2008-04-15 Love Hrnquist strand <lha (a] it.su.se> 53 1.1 elric 54 1.1 elric * krb5/import_sec_context.c: Use tmp to read ac->flags value to 55 1.1 elric avoid warning. 56 1.1 elric 57 1.1 elric 2008-04-07 Love Hrnquist strand <lha (a] it.su.se> 58 1.1 elric 59 1.1 elric * mech/gss_mech_switch.c: Use unsigned where appropriate. 60 1.1 elric 61 1.1 elric 2008-03-14 Love Hrnquist strand <lha (a] it.su.se> 62 1.1 elric 63 1.1 elric * test_context.c: Add test for gsskrb5_register_acceptor_identity. 64 1.1 elric 65 1.1 elric 2008-03-09 Love Hrnquist strand <lha (a] it.su.se> 66 1.1 elric 67 1.1 elric * krb5/init_sec_context.c (init_auth): use right variable to 68 1.1 elric detect if we want to free or not. 69 1.1 elric 70 1.1 elric 2008-02-26 Love Hrnquist strand <lha (a] it.su.se> 71 1.1 elric 72 1.1 elric * Makefile.am: add missing \ 73 1.1 elric 74 1.1 elric * Makefile.am: reshuffle depenencies 75 1.1 elric 76 1.1 elric * Add flag to krb5 to not add GSS-API INT|CONF to the negotiation 77 1.1 elric 78 1.1 elric 2008-02-21 Love Hrnquist strand <lha (a] it.su.se> 79 1.1 elric 80 1.1 elric * make the SPNEGO mech store the error itself instead, works for 81 1.1 elric everything except other stackable mechs 82 1.1 elric 83 1.1 elric 2008-02-18 Love Hrnquist strand <lha (a] it.su.se> 84 1.1 elric 85 1.1 elric * spnego/init_sec_context.c (spnego_reply): if the reply token was 86 1.1 elric of length 0, make it the same as no token. Pointed out by Zeqing 87 1.1 elric Xia. 88 1.1 elric 89 1.1 elric * krb5/acquire_cred.c (acquire_initiator_cred): handle the 90 1.1 elric credential cache better, use destroy/close when appriate and for 91 1.1 elric all cases. Thanks to Michael Allen for point out the memory-leak 92 1.1 elric that I also fixed. 93 1.1 elric 94 1.1 elric 2008-02-03 Love Hrnquist strand <lha (a] it.su.se> 95 1.1 elric 96 1.1 elric * spnego/accept_sec_context.c: Make error reporting somewhat more 97 1.1 elric correct for SPNEGO. 98 1.1 elric 99 1.1 elric 2008-01-27 Love Hrnquist strand <lha (a] it.su.se> 100 1.1 elric 101 1.1 elric * test_common.c: Improve the error message. 102 1.1 elric 103 1.1 elric 2008-01-24 Love Hrnquist strand <lha (a] it.su.se> 104 1.1 elric 105 1.1 elric * ntlm/accept_sec_context.c: Avoid free-ing type1 message before 106 1.1 elric its allocated. 107 1.1 elric 108 1.1 elric 2008-01-13 Love Hrnquist strand <lha (a] it.su.se> 109 1.1 elric 110 1.1 elric * test_ntlm.c: Test source name (and make the acceptor in ntlm gss 111 1.1 elric mech useful). 112 1.1 elric 113 1.1 elric 2007-12-30 Love Hrnquist strand <lha (a] it.su.se> 114 1.1 elric 115 1.1 elric * ntlm/init_sec_context.c: Don't confuse target name and source 116 1.1 elric name, make regressiont tests pass again. 117 1.1 elric 118 1.1 elric 2007-12-29 Love Hrnquist strand <lha (a] it.su.se> 119 1.1 elric 120 1.1 elric * ntlm: clean up name handling 121 1.1 elric 122 1.1 elric 2007-12-04 Love Hrnquist strand <lha (a] it.su.se> 123 1.1 elric 124 1.1 elric * ntlm/init_sec_context.c: Use credential if it was passed in. 125 1.1 elric 126 1.1 elric * ntlm/acquire_cred.c: Check if there is initial creds with 127 1.1 elric _gss_ntlm_get_user_cred(). 128 1.1 elric 129 1.1 elric * ntlm/init_sec_context.c: Add _gss_ntlm_get_user_info() that 130 1.1 elric return the user info so it can be used by external modules. 131 1.1 elric 132 1.1 elric * ntlm/inquire_cred.c: use the right error code. 133 1.1 elric 134 1.1 elric * ntlm/inquire_cred.c: Return GSS_C_NO_CREDENTIAL if there is no 135 1.1 elric credential, ntlm have (not yet) a default credential. 136 1.1 elric 137 1.1 elric * mech/gss_release_oid_set.c: Avoid trying to deref NULL, from 138 1.1 elric Phil Fisher. 139 1.1 elric 140 1.1 elric 2007-12-03 Love Hrnquist strand <lha (a] it.su.se> 141 1.1 elric 142 1.1 elric * test_acquire_cred.c: Always try to fetch cred (even with 143 1.1 elric GSS_C_NO_NAME). 144 1.1 elric 145 1.1 elric 2007-08-09 Love Hrnquist strand <lha (a] it.su.se> 146 1.1 elric 147 1.1 elric * mech/gss_krb5.c: Readd gss_krb5_get_tkt_flags. 148 1.1 elric 149 1.1 elric 2007-08-08 Love Hrnquist strand <lha (a] it.su.se> 150 1.1 elric 151 1.1 elric * spnego/compat.c (_gss_spnego_internal_delete_sec_context): 152 1.1 elric release ctx->target_name too From Rafal Malinowski. 153 1.1 elric 154 1.1 elric 2007-07-26 Love Hrnquist strand <lha (a] it.su.se> 155 1.1 elric 156 1.1 elric * mech/gss_mech_switch.c: Don't try to do dlopen if system doesn't 157 1.1 elric have dlopen. From Rune of Chalmers. 158 1.1 elric 159 1.1 elric 2007-07-10 Love Hrnquist strand <lha (a] it.su.se> 160 1.1 elric 161 1.1 elric * mech/gss_duplicate_name.c: New signature of _gss_find_mn. 162 1.1 elric 163 1.1 elric * mech/gss_init_sec_context.c: New signature of _gss_find_mn. 164 1.1 elric 165 1.1 elric * mech/gss_acquire_cred.c: New signature of _gss_find_mn. 166 1.1 elric 167 1.1 elric * mech/name.h: New signature of _gss_find_mn. 168 1.1 elric 169 1.1 elric * mech/gss_canonicalize_name.c: New signature of _gss_find_mn. 170 1.1 elric 171 1.1 elric * mech/gss_compare_name.c: New signature of _gss_find_mn. 172 1.1 elric 173 1.1 elric * mech/gss_add_cred.c: New signature of _gss_find_mn. 174 1.1 elric 175 1.1 elric * mech/gss_names.c (_gss_find_mn): Return an error code for 176 1.1 elric caller. 177 1.1 elric 178 1.1 elric * spnego/accept_sec_context.c: remove checks that are done by the 179 1.1 elric previous function. 180 1.1 elric 181 1.1 elric * Makefile.am: New library version. 182 1.1 elric 183 1.1 elric 2007-07-04 Love Hrnquist strand <lha (a] it.su.se> 184 1.1 elric 185 1.1 elric * mech/gss_oid_to_str.c: Refuse to print GSS_C_NULL_OID, from 186 1.1 elric Rafal Malinowski. 187 1.1 elric 188 1.1 elric * spnego/spnego.asn1: Indent and make NegTokenInit and 189 1.1 elric NegTokenResp extendable. 190 1.1 elric 191 1.1 elric 2007-06-21 Love Hrnquist strand <lha (a] it.su.se> 192 1.1 elric 193 1.1 elric * ntlm/inquire_cred.c: Implement _gss_ntlm_inquire_cred. 194 1.1 elric 195 1.1 elric * mech/gss_display_status.c: Provide message for GSS_S_COMPLETE. 196 1.1 elric 197 1.1 elric * mech/context.c: If the canned string is "", its no use to the 198 1.1 elric user, make it fall back to the default error string. 199 1.1 elric 200 1.1 elric 2007-06-20 Love Hrnquist strand <lha (a] it.su.se> 201 1.1 elric 202 1.1 elric * mech/gss_display_name.c (gss_display_name): no name -> 203 1.1 elric fail. From Rafal Malinswski. 204 1.1 elric 205 1.1 elric * spnego/accept_sec_context.c: Wrap name in a spnego_name instead 206 1.1 elric of just a copy of the underlaying object. From Rafal Malinswski. 207 1.1 elric 208 1.1 elric * spnego/accept_sec_context.c: Handle underlaying mech not 209 1.1 elric returning mn. 210 1.1 elric 211 1.1 elric * mech/gss_accept_sec_context.c: Handle underlaying mech not 212 1.1 elric returning mn. 213 1.1 elric 214 1.1 elric * spnego/accept_sec_context.c: Make sure src_name is always set to 215 1.1 elric GSS_C_NO_NAME when returning. 216 1.1 elric 217 1.1 elric * krb5/acquire_cred.c (acquire_acceptor_cred): don't claim 218 1.1 elric everything is well on failure. From Phil Fisher. 219 1.1 elric 220 1.1 elric * mech/gss_duplicate_name.c: catch error (and ignore it) 221 1.1 elric 222 1.1 elric * ntlm/init_sec_context.c: Use heim_ntlm_calculate_ntlm2_sess. 223 1.1 elric 224 1.1 elric * mech/gss_accept_sec_context.c: Only wrap the delegated cred if 225 1.1 elric we got a delegated mech cred. From Rafal Malinowski. 226 1.1 elric 227 1.1 elric * spnego/accept_sec_context.c: Only wrap the delegated cred if we 228 1.1 elric are going to return it to the consumer. From Rafal Malinowski. 229 1.1 elric 230 1.1 elric * spnego/accept_sec_context.c: Fixed memory leak pointed out by 231 1.1 elric Rafal Malinowski, also while here moved to use NegotiationToken 232 1.1 elric for decoding. 233 1.1 elric 234 1.1 elric 2007-06-18 Love Hrnquist strand <lha (a] it.su.se> 235 1.1 elric 236 1.1 elric * krb5/prf.c (_gsskrb5_pseudo_random): add missing break. 237 1.1 elric 238 1.1 elric * krb5/release_name.c: Set *minor_status unconditionallty, its 239 1.1 elric done later anyway. 240 1.1 elric 241 1.1 elric * spnego/accept_sec_context.c: Init get_mic to 0. 242 1.1 elric 243 1.1 elric * mech/gss_set_cred_option.c: Free memory in failure case, found 244 1.1 elric by beam. 245 1.1 elric 246 1.1 elric * mech/gss_inquire_context.c: Handle mech_type being NULL. 247 1.1 elric 248 1.1 elric * mech/gss_inquire_cred_by_mech.c: Handle cred_name being NULL. 249 1.1 elric 250 1.1 elric * mech/gss_krb5.c: Free memory in error case, found by beam. 251 1.1 elric 252 1.1 elric 2007-06-12 Love Hrnquist strand <lha (a] it.su.se> 253 1.1 elric 254 1.1 elric * ntlm/inquire_context.c: Use ctx->gssflags for flags. 255 1.1 elric 256 1.1 elric * krb5/display_name.c: Use KRB5_PRINCIPAL_UNPARSE_DISPLAY, this is 257 1.1 elric not ment for machine consumption. 258 1.1 elric 259 1.1 elric 2007-06-09 Love Hrnquist strand <lha (a] it.su.se> 260 1.1 elric 261 1.1 elric * ntlm/digest.c (kdc_alloc): free memory on failure, pointed out 262 1.1 elric by Rafal Malinowski. 263 1.1 elric 264 1.1 elric * ntlm/digest.c (kdc_destroy): free context when done, pointed out 265 1.1 elric by Rafal Malinowski. 266 1.1 elric 267 1.1 elric * spnego/context_stubs.c (_gss_spnego_display_name): if input_name 268 1.1 elric is null, fail. From Rafal Malinowski. 269 1.1 elric 270 1.1 elric 2007-06-04 Love Hrnquist strand <lha (a] it.su.se> 271 1.1 elric 272 1.1 elric * ntlm/digest.c: Free memory when done. 273 1.1 elric 274 1.1 elric 2007-06-02 Love Hrnquist strand <lha (a] it.su.se> 275 1.1 elric 276 1.1 elric * test_ntlm.c: Test both with and without keyex. 277 1.1 elric 278 1.1 elric * ntlm/digest.c: If we didn't set session key, don't expect one 279 1.1 elric back. 280 1.1 elric 281 1.1 elric * test_ntlm.c: Set keyex flag and calculate session key. 282 1.1 elric 283 1.1 elric 2007-05-31 Love Hrnquist strand <lha (a] it.su.se> 284 1.1 elric 285 1.1 elric * spnego/accept_sec_context.c: Use the return value before is 286 1.1 elric overwritten by later calls. From Rafal Malinowski 287 1.1 elric 288 1.1 elric * krb5/release_cred.c: Give an minor_status argument to 289 1.1 elric gss_release_oid_set. From Rafal Malinowski 290 1.1 elric 291 1.1 elric 2007-05-30 Love Hrnquist strand <lha (a] it.su.se> 292 1.1 elric 293 1.1 elric * ntlm/accept_sec_context.c: Catch errors and return the up the 294 1.1 elric stack. 295 1.1 elric 296 1.1 elric * test_kcred.c: more testing of lifetimes 297 1.1 elric 298 1.1 elric 2007-05-17 Love Hrnquist strand <lha (a] it.su.se> 299 1.1 elric 300 1.1 elric * Makefile.am: Drop the gss oid_set function for the krb5 mech, 301 1.1 elric use the mech glue versions instead. Pointed out by Rafal 302 1.1 elric Malinowski. 303 1.1 elric 304 1.1 elric * krb5: Use gss oid_set functions from mechglue 305 1.1 elric 306 1.1 elric 2007-05-14 Love Hrnquist strand <lha (a] it.su.se> 307 1.1 elric 308 1.1 elric * ntlm/accept_sec_context.c: Set session key only if we are 309 1.1 elric returned a session key. Found by David Love. 310 1.1 elric 311 1.1 elric 2007-05-13 Love Hrnquist strand <lha (a] it.su.se> 312 1.1 elric 313 1.1 elric * krb5/prf.c: switched MIN to min to make compile on solaris, 314 1.1 elric pointed out by David Love. 315 1.1 elric 316 1.1 elric 2007-05-09 Love Hrnquist strand <lha (a] it.su.se> 317 1.1 elric 318 1.1 elric * krb5/inquire_cred_by_mech.c: Fill in all of the variables if 319 1.1 elric they are passed in. Pointed out by Phil Fisher. 320 1.1 elric 321 1.1 elric 2007-05-08 Love Hrnquist strand <lha (a] it.su.se> 322 1.1 elric 323 1.1 elric * krb5/inquire_cred.c: Fix copy and paste error, bug spotted by 324 1.1 elric from Phil Fisher. 325 1.1 elric 326 1.1 elric * mech: dont keep track of gc_usage, just figure it out at 327 1.1 elric gss_inquire_cred() time 328 1.1 elric 329 1.1 elric * mech/gss_mech_switch.c (add_builtin): ok for 330 1.1 elric __gss_mech_initialize() to return NULL 331 1.1 elric 332 1.1 elric * test_kcred.c: more correct tests 333 1.1 elric 334 1.1 elric * spnego/cred_stubs.c (gss_inquire_cred*): wrap the name with a 335 1.1 elric spnego_name. 336 1.1 elric 337 1.1 elric * ntlm/inquire_cred.c: make ntlm gss_inquire_cred fail for now, 338 1.1 elric need to find default cred and friends. 339 1.1 elric 340 1.1 elric * krb5/inquire_cred_by_mech.c: reimplement 341 1.1 elric 342 1.1 elric 2007-05-07 Love Hrnquist strand <lha (a] it.su.se> 343 1.1 elric 344 1.1 elric * ntlm/acquire_cred.c: drop unused variable. 345 1.1 elric 346 1.1 elric * ntlm/acquire_cred.c: Reimplement. 347 1.1 elric 348 1.1 elric * Makefile.am: add ntlm/digest.c 349 1.1 elric 350 1.1 elric * ntlm: split out backend ntlm server processing 351 1.1 elric 352 1.1 elric 2007-04-24 Love Hrnquist strand <lha (a] it.su.se> 353 1.1 elric 354 1.1 elric * ntlm/delete_sec_context.c (_gss_ntlm_delete_sec_context): free 355 1.1 elric credcache when done 356 1.1 elric 357 1.1 elric 2007-04-22 Love Hrnquist strand <lha (a] it.su.se> 358 1.1 elric 359 1.1 elric * ntlm/init_sec_context.c: ntlm-key credential entry is prefix with @ 360 1.1 elric 361 1.1 elric * ntlm/init_sec_context.c (get_user_ccache): pick up the ntlm 362 1.1 elric creds from the krb5 credential cache. 363 1.1 elric 364 1.1 elric 2007-04-21 Love Hrnquist strand <lha (a] it.su.se> 365 1.1 elric 366 1.1 elric * ntlm/delete_sec_context.c: free the key stored in the context 367 1.1 elric 368 1.1 elric * ntlm/ntlm.h: switch password for a key 369 1.1 elric 370 1.1 elric * test_oid.c: Switch oid to one that is exported. 371 1.1 elric 372 1.1 elric 2007-04-20 Love Hrnquist strand <lha (a] it.su.se> 373 1.1 elric 374 1.1 elric * ntlm/init_sec_context.c: move where hash is calculated to make 375 1.1 elric it easier to add ccache support. 376 1.1 elric 377 1.1 elric * Makefile.am: Add version-script.map to EXTRA_DIST. 378 1.1 elric 379 1.1 elric 2007-04-19 Love Hrnquist strand <lha (a] it.su.se> 380 1.1 elric 381 1.1 elric * Makefile.am: Unconfuse newer versions of automake that doesn't 382 1.1 elric know the diffrence between depenences and setting variables. foo: 383 1.1 elric vs foo=. 384 1.1 elric 385 1.1 elric * test_ntlm.c: delete sec context when done. 386 1.1 elric 387 1.1 elric * version-script.map: export more symbols. 388 1.1 elric 389 1.1 elric * Makefile.am: add version script if ld supports it 390 1.1 elric 391 1.1 elric * version-script.map: add version script if ld supports it 392 1.1 elric 393 1.1 elric 2007-04-18 Love Hrnquist strand <lha (a] it.su.se> 394 1.1 elric 395 1.1 elric * Makefile.am: test_acquire_cred need test_common.[ch] 396 1.1 elric 397 1.1 elric * test_acquire_cred.c: add more test options. 398 1.1 elric 399 1.1 elric * krb5/external.c: add GSS_KRB5_CCACHE_NAME_X 400 1.1 elric 401 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_CCACHE_NAME_X 402 1.1 elric 403 1.1 elric * krb5/set_sec_context_option.c: refactor code, implement 404 1.1 elric GSS_KRB5_CCACHE_NAME_X 405 1.1 elric 406 1.1 elric * mech/gss_krb5.c: reimplement gss_krb5_ccache_name 407 1.1 elric 408 1.1 elric 2007-04-17 Love Hrnquist strand <lha (a] it.su.se> 409 1.1 elric 410 1.1 elric * spnego/cred_stubs.c: Need to import spnego name before we can 411 1.1 elric use it as a gss_name_t. 412 1.1 elric 413 1.1 elric * test_acquire_cred.c: use this test as part of the regression 414 1.1 elric suite. 415 1.1 elric 416 1.1 elric * mech/gss_acquire_cred.c (gss_acquire_cred): dont init 417 1.1 elric cred->gc_mc every time in the loop. 418 1.1 elric 419 1.1 elric 2007-04-15 Love Hrnquist strand <lha (a] it.su.se> 420 1.1 elric 421 1.1 elric * Makefile.am: add test_common.h 422 1.1 elric 423 1.1 elric 2007-02-16 Love Hrnquist strand <lha (a] it.su.se> 424 1.1 elric 425 1.1 elric * gss_acquire_cred.3: Add link for 426 1.1 elric gsskrb5_register_acceptor_identity. 427 1.1 elric 428 1.1 elric 2007-02-08 Love Hrnquist strand <lha (a] it.su.se> 429 1.1 elric 430 1.1 elric * krb5/copy_ccache.c: Try to leak less memory in the failure case. 431 1.1 elric 432 1.1 elric 2007-01-31 Love Hrnquist strand <lha (a] it.su.se> 433 1.1 elric 434 1.1 elric * mech/gss_display_status.c: Use right printf formater. 435 1.1 elric 436 1.1 elric * test_*.[ch]: split out the error printing function and try to 437 1.1 elric return better errors 438 1.1 elric 439 1.1 elric 2007-01-30 Love Hrnquist strand <lha (a] it.su.se> 440 1.1 elric 441 1.1 elric * krb5/init_sec_context.c: revert 1.75: (init_auth): only turn on 442 1.1 elric GSS_C_CONF_FLAG and GSS_C_INT_FLAG if the caller requseted it. 443 1.1 elric 444 1.1 elric This is because Kerberos always support INT|CONF, matches behavior 445 1.1 elric with MS and MIT. The creates problems for the GSS-SPNEGO mech. 446 1.1 elric 447 1.1 elric 2007-01-24 Love Hrnquist strand <lha (a] it.su.se> 448 1.1 elric 449 1.1 elric * krb5/prf.c: constrain desired_output_len 450 1.1 elric 451 1.1 elric * krb5/external.c (krb5_mech): add _gsskrb5_pseudo_random 452 1.1 elric 453 1.1 elric * mech/gss_pseudo_random.c: Catch error from underlaying mech on 454 1.1 elric failure. 455 1.1 elric 456 1.1 elric * Makefile.am: Add krb5/prf.c 457 1.1 elric 458 1.1 elric * krb5/prf.c: gss_pseudo_random for krb5 459 1.1 elric 460 1.1 elric * test_context.c: Checks for gss_pseudo_random. 461 1.1 elric 462 1.1 elric * krb5/gkrb5_err.et: add KG_INPUT_TOO_LONG 463 1.1 elric 464 1.1 elric * Makefile.am: Add mech/gss_pseudo_random.c 465 1.1 elric 466 1.1 elric * gssapi/gssapi.h: try to load pseudo_random 467 1.1 elric 468 1.1 elric * mech/gss_mech_switch.c: try to load pseudo_random 469 1.1 elric 470 1.1 elric * mech/gss_pseudo_random.c: Add gss_pseudo_random. 471 1.1 elric 472 1.1 elric * gssapi_mech.h: Add hook for gm_pseudo_random. 473 1.1 elric 474 1.1 elric 2007-01-17 Love Hrnquist strand <lha (a] it.su.se> 475 1.1 elric 476 1.1 elric * test_context.c: Don't assume bufer from gss_display_status is 477 1.1 elric ok. 478 1.1 elric 479 1.1 elric * mech/gss_wrap_size_limit.c: Reset out variables. 480 1.1 elric 481 1.1 elric * mech/gss_wrap.c: Reset out variables. 482 1.1 elric 483 1.1 elric * mech/gss_verify_mic.c: Reset out variables. 484 1.1 elric 485 1.1 elric * mech/gss_utils.c: Reset out variables. 486 1.1 elric 487 1.1 elric * mech/gss_release_oid_set.c: Reset out variables. 488 1.1 elric 489 1.1 elric * mech/gss_release_cred.c: Reset out variables. 490 1.1 elric 491 1.1 elric * mech/gss_release_buffer.c: Reset variables. 492 1.1 elric 493 1.1 elric * mech/gss_oid_to_str.c: Reset out variables. 494 1.1 elric 495 1.1 elric * mech/gss_inquire_sec_context_by_oid.c: Fix reset out variables. 496 1.1 elric 497 1.1 elric * mech/gss_mech_switch.c: Reset out variables. 498 1.1 elric 499 1.1 elric * mech/gss_inquire_sec_context_by_oid.c: Reset out variables. 500 1.1 elric 501 1.1 elric * mech/gss_inquire_names_for_mech.c: Reset out variables. 502 1.1 elric 503 1.1 elric * mech/gss_inquire_cred_by_oid.c: Reset out variables. 504 1.1 elric 505 1.1 elric * mech/gss_inquire_cred_by_oid.c: Reset out variables. 506 1.1 elric 507 1.1 elric * mech/gss_inquire_cred_by_mech.c: Reset out variables. 508 1.1 elric 509 1.1 elric * mech/gss_inquire_cred.c: Reset out variables, fix memory leak. 510 1.1 elric 511 1.1 elric * mech/gss_inquire_context.c: Reset out variables. 512 1.1 elric 513 1.1 elric * mech/gss_init_sec_context.c: Zero out outbuffer on failure. 514 1.1 elric 515 1.1 elric * mech/gss_import_name.c: Reset out variables. 516 1.1 elric 517 1.1 elric * mech/gss_import_name.c: Reset out variables. 518 1.1 elric 519 1.1 elric * mech/gss_get_mic.c: Reset out variables. 520 1.1 elric 521 1.1 elric * mech/gss_export_name.c: Reset out variables. 522 1.1 elric 523 1.1 elric * mech/gss_encapsulate_token.c: Reset out variables. 524 1.1 elric 525 1.1 elric * mech/gss_duplicate_oid.c: Reset out variables. 526 1.1 elric 527 1.1 elric * mech/gss_duplicate_oid.c: Reset out variables. 528 1.1 elric 529 1.1 elric * mech/gss_duplicate_name.c: Reset out variables. 530 1.1 elric 531 1.1 elric * mech/gss_display_status.c: Reset out variables. 532 1.1 elric 533 1.1 elric * mech/gss_display_name.c: Reset out variables. 534 1.1 elric 535 1.1 elric * mech/gss_delete_sec_context.c: Reset out variables using propper 536 1.1 elric macros. 537 1.1 elric 538 1.1 elric * mech/gss_decapsulate_token.c: Reset out variables using propper 539 1.1 elric macros. 540 1.1 elric 541 1.1 elric * mech/gss_add_cred.c: Reset out variables. 542 1.1 elric 543 1.1 elric * mech/gss_acquire_cred.c: Reset out variables. 544 1.1 elric 545 1.1 elric * mech/gss_accept_sec_context.c: Reset out variables using propper 546 1.1 elric macros. 547 1.1 elric 548 1.1 elric * mech/gss_init_sec_context.c: Reset out variables. 549 1.1 elric 550 1.1 elric * mech/mech_locl.h (_mg_buffer_zero): new macro that zaps a 551 1.1 elric gss_buffer_t 552 1.1 elric 553 1.1 elric 2007-01-16 Love Hrnquist strand <lha (a] it.su.se> 554 1.1 elric 555 1.1 elric * mech: sprinkel _gss_mg_error 556 1.1 elric 557 1.1 elric * mech/gss_display_status.c (gss_display_status): use 558 1.1 elric _gss_mg_get_error to fetch the error from underlaying mech, if it 559 1.1 elric failes, let do the regular dance for GSS-CODE version and a 560 1.1 elric generic print-the-error code for MECH-CODE. 561 1.1 elric 562 1.1 elric * mech/gss_oid_to_str.c: Don't include the NUL in the length of 563 1.1 elric the string. 564 1.1 elric 565 1.1 elric * mech/context.h: Protoypes for _gss_mg_. 566 1.1 elric 567 1.1 elric * mech/context.c: Glue to catch the error from the lower gss-api 568 1.1 elric layer and save that for later so gss_display_status() can show the 569 1.1 elric error. 570 1.1 elric 571 1.1 elric * gss.c: Detect NTLM. 572 1.1 elric 573 1.1 elric 2007-01-11 Love Hrnquist strand <lha (a] it.su.se> 574 1.1 elric 575 1.1 elric * mech/gss_accept_sec_context.c: spelling 576 1.1 elric 577 1.1 elric 2007-01-04 Love Hrnquist strand <lha (a] it.su.se> 578 1.1 elric 579 1.1 elric * Makefile.am: Include build (private) prototypes header files. 580 1.1 elric 581 1.1 elric * Makefile.am (ntlmsrc): add ntlm/ntlm-private.h 582 1.1 elric 583 1.1 elric 2006-12-28 Love Hrnquist strand <lha (a] it.su.se> 584 1.1 elric 585 1.1 elric * ntlm/accept_sec_context.c: Pass signseal argument to 586 1.1 elric _gss_ntlm_set_key. 587 1.1 elric 588 1.1 elric * ntlm/init_sec_context.c: Pass signseal argument to 589 1.1 elric _gss_ntlm_set_key. 590 1.1 elric 591 1.1 elric * ntlm/crypto.c (_gss_ntlm_set_key): add signseal argument 592 1.1 elric 593 1.1 elric * test_ntlm.c: add ntlmv2 test 594 1.1 elric 595 1.1 elric * ntlm/ntlm.h: break out struct ntlmv2_key; 596 1.1 elric 597 1.1 elric * ntlm/crypto.c (_gss_ntlm_set_key): set ntlm v2 keys. 598 1.1 elric 599 1.1 elric * ntlm/accept_sec_context.c: Set dummy ntlmv2 keys and Check TI. 600 1.1 elric 601 1.1 elric * ntlm/ntlm.h: NTLMv2 keys. 602 1.1 elric 603 1.1 elric * ntlm/crypto.c: NTLMv2 sign and verify. 604 1.1 elric 605 1.1 elric 2006-12-20 Love Hrnquist strand <lha (a] it.su.se> 606 1.1 elric 607 1.1 elric * ntlm/accept_sec_context.c: Don't send targetinfo now. 608 1.1 elric 609 1.1 elric * ntlm/init_sec_context.c: Build ntlmv2 answer buffer. 610 1.1 elric 611 1.1 elric * ntlm/init_sec_context.c: Leak less memory. 612 1.1 elric 613 1.1 elric * ntlm/init_sec_context.c: Announce that we support key exchange. 614 1.1 elric 615 1.1 elric * ntlm/init_sec_context.c: Add NTLM_NEG_NTLM2_SESSION, NTLMv2 616 1.1 elric session security (disable because missing sign and seal). 617 1.1 elric 618 1.1 elric 2006-12-19 Love Hrnquist strand <lha (a] it.su.se> 619 1.1 elric 620 1.1 elric * ntlm/accept_sec_context.c: split RC4 send and recv keystreams 621 1.1 elric 622 1.1 elric * ntlm/init_sec_context.c: split RC4 send and recv keystreams 623 1.1 elric 624 1.1 elric * ntlm/ntlm.h: split RC4 send and recv keystreams 625 1.1 elric 626 1.1 elric * ntlm/crypto.c: Implement SEAL. 627 1.1 elric 628 1.1 elric * ntlm/crypto.c: move gss_wrap/gss_unwrap here 629 1.1 elric 630 1.1 elric * test_context.c: request INT and CONF from the gss layer, test 631 1.1 elric get and verify MIC. 632 1.1 elric 633 1.1 elric * ntlm/ntlm.h: add crypto bits. 634 1.1 elric 635 1.1 elric * ntlm/accept_sec_context.c: Save session master key. 636 1.1 elric 637 1.1 elric * Makefile.am: Move get and verify mic to the same file (crypto.c) 638 1.1 elric since they share code. 639 1.1 elric 640 1.1 elric * ntlm/crypto.c: Move get and verify mic to the same file since 641 1.1 elric they share code, implement NTLM v1 and dummy signatures. 642 1.1 elric 643 1.1 elric * ntlm/init_sec_context.c: pass on GSS_C_CONF_FLAG and 644 1.1 elric GSS_C_INTEG_FLAG, save the session master key 645 1.1 elric 646 1.1 elric * spnego/accept_sec_context.c: try using gss_accept_sec_context() 647 1.1 elric on the opportunistic token instead of guessing the acceptor name 648 1.1 elric and do gss_acquire_cred, this make SPNEGO work like before. 649 1.1 elric 650 1.1 elric 2006-12-18 Love Hrnquist strand <lha (a] it.su.se> 651 1.1 elric 652 1.1 elric * ntlm/init_sec_context.c: Calculate the NTLM version 1 "master" 653 1.1 elric key. 654 1.1 elric 655 1.1 elric * spnego/accept_sec_context.c: Resurect negHints for the acceptor 656 1.1 elric sends first packet. 657 1.1 elric 658 1.1 elric * Makefile.am: Add "windows" versions of the NegTokenInitWin and 659 1.1 elric friends. 660 1.1 elric 661 1.1 elric * test_context.c: add --wrapunwrap flag 662 1.1 elric 663 1.1 elric * spnego/compat.c: move _gss_spnego_indicate_mechtypelist() to 664 1.1 elric compat.c, use the sequence types of MechTypeList, make 665 1.1 elric add_mech_type() static. 666 1.1 elric 667 1.1 elric * spnego/accept_sec_context.c: move 668 1.1 elric _gss_spnego_indicate_mechtypelist() to compat.c 669 1.1 elric 670 1.1 elric * Makefile.am: Generate sequence code for MechTypeList 671 1.1 elric 672 1.1 elric * spnego: check that the generated acceptor mechlist is acceptable too 673 1.1 elric 674 1.1 elric * spnego/init_sec_context.c: Abstract out the initiator filter 675 1.1 elric function, it will be needed for the acceptor too. 676 1.1 elric 677 1.1 elric * spnego/accept_sec_context.c: Abstract out the initiator filter 678 1.1 elric function, it will be needed for the acceptor too. Remove negHints. 679 1.1 elric 680 1.1 elric * test_context.c: allow asserting return mech 681 1.1 elric 682 1.1 elric * ntlm/accept_sec_context.c: add _gss_ntlm_allocate_ctx 683 1.1 elric 684 1.1 elric * ntlm/acquire_cred.c: Check that the KDC seem to there and 685 1.1 elric answering us, we can't do better then that wen checking if we will 686 1.1 elric accept the credential. 687 1.1 elric 688 1.1 elric * ntlm/get_mic.c: return GSS_S_UNAVAILABLE 689 1.1 elric 690 1.1 elric * mech/utils.h: add _gss_free_oid, reverse of _gss_copy_oid 691 1.1 elric 692 1.1 elric * mech/gss_utils.c: add _gss_free_oid, reverse of _gss_copy_oid 693 1.1 elric 694 1.1 elric * spnego/spnego.asn1: Its very sad, but NegHints its are not part 695 1.1 elric of the NegTokenInit, this makes SPNEGO acceptor life a lot harder. 696 1.1 elric 697 1.1 elric * spnego: try harder to handle names better. handle missing 698 1.1 elric acceptor and initator creds better (ie dont propose/accept mech 699 1.1 elric that there are no credentials for) split NegTokenInit and 700 1.1 elric NegTokenResp in acceptor 701 1.1 elric 702 1.1 elric 2006-12-16 Love Hrnquist strand <lha (a] it.su.se> 703 1.1 elric 704 1.1 elric * ntlm/import_name.c: Allocate the buffer from the right length. 705 1.1 elric 706 1.1 elric 2006-12-15 Love Hrnquist strand <lha (a] it.su.se> 707 1.1 elric 708 1.1 elric * ntlm/init_sec_context.c (init_sec_context): Tell the other side 709 1.1 elric what domain we think we are talking to. 710 1.1 elric 711 1.1 elric * ntlm/delete_sec_context.c: free username and password 712 1.1 elric 713 1.1 elric * ntlm/release_name.c (_gss_ntlm_release_name): free name. 714 1.1 elric 715 1.1 elric * ntlm/import_name.c (_gss_ntlm_import_name): add support for 716 1.1 elric GSS_C_NT_HOSTBASED_SERVICE names 717 1.1 elric 718 1.1 elric * ntlm/ntlm.h: Add ntlm_name. 719 1.1 elric 720 1.1 elric * test_context.c: allow testing of ntlm. 721 1.1 elric 722 1.1 elric * gssapi_mech.h: add __gss_ntlm_initialize 723 1.1 elric 724 1.1 elric * ntlm/accept_sec_context.c (handle_type3): verify that the kdc 725 1.1 elric approved of the ntlm exchange too 726 1.1 elric 727 1.1 elric * mech/gss_mech_switch.c: Add the builtin ntlm mech 728 1.1 elric 729 1.1 elric * test_ntlm.c: NTLM test app. 730 1.1 elric 731 1.1 elric * mech/gss_accept_sec_context.c: Add detection of NTLMSSP. 732 1.1 elric 733 1.1 elric * gssapi/gssapi.h: add ntlm mech oid 734 1.1 elric 735 1.1 elric * ntlm/external.c: Switch OID to the ms ntlmssp oid 736 1.1 elric 737 1.1 elric * Makefile.am: Add ntlm gss-api module. 738 1.1 elric 739 1.1 elric * ntlm/accept_sec_context.c: Catch more error errors. 740 1.1 elric 741 1.1 elric * ntlm/accept_sec_context.c: Check after a credential to use. 742 1.1 elric 743 1.1 elric 2006-12-14 Love Hrnquist strand <lha (a] it.su.se> 744 1.1 elric 745 1.1 elric * krb5/set_sec_context_option.c (GSS_KRB5_SET_DEFAULT_REALM_X): 746 1.1 elric don't fail on success. Bug report from Stefan Metzmacher. 747 1.1 elric 748 1.1 elric 2006-12-13 Love Hrnquist strand <lha (a] it.su.se> 749 1.1 elric 750 1.1 elric * krb5/init_sec_context.c (init_auth): only turn on 751 1.1 elric GSS_C_CONF_FLAG and GSS_C_INT_FLAG if the caller requseted it. 752 1.1 elric From Stefan Metzmacher. 753 1.1 elric 754 1.1 elric 2006-12-11 Love Hrnquist strand <lha (a] it.su.se> 755 1.1 elric 756 1.1 elric * Makefile.am (libgssapi_la_OBJECTS): depends on gssapi_asn1.h 757 1.1 elric spnego_asn1.h. 758 1.1 elric 759 1.1 elric 2006-11-20 Love Hrnquist strand <lha (a] it.su.se> 760 1.1 elric 761 1.1 elric * krb5/acquire_cred.c: Make krb5_get_init_creds_opt_free take a 762 1.1 elric context argument. 763 1.1 elric 764 1.1 elric 2006-11-16 Love Hrnquist strand <lha (a] it.su.se> 765 1.1 elric 766 1.1 elric * test_context.c: Test that token keys are the same, return 767 1.1 elric actual_mech. 768 1.1 elric 769 1.1 elric 2006-11-15 Love Hrnquist strand <lha (a] it.su.se> 770 1.1 elric 771 1.1 elric * spnego/spnego_locl.h: Make bitfields unsigned, add maybe_open. 772 1.1 elric 773 1.1 elric * spnego/accept_sec_context.c: Use ASN.1 encoder functions to 774 1.1 elric encode CHOICE structure now that we can handle it. 775 1.1 elric 776 1.1 elric * spnego/init_sec_context.c: Use ASN.1 encoder functions to encode 777 1.1 elric CHOICE structure now that we can handle it. 778 1.1 elric 779 1.1 elric * spnego/accept_sec_context.c (_gss_spnego_accept_sec_context): 780 1.1 elric send back ad accept_completed when the security context is ->open, 781 1.1 elric w/o this the client doesn't know that the server have completed 782 1.1 elric the transaction. 783 1.1 elric 784 1.1 elric * test_context.c: Add delegate flag and check that the delegated 785 1.1 elric cred works. 786 1.1 elric 787 1.1 elric * spnego/init_sec_context.c: Keep track of the opportunistic token 788 1.1 elric in the inital message, it might be a complete gss-api context, in 789 1.1 elric that case we'll get back accept_completed without any token. With 790 1.1 elric this change, krb5 w/o mutual authentication works. 791 1.1 elric 792 1.1 elric * spnego/accept_sec_context.c: Use ASN.1 encoder functions to 793 1.1 elric encode CHOICE structure now that we can handle it. 794 1.1 elric 795 1.1 elric * spnego/accept_sec_context.c: Filter out SPNEGO from the out 796 1.1 elric supported mechs list and make sure we don't select that for the 797 1.1 elric preferred mechamism. 798 1.1 elric 799 1.1 elric 2006-11-14 Love Hrnquist strand <lha (a] it.su.se> 800 1.1 elric 801 1.1 elric * mech/gss_init_sec_context.c (_gss_mech_cred_find): break out the 802 1.1 elric cred finding to its own function 803 1.1 elric 804 1.1 elric * krb5/wrap.c: Better error strings, from Andrew Bartlet. 805 1.1 elric 806 1.1 elric 2006-11-13 Love Hrnquist strand <lha (a] it.su.se> 807 1.1 elric 808 1.1 elric * test_context.c: Create our own krb5_context. 809 1.1 elric 810 1.1 elric * krb5: Switch from using a specific error message context in the 811 1.1 elric TLS to have a whole krb5_context in TLS. This have some 812 1.1 elric interestion side-effekts for the configruration setting options 813 1.1 elric since they operate on per-thread basis now. 814 1.1 elric 815 1.1 elric * mech/gss_set_cred_option.c: When calling ->gm_set_cred_option 816 1.1 elric and checking for success, use GSS_S_COMPLETE. From Andrew Bartlet. 817 1.1 elric 818 1.1 elric 2006-11-12 Love Hrnquist strand <lha (a] it.su.se> 819 1.1 elric 820 1.1 elric * Makefile.am: Help solaris make even more. 821 1.1 elric 822 1.1 elric * Makefile.am: Help solaris make. 823 1.1 elric 824 1.1 elric 2006-11-09 Love Hrnquist strand <lha (a] it.su.se> 825 1.1 elric 826 1.1 elric * Makefile.am: remove include $(srcdir)/Makefile-digest.am for now 827 1.1 elric 828 1.1 elric * mech/gss_accept_sec_context.c: Try better guessing what is mech 829 1.1 elric we are going to select by looking harder at the input_token, idea 830 1.1 elric from Luke Howard's mechglue branch. 831 1.1 elric 832 1.1 elric * Makefile.am: libgssapi_la_OBJECTS: add depency on gkrb5_err.h 833 1.1 elric 834 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X 835 1.1 elric 836 1.1 elric * mech/gss_krb5.c: implement gss_krb5_set_allowable_enctypes 837 1.1 elric 838 1.1 elric * gssapi/gssapi.h: GSS_KRB5_S_ 839 1.1 elric 840 1.1 elric * krb5/gsskrb5_locl.h: Include <gkrb5_err.h>. 841 1.1 elric 842 1.1 elric * gssapi/gssapi_krb5.h: Add gss_krb5_set_allowable_enctypes. 843 1.1 elric 844 1.1 elric * Makefile.am: Build and install gkrb5_err.h 845 1.1 elric 846 1.1 elric * krb5/gkrb5_err.et: Move the GSS_KRB5_S error here. 847 1.1 elric 848 1.1 elric 2006-11-08 Love Hrnquist strand <lha (a] it.su.se> 849 1.1 elric 850 1.1 elric * mech/gss_krb5.c: Add gsskrb5_set_default_realm. 851 1.1 elric 852 1.1 elric * krb5/set_sec_context_option.c: Support 853 1.1 elric GSS_KRB5_SET_DEFAULT_REALM_X. 854 1.1 elric 855 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_SET_DEFAULT_REALM_X 856 1.1 elric 857 1.1 elric * krb5/external.c: add GSS_KRB5_SET_DEFAULT_REALM_X 858 1.1 elric 859 1.1 elric 2006-11-07 Love Hrnquist strand <lha (a] it.su.se> 860 1.1 elric 861 1.1 elric * test_context.c: rename krb5_[gs]et_time_wrap to 862 1.1 elric krb5_[gs]et_max_time_skew 863 1.1 elric 864 1.1 elric * krb5/copy_ccache.c: _gsskrb5_extract_authz_data_from_sec_context 865 1.1 elric no longer used, bye bye 866 1.1 elric 867 1.1 elric * mech/gss_krb5.c: No depenency of the krb5 gssapi mech. 868 1.1 elric 869 1.1 elric * mech/gss_krb5.c (gsskrb5_extract_authtime_from_sec_context): use 870 1.1 elric _gsskrb5_decode_om_uint32. From Andrew Bartlet. 871 1.1 elric 872 1.1 elric * mech/gss_krb5.c: Add dummy gss_krb5_set_allowable_enctypes for 873 1.1 elric now. 874 1.1 elric 875 1.1 elric * spnego/spnego_locl.h: Include <roken.h> for compatiblity. 876 1.1 elric 877 1.1 elric * krb5/arcfour.c: Use IS_DCE_STYLE flag. There is no padding in 878 1.1 elric DCE-STYLE, don't try to use to. From Andrew Bartlett. 879 1.1 elric 880 1.1 elric * test_context.c: test wrap/unwrap, add flag for dce-style and 881 1.1 elric mutual auth, also support multi-roundtrip sessions 882 1.1 elric 883 1.1 elric * krb5/gsskrb5_locl.h: Add IS_DCE_STYLE macro. 884 1.1 elric 885 1.1 elric * krb5/accept_sec_context.c (gsskrb5_acceptor_start): use 886 1.1 elric krb5_rd_req_ctx 887 1.1 elric 888 1.1 elric * mech/gss_krb5.c (gsskrb5_get_subkey): return the per message 889 1.1 elric token subkey 890 1.1 elric 891 1.1 elric * krb5/inquire_sec_context_by_oid.c: check if there is any key at 892 1.1 elric all 893 1.1 elric 894 1.1 elric 2006-11-06 Love Hrnquist strand <lha (a] it.su.se> 895 1.1 elric 896 1.1 elric * krb5/inquire_sec_context_by_oid.c: Set more error strings, use 897 1.1 elric right enum for acceptor subkey. From Andrew Bartlett. 898 1.1 elric 899 1.1 elric 2006-11-04 Love Hrnquist strand <lha (a] it.su.se> 900 1.1 elric 901 1.1 elric * test_context.c: Test gsskrb5_extract_service_keyblock, needed in 902 1.1 elric PAC valication. From Andrew Bartlett 903 1.1 elric 904 1.1 elric * mech/gss_krb5.c: Add gsskrb5_extract_authz_data_from_sec_context 905 1.1 elric and keyblock extraction functions. 906 1.1 elric 907 1.1 elric * gssapi/gssapi_krb5.h: Add extraction of keyblock function, from 908 1.1 elric Andrew Bartlett. 909 1.1 elric 910 1.1 elric * krb5/external.c: Add GSS_KRB5_GET_SERVICE_KEYBLOCK_X 911 1.1 elric 912 1.1 elric 2006-11-03 Love Hrnquist strand <lha (a] it.su.se> 913 1.1 elric 914 1.1 elric * test_context.c: Rename various routines and constants from 915 1.1 elric canonize to canonicalize. From Andrew Bartlett 916 1.1 elric 917 1.1 elric * mech/gss_krb5.c: Rename various routines and constants from 918 1.1 elric canonize to canonicalize. From Andrew Bartlett 919 1.1 elric 920 1.1 elric * krb5/set_sec_context_option.c: Rename various routines and 921 1.1 elric constants from canonize to canonicalize. From Andrew Bartlett 922 1.1 elric 923 1.1 elric * krb5/external.c: Rename various routines and constants from 924 1.1 elric canonize to canonicalize. From Andrew Bartlett 925 1.1 elric 926 1.1 elric * gssapi/gssapi_krb5.h: Rename various routines and constants from 927 1.1 elric canonize to canonicalize. From Andrew Bartlett 928 1.1 elric 929 1.1 elric 2006-10-25 Love Hrnquist strand <lha (a] it.su.se> 930 1.1 elric 931 1.1 elric * krb5/accept_sec_context.c (gsskrb5_accept_delegated_token): need 932 1.1 elric to free ccache 933 1.1 elric 934 1.1 elric 2006-10-24 Love Hrnquist strand <lha (a] it.su.se> 935 1.1 elric 936 1.1 elric * test_context.c (loop): free target_name 937 1.1 elric 938 1.1 elric * mech/gss_accept_sec_context.c: SLIST_INIT the ->gc_mc' 939 1.1 elric 940 1.1 elric * mech/gss_acquire_cred.c : SLIST_INIT the ->gc_mc' 941 1.1 elric 942 1.1 elric * krb5/init_sec_context.c: Avoid leaking memory. 943 1.1 elric 944 1.1 elric * mech/gss_buffer_set.c (gss_release_buffer_set): don't leak the 945 1.1 elric ->elements memory. 946 1.1 elric 947 1.1 elric * test_context.c: make compile 948 1.1 elric 949 1.1 elric * krb5/cfx.c (_gssapi_verify_mic_cfx): always free crypto context. 950 1.1 elric 951 1.1 elric * krb5/set_cred_option.c (import_cred): free sp 952 1.1 elric 953 1.1 elric 2006-10-22 Love Hrnquist strand <lha (a] it.su.se> 954 1.1 elric 955 1.1 elric * mech/gss_add_oid_set_member.c: Use old implementation of 956 1.1 elric gss_add_oid_set_member, it leaks less memory. 957 1.1 elric 958 1.1 elric * krb5/test_cfx.c: free krb5_crypto. 959 1.1 elric 960 1.1 elric * krb5/test_cfx.c: free krb5_context 961 1.1 elric 962 1.1 elric * mech/gss_release_name.c (gss_release_name): free input_name 963 1.1 elric it-self. 964 1.1 elric 965 1.1 elric 2006-10-21 Love Hrnquist strand <lha (a] it.su.se> 966 1.1 elric 967 1.1 elric * test_context.c: Call setprogname. 968 1.1 elric 969 1.1 elric * mech/gss_krb5.c: Add gsskrb5_extract_authtime_from_sec_context. 970 1.1 elric 971 1.1 elric * gssapi/gssapi_krb5.h: add 972 1.1 elric gsskrb5_extract_authtime_from_sec_context 973 1.1 elric 974 1.1 elric 2006-10-20 Love Hrnquist strand <lha (a] it.su.se> 975 1.1 elric 976 1.1 elric * krb5/inquire_sec_context_by_oid.c: Add get_authtime. 977 1.1 elric 978 1.1 elric * krb5/external.c: add GSS_KRB5_GET_AUTHTIME_X 979 1.1 elric 980 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_GET_AUTHTIME_X 981 1.1 elric 982 1.1 elric * krb5/set_sec_context_option.c: Implement GSS_KRB5_SEND_TO_KDC_X. 983 1.1 elric 984 1.1 elric * mech/gss_krb5.c: Add gsskrb5_set_send_to_kdc 985 1.1 elric 986 1.1 elric * gssapi/gssapi_krb5.h: Add GSS_KRB5_SEND_TO_KDC_X and 987 1.1 elric gsskrb5_set_send_to_kdc 988 1.1 elric 989 1.1 elric * krb5/external.c: add GSS_KRB5_SEND_TO_KDC_X 990 1.1 elric 991 1.1 elric * Makefile.am: more files 992 1.1 elric 993 1.1 elric 2006-10-19 Love Hrnquist strand <lha (a] it.su.se> 994 1.1 elric 995 1.1 elric * Makefile.am: remove spnego/gssapi_spnego.h, its now in gssapi/ 996 1.1 elric 997 1.1 elric * test_context.c: Allow specifing mech. 998 1.1 elric 999 1.1 elric * krb5/external.c: add GSS_SASL_DIGEST_MD5_MECHANISM (for now) 1000 1.1 elric 1001 1.1 elric * gssapi/gssapi.h: Rename GSS_DIGEST_MECHANISM to 1002 1.1 elric GSS_SASL_DIGEST_MD5_MECHANISM 1003 1.1 elric 1004 1.1 elric 2006-10-18 Love Hrnquist strand <lha (a] it.su.se> 1005 1.1 elric 1006 1.1 elric * mech/gssapi.asn1: Make it into a heim_any_set, its doesn't 1007 1.1 elric except a tag. 1008 1.1 elric 1009 1.1 elric * mech/gssapi.asn1: GSSAPIContextToken is IMPLICIT SEQUENCE 1010 1.1 elric 1011 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_GET_ACCEPTOR_SUBKEY_X 1012 1.1 elric 1013 1.1 elric * krb5/external.c: Add GSS_KRB5_GET_ACCEPTOR_SUBKEY_X. 1014 1.1 elric 1015 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_GET_INITIATOR_SUBKEY_X and 1016 1.1 elric GSS_KRB5_GET_SUBKEY_X 1017 1.1 elric 1018 1.1 elric * krb5/external.c: add GSS_KRB5_GET_INITIATOR_SUBKEY_X, 1019 1.1 elric GSS_KRB5_GET_SUBKEY_X 1020 1.1 elric 1021 1.1 elric 2006-10-17 Love Hrnquist strand <lha (a] it.su.se> 1022 1.1 elric 1023 1.1 elric * test_context.c: Support switching on name type oid's 1024 1.1 elric 1025 1.1 elric * test_context.c: add test for dns canon flag 1026 1.1 elric 1027 1.1 elric * mech/gss_krb5.c: Add gsskrb5_set_dns_canonlize. 1028 1.1 elric 1029 1.1 elric * gssapi/gssapi_krb5.h: remove gss_krb5_compat_des3_mic 1030 1.1 elric 1031 1.1 elric * gssapi/gssapi_krb5.h: Add gsskrb5_set_dns_canonlize. 1032 1.1 elric 1033 1.1 elric * krb5/set_sec_context_option.c: implement 1034 1.1 elric GSS_KRB5_SET_DNS_CANONIZE_X 1035 1.1 elric 1036 1.1 elric * gssapi/gssapi_krb5.h: add GSS_KRB5_SET_DNS_CANONIZE_X 1037 1.1 elric 1038 1.1 elric * krb5/external.c: add GSS_KRB5_SET_DNS_CANONIZE_X 1039 1.1 elric 1040 1.1 elric * mech/gss_krb5.c: add bits to make lucid context work 1041 1.1 elric 1042 1.1 elric 2006-10-14 Love Hrnquist strand <lha (a] it.su.se> 1043 1.1 elric 1044 1.1 elric * mech/gss_oid_to_str.c: Prefix der primitives with der_. 1045 1.1 elric 1046 1.1 elric * krb5/inquire_sec_context_by_oid.c: Prefix der primitives with 1047 1.1 elric der_. 1048 1.1 elric 1049 1.1 elric * krb5/encapsulate.c: Prefix der primitives with der_. 1050 1.1 elric 1051 1.1 elric * mech/gss_oid_to_str.c: New der_print_heim_oid signature. 1052 1.1 elric 1053 1.1 elric 2006-10-12 Love Hrnquist strand <lha (a] it.su.se> 1054 1.1 elric 1055 1.1 elric * Makefile.am: add test_context 1056 1.1 elric 1057 1.1 elric * krb5/inquire_sec_context_by_oid.c: Make it work. 1058 1.1 elric 1059 1.1 elric * test_oid.c: Test lucid oid. 1060 1.1 elric 1061 1.1 elric * gssapi/gssapi.h: Add OM_uint64_t. 1062 1.1 elric 1063 1.1 elric * krb5/inquire_sec_context_by_oid.c: Add lucid interface. 1064 1.1 elric 1065 1.1 elric * krb5/external.c: Add lucid interface, renumber oids to my 1066 1.1 elric delegated space. 1067 1.1 elric 1068 1.1 elric * mech/gss_krb5.c: Add lucid interface. 1069 1.1 elric 1070 1.1 elric * gssapi/gssapi_krb5.h: Add lucid interface. 1071 1.1 elric 1072 1.1 elric * spnego/spnego_locl.h: Maybe include <netdb.h>. 1073 1.1 elric 1074 1.1 elric 2006-10-09 Love Hrnquist strand <lha (a] it.su.se> 1075 1.1 elric 1076 1.1 elric * mech/gss_mech_switch.c: define RTLD_LOCAL to 0 if not defined. 1077 1.1 elric 1078 1.1 elric 2006-10-08 Love Hrnquist strand <lha (a] it.su.se> 1079 1.1 elric 1080 1.1 elric * Makefile.am: install gssapi_krb5.H and gssapi_spnego.h 1081 1.1 elric 1082 1.1 elric * gssapi/gssapi_krb5.h: Move krb5 stuff to <gssapi/gssapi_krb5.h>. 1083 1.1 elric 1084 1.1 elric * gssapi/gssapi.h: Move krb5 stuff to <gssapi/gssapi_krb5.h>. 1085 1.1 elric 1086 1.1 elric * Makefile.am: Drop some -I no longer needed. 1087 1.1 elric 1088 1.1 elric * gssapi/gssapi_spnego.h: Move gssapi_spengo.h over here. 1089 1.1 elric 1090 1.1 elric * krb5: reference all include files using 'krb5/' 1091 1.1 elric 1092 1.1 elric 2006-10-07 Love Hrnquist strand <lha (a] it.su.se> 1093 1.1 elric 1094 1.1 elric * gssapi.h: Add file inclusion protection. 1095 1.1 elric 1096 1.1 elric * gssapi/gssapi.h: Correct header file inclusion protection. 1097 1.1 elric 1098 1.1 elric * gssapi/gssapi.h: Move the gssapi.h from lib/gssapi/ to 1099 1.1 elric lib/gssapi/gssapi/ to please automake. 1100 1.1 elric 1101 1.1 elric * spnego/spnego_locl.h: Maybe include <sys/types.h>. 1102 1.1 elric 1103 1.1 elric * mech/mech_locl.h: Include <roken.h>. 1104 1.1 elric 1105 1.1 elric * Makefile.am: split build files into dist_ and noinst_ SOURCES 1106 1.1 elric 1107 1.1 elric 2006-10-06 Love Hrnquist strand <lha (a] it.su.se> 1108 1.1 elric 1109 1.1 elric * gss.c: #if 0 out unused code. 1110 1.1 elric 1111 1.1 elric * mech/gss_mech_switch.c: Cast argument to ctype(3) functions 1112 1.1 elric to (unsigned char). 1113 1.1 elric 1114 1.1 elric 2006-10-05 Love Hrnquist strand <lha (a] it.su.se> 1115 1.1 elric 1116 1.1 elric * mech/name.h: remove <sys/queue.h> 1117 1.1 elric 1118 1.1 elric * mech/mech_switch.h: remove <sys/queue.h> 1119 1.1 elric 1120 1.1 elric * mech/cred.h: remove <sys/queue.h> 1121 1.1 elric 1122 1.1 elric 2006-10-02 Love Hrnquist strand <lha (a] it.su.se> 1123 1.1 elric 1124 1.1 elric * krb5/arcfour.c: Thinker more with header lengths. 1125 1.1 elric 1126 1.1 elric * krb5/arcfour.c: Improve the calcucation of header 1127 1.1 elric lengths. DCE-STYLE data is also padded so remove if (1 || ...) 1128 1.1 elric code. 1129 1.1 elric 1130 1.1 elric * krb5/wrap.c (_gsskrb5_wrap_size_limit): use 1131 1.1 elric _gssapi_wrap_size_arcfour for arcfour 1132 1.1 elric 1133 1.1 elric * krb5/arcfour.c: Move _gssapi_wrap_size_arcfour here. 1134 1.1 elric 1135 1.1 elric * Makefile.am: Split all mech to diffrent mechsrc variables. 1136 1.1 elric 1137 1.1 elric * spnego/context_stubs.c: Make internal function static (and 1138 1.1 elric rename). 1139 1.1 elric 1140 1.1 elric 2006-10-01 Love Hrnquist strand <lha (a] it.su.se> 1141 1.1 elric 1142 1.1 elric * krb5/inquire_cred.c: Fix "if (x) lock(y)" bug. From Harald 1143 1.1 elric Barth. 1144 1.1 elric 1145 1.1 elric * spnego/spnego_locl.h: Include <sys/param.h> for MAXHOSTNAMELEN. 1146 1.1 elric 1147 1.1 elric 2006-09-25 Love Hrnquist strand <lha (a] it.su.se> 1148 1.1 elric 1149 1.1 elric * krb5/arcfour.c: Add wrap support, interrop with itself but not 1150 1.1 elric w2k3s-sp1 1151 1.1 elric 1152 1.1 elric * krb5/gsskrb5_locl.h: move the arcfour specific stuff to the 1153 1.1 elric arcfour header. 1154 1.1 elric 1155 1.1 elric * krb5/arcfour.c: Support DCE-style unwrap, tested with 1156 1.1 elric w2k3server-sp1. 1157 1.1 elric 1158 1.1 elric * mech/gss_accept_sec_context.c (gss_accept_sec_context): if the 1159 1.1 elric token doesn't start with [APPLICATION 0] SEQUENCE, lets assume its 1160 1.1 elric a DCE-style kerberos 5 connection. XXX this needs to be made 1161 1.1 elric better in cause we get another GSS-API protocol violating 1162 1.1 elric protocol. It should be possible to detach the Kerberos DCE-style 1163 1.1 elric since it starts with a AP-REQ PDU, but that have to wait for now. 1164 1.1 elric 1165 1.1 elric 2006-09-22 Love Hrnquist strand <lha (a] it.su.se> 1166 1.1 elric 1167 1.1 elric * gssapi.h: Add GSS_C flags from 1168 1.1 elric draft-brezak-win2k-krb-rc4-hmac-04.txt. 1169 1.1 elric 1170 1.1 elric * krb5/delete_sec_context.c: Free service_keyblock and fwd_data, 1171 1.1 elric indent. 1172 1.1 elric 1173 1.1 elric * krb5/accept_sec_context.c: Merge of the acceptor part from the 1174 1.1 elric samba patch by Stefan Metzmacher and Andrew Bartlet. 1175 1.1 elric 1176 1.1 elric * krb5/init_sec_context.c: Add GSS_C_DCE_STYLE. 1177 1.1 elric 1178 1.1 elric * krb5/{init_sec_context.c,gsskrb5_locl.h}: merge most of the 1179 1.1 elric initiator part from the samba patch by Stefan Metzmacher and 1180 1.1 elric Andrew Bartlet (still missing DCE/RPC support) 1181 1.1 elric 1182 1.1 elric 2006-08-28 Love Hrnquist strand <lha (a] it.su.se> 1183 1.1 elric 1184 1.1 elric * gss.c (help): use sl_slc_help(). 1185 1.1 elric 1186 1.1 elric 2006-07-22 Love Hrnquist strand <lha (a] it.su.se> 1187 1.1 elric 1188 1.1 elric * gss-commands.in: rename command to supported-mechanisms 1189 1.1 elric 1190 1.1 elric * Makefile.am: Make gss objects depend on the slc built 1191 1.1 elric gss-commands.h 1192 1.1 elric 1193 1.1 elric 2006-07-20 Love Hrnquist strand <lha (a] it.su.se> 1194 1.1 elric 1195 1.1 elric * gss-commands.in: add slc commands for gss 1196 1.1 elric 1197 1.1 elric * krb5/gsskrb5_locl.h: Remove dup prototype of _gsskrb5_init() 1198 1.1 elric 1199 1.1 elric * Makefile.am: Add test_cfx 1200 1.1 elric 1201 1.1 elric * krb5/external.c: add GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X 1202 1.1 elric 1203 1.1 elric * krb5/set_sec_context_option.c: catch 1204 1.1 elric GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X 1205 1.1 elric 1206 1.1 elric * krb5/accept_sec_context.c: reimplement 1207 1.1 elric gsskrb5_register_acceptor_identity 1208 1.1 elric 1209 1.1 elric * mech/gss_krb5.c: implement gsskrb5_register_acceptor_identity 1210 1.1 elric 1211 1.1 elric * mech/gss_inquire_mechs_for_name.c: call _gss_load_mech 1212 1.1 elric 1213 1.1 elric * mech/gss_inquire_cred.c (gss_inquire_cred): call _gss_load_mech 1214 1.1 elric 1215 1.1 elric * mech/gss_mech_switch.c: Make _gss_load_mech() atomic and run 1216 1.1 elric only once, this have the side effect that _gss_mechs and 1217 1.1 elric _gss_mech_oids is only initialized once, so if just the users of 1218 1.1 elric these two global variables calls _gss_load_mech() first, it will 1219 1.1 elric act as a barrier and make sure the variables are never changed and 1220 1.1 elric we don't need to lock them. 1221 1.1 elric 1222 1.1 elric * mech/utils.h: no need to mark functions extern. 1223 1.1 elric 1224 1.1 elric * mech/name.h: no need to mark _gss_find_mn extern. 1225 1.1 elric 1226 1.1 elric 2006-07-19 Love Hrnquist strand <lha (a] it.su.se> 1227 1.1 elric 1228 1.1 elric * krb5/cfx.c: Redo the wrap length calculations. 1229 1.1 elric 1230 1.1 elric * krb5/test_cfx.c: test max_wrap_size in cfx.c 1231 1.1 elric 1232 1.1 elric * mech/gss_display_status.c: Handle more error codes. 1233 1.1 elric 1234 1.1 elric 2006-07-07 Love Hrnquist strand <lha (a] it.su.se> 1235 1.1 elric 1236 1.1 elric * mech/mech_locl.h: Include <krb5-types.h> and "mechqueue.h" 1237 1.1 elric 1238 1.1 elric * mech/mechqueue.h: Add SLIST macros. 1239 1.1 elric 1240 1.1 elric * krb5/inquire_context.c: Don't free return values on success. 1241 1.1 elric 1242 1.1 elric * krb5/inquire_cred.c (_gsskrb5_inquire_cred): When cred provided 1243 1.1 elric is the default cred, acquire the acceptor cred and initator cred 1244 1.1 elric in two diffrent steps and then query them for the information, 1245 1.1 elric this way, the code wont fail if there are no keytab, but there is 1246 1.1 elric a credential cache. 1247 1.1 elric 1248 1.1 elric * mech/gss_inquire_cred.c: move the check if we found any cred 1249 1.1 elric where it matter for both cases 1250 1.1 elric (default cred and provided cred) 1251 1.1 elric 1252 1.1 elric * mech/gss_init_sec_context.c: If the desired mechanism can't 1253 1.1 elric convert the name to a MN, fail with GSS_S_BAD_NAME rather then a 1254 1.1 elric NULL de-reference. 1255 1.1 elric 1256 1.1 elric 2006-07-06 Love Hrnquist strand <lha (a] it.su.se> 1257 1.1 elric 1258 1.1 elric * spnego/external.c: readd gss_spnego_inquire_names_for_mech 1259 1.1 elric 1260 1.1 elric * spnego/spnego_locl.h: reimplement 1261 1.1 elric gss_spnego_inquire_names_for_mech add support function 1262 1.1 elric _gss_spnego_supported_mechs 1263 1.1 elric 1264 1.1 elric * spnego/context_stubs.h: reimplement 1265 1.1 elric gss_spnego_inquire_names_for_mech add support function 1266 1.1 elric _gss_spnego_supported_mechs 1267 1.1 elric 1268 1.1 elric * spnego/context_stubs.c: drop gss_spnego_indicate_mechs 1269 1.1 elric 1270 1.1 elric * mech/gss_indicate_mechs.c: if the underlaying mech doesn't 1271 1.1 elric support gss_indicate_mechs, use the oid in the mechswitch 1272 1.1 elric structure 1273 1.1 elric 1274 1.1 elric * spnego/external.c: let the mech glue layer implement 1275 1.1 elric gss_indicate_mechs 1276 1.1 elric 1277 1.1 elric * spnego/cred_stubs.c (gss_spnego_acquire_cred): don't care about 1278 1.1 elric desired_mechs, get our own list with indicate_mechs and remove 1279 1.1 elric ourself. 1280 1.1 elric 1281 1.1 elric 2006-07-05 Love Hrnquist strand <lha (a] it.su.se> 1282 1.1 elric 1283 1.1 elric * spnego/external.c: remove gss_spnego_inquire_names_for_mech, let 1284 1.1 elric the mechglue layer implement it 1285 1.1 elric 1286 1.1 elric * spnego/context_stubs.c: remove gss_spnego_inquire_names_for_mech, let 1287 1.1 elric the mechglue layer implement it 1288 1.1 elric 1289 1.1 elric * spnego/spnego_locl.c: remove gss_spnego_inquire_names_for_mech, let 1290 1.1 elric the mechglue layer implement it 1291 1.1 elric 1292 1.1 elric 2006-07-01 Love Hrnquist strand <lha (a] it.su.se> 1293 1.1 elric 1294 1.1 elric * mech/gss_set_cred_option.c: fix argument to gss_release_cred 1295 1.1 elric 1296 1.1 elric 2006-06-30 Love Hrnquist strand <lha (a] it.su.se> 1297 1.1 elric 1298 1.1 elric * krb5/init_sec_context.c: Make work on compilers that are 1299 1.1 elric somewhat more picky then gcc4 (like gcc2.95) 1300 1.1 elric 1301 1.1 elric * krb5/init_sec_context.c (do_delegation): use KDCOptions2int to 1302 1.1 elric convert fwd_flags to an integer, since otherwise int2KDCOptions in 1303 1.1 elric krb5_get_forwarded_creds wont do the right thing. 1304 1.1 elric 1305 1.1 elric * mech/gss_set_cred_option.c (gss_set_cred_option): free memory on 1306 1.1 elric failure 1307 1.1 elric 1308 1.1 elric * krb5/set_sec_context_option.c (_gsskrb5_set_sec_context_option): 1309 1.1 elric init global kerberos context 1310 1.1 elric 1311 1.1 elric * krb5/set_cred_option.c (_gsskrb5_set_cred_option): init global 1312 1.1 elric kerberos context 1313 1.1 elric 1314 1.1 elric * mech/gss_accept_sec_context.c: Insert the delegated sub cred on 1315 1.1 elric the delegated cred handle, not cred handle 1316 1.1 elric 1317 1.1 elric * mech/gss_accept_sec_context.c (gss_accept_sec_context): handle 1318 1.1 elric the case where ret_flags == NULL 1319 1.1 elric 1320 1.1 elric * mech/gss_mech_switch.c (add_builtin): set 1321 1.1 elric _gss_mech_switch->gm_mech_oid 1322 1.1 elric 1323 1.1 elric * mech/gss_set_cred_option.c (gss_set_cred_option): laod mechs 1324 1.1 elric 1325 1.1 elric * test_cred.c (gss_print_errors): don't try to print error when 1326 1.1 elric gss_display_status failed 1327 1.1 elric 1328 1.1 elric * Makefile.am: Add mech/gss_release_oid.c 1329 1.1 elric 1330 1.1 elric * mech/gss_release_oid.c: Add gss_release_oid, reverse of 1331 1.1 elric gss_duplicate_oid 1332 1.1 elric 1333 1.1 elric * spnego/compat.c: preferred_mech_type was allocated with 1334 1.1 elric gss_duplicate_oid in one place and assigned static varianbles a 1335 1.1 elric the second place. change that static assignement to 1336 1.1 elric gss_duplicate_oid and bring back gss_release_oid. 1337 1.1 elric 1338 1.1 elric * spnego/compat.c (_gss_spnego_delete_sec_context): don't release 1339 1.1 elric preferred_mech_type and negotiated_mech_type, they where never 1340 1.1 elric allocated from the begining. 1341 1.1 elric 1342 1.1 elric 2006-06-29 Love Hrnquist strand <lha (a] it.su.se> 1343 1.1 elric 1344 1.1 elric * mech/gss_import_name.c (gss_import_name): avoid 1345 1.1 elric type-punned/strict aliasing rules 1346 1.1 elric 1347 1.1 elric * mech/gss_add_cred.c: avoid type-punned/strict aliasing rules 1348 1.1 elric 1349 1.1 elric * gssapi.h: Make gss_name_t an opaque type. 1350 1.1 elric 1351 1.1 elric * krb5: make gss_name_t an opaque type 1352 1.1 elric 1353 1.1 elric * krb5/set_cred_option.c: Add 1354 1.1 elric 1355 1.1 elric * mech/gss_set_cred_option.c (gss_set_cred_option): support the 1356 1.1 elric case where *cred_handle == NULL 1357 1.1 elric 1358 1.1 elric * mech/gss_krb5.c (gss_krb5_import_cred): make sure cred is 1359 1.1 elric GSS_C_NO_CREDENTIAL on failure. 1360 1.1 elric 1361 1.1 elric * mech/gss_acquire_cred.c (gss_acquire_cred): if desired_mechs is 1362 1.1 elric NO_OID_SET, there is a need to load the mechs, so always do that. 1363 1.1 elric 1364 1.1 elric 2006-06-28 Love Hrnquist strand <lha (a] it.su.se> 1365 1.1 elric 1366 1.1 elric * krb5/inquire_cred_by_oid.c: Reimplement GSS_KRB5_COPY_CCACHE_X 1367 1.1 elric to instead pass a fullname to the credential, then resolve and 1368 1.1 elric copy out the content, and then close the cred. 1369 1.1 elric 1370 1.1 elric * mech/gss_krb5.c: Reimplement GSS_KRB5_COPY_CCACHE_X to instead 1371 1.1 elric pass a fullname to the credential, then resolve and copy out the 1372 1.1 elric content, and then close the cred. 1373 1.1 elric 1374 1.1 elric * krb5/inquire_cred_by_oid.c: make "work", GSS_KRB5_COPY_CCACHE_X 1375 1.1 elric interface needs to be re-done, currently its utterly broken. 1376 1.1 elric 1377 1.1 elric * mech/gss_set_cred_option.c: Make work. 1378 1.1 elric 1379 1.1 elric * krb5/external.c: Add _gsskrb5_set_{sec_context,cred}_option 1380 1.1 elric 1381 1.1 elric * mech/gss_krb5.c (gss_krb5_import_cred): implement 1382 1.1 elric 1383 1.1 elric * Makefile.am: Add gss_set_{sec_context,cred}_option and sort 1384 1.1 elric 1385 1.1 elric * mech/gss_set_{sec_context,cred}_option.c: add 1386 1.1 elric 1387 1.1 elric * gssapi.h: Add GSS_KRB5_IMPORT_CRED_X 1388 1.1 elric 1389 1.1 elric * test_*.c: make compile again 1390 1.1 elric 1391 1.1 elric * Makefile.am: Add lib dependencies and test programs 1392 1.1 elric 1393 1.1 elric * spnego: remove dependency on libkrb5 1394 1.1 elric 1395 1.1 elric * mech: Bug fixes, cleanup, compiler warnings, restructure code. 1396 1.1 elric 1397 1.1 elric * spnego: Rename gss_context_id_t and gss_cred_id_t to local names 1398 1.1 elric 1399 1.1 elric * krb5: repro copy the krb5 files here 1400 1.1 elric 1401 1.1 elric * mech: import Doug Rabson mechglue from freebsd 1402 1.1 elric 1403 1.1 elric * spnego: Import Luke Howard's SPNEGO from the mechglue branch 1404 1.1 elric 1405 1.1 elric 2006-06-22 Love Hrnquist strand <lha (a] it.su.se> 1406 1.1 elric 1407 1.1 elric * gssapi.h: Add oid_to_str. 1408 1.1 elric 1409 1.1 elric * Makefile.am: add oid_to_str and test_oid 1410 1.1 elric 1411 1.1 elric * oid_to_str.c: Add gss_oid_to_str 1412 1.1 elric 1413 1.1 elric * test_oid.c: Add test for gss_oid_to_str() 1414 1.1 elric 1415 1.1 elric 2006-05-13 Love Hrnquist strand <lha (a] it.su.se> 1416 1.1 elric 1417 1.1 elric * verify_mic.c: Less pointer signedness warnings. 1418 1.1 elric 1419 1.1 elric * unwrap.c: Less pointer signedness warnings. 1420 1.1 elric 1421 1.1 elric * arcfour.c: Less pointer signedness warnings. 1422 1.1 elric 1423 1.1 elric * gssapi_locl.h: Use const void * to instead of unsigned char * to 1424 1.1 elric avoid pointer signedness warnings. 1425 1.1 elric 1426 1.1 elric * encapsulate.c: Use const void * to instead of unsigned char * to 1427 1.1 elric avoid pointer signedness warnings. 1428 1.1 elric 1429 1.1 elric * decapsulate.c: Use const void * to instead of unsigned char * to 1430 1.1 elric avoid pointer signedness warnings. 1431 1.1 elric 1432 1.1 elric * decapsulate.c: Less pointer signedness warnings. 1433 1.1 elric 1434 1.1 elric * cfx.c: Less pointer signedness warnings. 1435 1.1 elric 1436 1.1 elric * init_sec_context.c: Less pointer signedness warnings (partly by 1437 1.1 elric using the new asn.1 CHOICE decoder) 1438 1.1 elric 1439 1.1 elric * import_sec_context.c: Less pointer signedness warnings. 1440 1.1 elric 1441 1.1 elric 2006-05-09 Love Hrnquist strand <lha (a] it.su.se> 1442 1.1 elric 1443 1.1 elric * accept_sec_context.c (gsskrb5_is_cfx): always set is_cfx. From 1444 1.1 elric Andrew Abartlet. 1445 1.1 elric 1446 1.1 elric 2006-05-08 Love Hrnquist strand <lha (a] it.su.se> 1447 1.1 elric 1448 1.1 elric * get_mic.c (mic_des3): make sure message_buffer doesn't point to 1449 1.1 elric free()ed memory on failure. Pointed out by IBM checker. 1450 1.1 elric 1451 1.1 elric 2006-05-05 Love Hrnquist strand <lha (a] it.su.se> 1452 1.1 elric 1453 1.1 elric * Rename u_intXX_t to uintXX_t 1454 1.1 elric 1455 1.1 elric 2006-05-04 Love Hrnquist strand <lha (a] it.su.se> 1456 1.1 elric 1457 1.1 elric * cfx.c: Less pointer signedness warnings. 1458 1.1 elric 1459 1.1 elric * arcfour.c: Avoid pointer signedness warnings. 1460 1.1 elric 1461 1.1 elric * gssapi_locl.h (gssapi_decode_*): make data argument const void * 1462 1.1 elric 1463 1.1 elric * 8003.c (gssapi_decode_*): make data argument const void * 1464 1.1 elric 1465 1.1 elric 2006-04-12 Love Hrnquist strand <lha (a] it.su.se> 1466 1.1 elric 1467 1.1 elric * export_sec_context.c: Export sequence order element. From Wynn 1468 1.1 elric Wilkes <wynn.wilkes (a] quest.com>. 1469 1.1 elric 1470 1.1 elric * import_sec_context.c: Import sequence order element. From Wynn 1471 1.1 elric Wilkes <wynn.wilkes (a] quest.com>. 1472 1.1 elric 1473 1.1 elric * sequence.c (_gssapi_msg_order_import,_gssapi_msg_order_export): 1474 1.1 elric New functions, used by {import,export}_sec_context. From Wynn 1475 1.1 elric Wilkes <wynn.wilkes (a] quest.com>. 1476 1.1 elric 1477 1.1 elric * test_sequence.c: Add test for import/export sequence. 1478 1.1 elric 1479 1.1 elric 2006-04-09 Love Hrnquist strand <lha (a] it.su.se> 1480 1.1 elric 1481 1.1 elric * add_cred.c: Check that cred != GSS_C_NO_CREDENTIAL, this is a 1482 1.1 elric standard conformance failure, but much better then a crash. 1483 1.1 elric 1484 1.1 elric 2006-04-02 Love Hrnquist strand <lha (a] it.su.se> 1485 1.1 elric 1486 1.1 elric * get_mic.c (get_mic*)_: make sure message_token is cleaned on 1487 1.1 elric error, found by IBM checker. 1488 1.1 elric 1489 1.1 elric * wrap.c (wrap*): Reset output_buffer on error, found by IBM 1490 1.1 elric checker. 1491 1.1 elric 1492 1.1 elric 2006-02-15 Love Hrnquist strand <lha (a] it.su.se> 1493 1.1 elric 1494 1.1 elric * import_name.c: Accept both GSS_C_NT_HOSTBASED_SERVICE and 1495 1.1 elric GSS_C_NT_HOSTBASED_SERVICE_X as nametype for hostbased names. 1496 1.1 elric 1497 1.1 elric 2006-01-16 Love Hrnquist strand <lha (a] it.su.se> 1498 1.1 elric 1499 1.1 elric * delete_sec_context.c (gss_delete_sec_context): if the context 1500 1.1 elric handle is GSS_C_NO_CONTEXT, don't fall over. 1501 1.1 elric 1502 1.1 elric 2005-12-12 Love Hrnquist strand <lha (a] it.su.se> 1503 1.1 elric 1504 1.1 elric * gss_acquire_cred.3: Replace gss_krb5_import_ccache with 1505 1.1 elric gss_krb5_import_cred and add more references 1506 1.1 elric 1507 1.1 elric 2005-12-05 Love Hrnquist strand <lha (a] it.su.se> 1508 1.1 elric 1509 1.1 elric * gssapi.h: Change gss_krb5_import_ccache to gss_krb5_import_cred, 1510 1.1 elric it can handle keytabs too. 1511 1.1 elric 1512 1.1 elric * add_cred.c (gss_add_cred): avoid deadlock 1513 1.1 elric 1514 1.1 elric * context_time.c (gssapi_lifetime_left): define the 0 lifetime as 1515 1.1 elric GSS_C_INDEFINITE. 1516 1.1 elric 1517 1.1 elric 2005-12-01 Love Hrnquist strand <lha (a] it.su.se> 1518 1.1 elric 1519 1.1 elric * acquire_cred.c (acquire_acceptor_cred): only check if principal 1520 1.1 elric exists if we got called with principal as an argument. 1521 1.1 elric 1522 1.1 elric * acquire_cred.c (acquire_acceptor_cred): check that the acceptor 1523 1.1 elric exists in the keytab before returning ok. 1524 1.1 elric 1525 1.1 elric 2005-11-29 Love Hrnquist strand <lha (a] it.su.se> 1526 1.1 elric 1527 1.1 elric * copy_ccache.c (gss_krb5_import_cred): fix buglet, from Andrew 1528 1.1 elric Bartlett. 1529 1.1 elric 1530 1.1 elric 2005-11-25 Love Hrnquist strand <lha (a] it.su.se> 1531 1.1 elric 1532 1.1 elric * test_kcred.c: Rename gss_krb5_import_ccache to 1533 1.1 elric gss_krb5_import_cred. 1534 1.1 elric 1535 1.1 elric * copy_ccache.c: Rename gss_krb5_import_ccache to 1536 1.1 elric gss_krb5_import_cred and let it grow code to handle keytabs too. 1537 1.1 elric 1538 1.1 elric 2005-11-02 Love Hrnquist strand <lha (a] it.su.se> 1539 1.1 elric 1540 1.1 elric * init_sec_context.c: Change sematics of ok-as-delegate to match 1541 1.1 elric windows if 1542 1.1 elric [gssapi]realm/ok-as-delegate=true is set, otherwise keep old 1543 1.1 elric sematics. 1544 1.1 elric 1545 1.1 elric * release_cred.c (gss_release_cred): use 1546 1.1 elric GSS_CF_DESTROY_CRED_ON_RELEASE to decide if the cache should be 1547 1.1 elric krb5_cc_destroy-ed 1548 1.1 elric 1549 1.1 elric * acquire_cred.c (acquire_initiator_cred): 1550 1.1 elric GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials. 1551 1.1 elric 1552 1.1 elric * accept_sec_context.c (gsskrb5_accept_delegated_token): rewrite 1553 1.1 elric to use gss_krb5_import_ccache 1554 1.1 elric 1555 1.1 elric 2005-11-01 Love Hrnquist strand <lha (a] it.su.se> 1556 1.1 elric 1557 1.1 elric * arcfour.c: Remove signedness warnings. 1558 1.1 elric 1559 1.1 elric 2005-10-31 Love Hrnquist strand <lha (a] it.su.se> 1560 1.1 elric 1561 1.1 elric * gss_acquire_cred.3: Document that gss_krb5_import_ccache is copy 1562 1.1 elric by reference. 1563 1.1 elric 1564 1.1 elric * copy_ccache.c (gss_krb5_import_ccache): Instead of making a copy 1565 1.1 elric of the ccache, make a reference by getting the name and resolving 1566 1.1 elric the name. This way the cache is shared, this flipp side is of 1567 1.1 elric course that if someone calls krb5_cc_destroy the cache is lost for 1568 1.1 elric everyone. 1569 1.1 elric 1570 1.1 elric * test_kcred.c: Remove memory leaks. 1571 1.1 elric 1572 1.1 elric 2005-10-26 Love Hrnquist strand <lha (a] it.su.se> 1573 1.1 elric 1574 1.1 elric * Makefile.am: build test_kcred 1575 1.1 elric 1576 1.1 elric * gss_acquire_cred.3: Document gss_krb5_import_ccache 1577 1.1 elric 1578 1.1 elric * gssapi.3: Sort and add gss_krb5_import_ccache. 1579 1.1 elric 1580 1.1 elric * acquire_cred.c (_gssapi_krb5_ccache_lifetime): break out code 1581 1.1 elric used to extract lifetime from a credential cache 1582 1.1 elric 1583 1.1 elric * gssapi_locl.h: Add _gssapi_krb5_ccache_lifetime, used to extract 1584 1.1 elric lifetime from a credential cache. 1585 1.1 elric 1586 1.1 elric * gssapi.h: add gss_krb5_import_ccache, reverse of 1587 1.1 elric gss_krb5_copy_ccache 1588 1.1 elric 1589 1.1 elric * copy_ccache.c: add gss_krb5_import_ccache, reverse of 1590 1.1 elric gss_krb5_copy_ccache 1591 1.1 elric 1592 1.1 elric * test_kcred.c: test gss_krb5_import_ccache 1593 1.1 elric 1594 1.1 elric 2005-10-21 Love Hrnquist strand <lha (a] it.su.se> 1595 1.1 elric 1596 1.1 elric * acquire_cred.c (acquire_initiator_cred): use krb5_cc_cache_match 1597 1.1 elric to find a matching creditial cache, if that failes, fallback to 1598 1.1 elric the default cache. 1599 1.1 elric 1600 1.1 elric 2005-10-12 Love Hrnquist strand <lha (a] it.su.se> 1601 1.1 elric 1602 1.1 elric * gssapi_locl.h: Add gssapi_krb5_set_status and 1603 1.1 elric gssapi_krb5_clear_status 1604 1.1 elric 1605 1.1 elric * init_sec_context.c (spnego_reply): Don't pass back raw Kerberos 1606 1.1 elric errors, use GSS-API errors instead. From Michael B Allen. 1607 1.1 elric 1608 1.1 elric * display_status.c: Add gssapi_krb5_clear_status, 1609 1.1 elric gssapi_krb5_set_status for handling error messages. 1610 1.1 elric 1611 1.1 elric 2005-08-23 Love Hrnquist strand <lha (a] it.su.se> 1612 1.1 elric 1613 1.1 elric * external.c: Use rk_UNCONST to avoid const warning. 1614 1.1 elric 1615 1.1 elric * display_status.c: Constify strings to avoid warnings. 1616 1.1 elric 1617 1.1 elric 2005-08-11 Love Hrnquist strand <lha (a] it.su.se> 1618 1.1 elric 1619 1.1 elric * init_sec_context.c: avoid warnings, update (c) 1620 1.1 elric 1621 1.1 elric 2005-07-13 Love Hrnquist strand <lha (a] it.su.se> 1622 1.1 elric 1623 1.1 elric * init_sec_context.c (spnego_initial): use NegotiationToken 1624 1.1 elric encoder now that we have one with the new asn1. compiler. 1625 1.1 elric 1626 1.1 elric * Makefile.am: the new asn.1 compiler includes the modules name in 1627 1.1 elric the depend file 1628 1.1 elric 1629 1.1 elric 2005-06-16 Love Hrnquist strand <lha (a] it.su.se> 1630 1.1 elric 1631 1.1 elric * decapsulate.c: use rk_UNCONST 1632 1.1 elric 1633 1.1 elric * ccache_name.c: rename to avoid shadowing 1634 1.1 elric 1635 1.1 elric * gssapi_locl.h: give kret in GSSAPI_KRB5_INIT a more unique name 1636 1.1 elric 1637 1.1 elric * process_context_token.c: use rk_UNCONST to unconstify 1638 1.1 elric 1639 1.1 elric * test_cred.c: rename optind to optidx 1640 1.1 elric 1641 1.1 elric 2005-05-30 Love Hrnquist strand <lha (a] it.su.se> 1642 1.1 elric 1643 1.1 elric * init_sec_context.c (init_auth): honor ok-as-delegate if local 1644 1.1 elric configuration approves 1645 1.1 elric 1646 1.1 elric * gssapi_locl.h: prototype for _gss_check_compat 1647 1.1 elric 1648 1.1 elric * compat.c: export check_compat as _gss_check_compat 1649 1.1 elric 1650 1.1 elric 2005-05-29 Love Hrnquist strand <lha (a] it.su.se> 1651 1.1 elric 1652 1.1 elric * init_sec_context.c: Prefix Der_class with ASN1_C_ to avoid 1653 1.1 elric problems with system headerfiles that pollute the name space. 1654 1.1 elric 1655 1.1 elric * accept_sec_context.c: Prefix Der_class with ASN1_C_ to avoid 1656 1.1 elric problems with system headerfiles that pollute the name space. 1657 1.1 elric 1658 1.1 elric 2005-05-17 Love Hrnquist strand <lha (a] it.su.se> 1659 1.1 elric 1660 1.1 elric * init_sec_context.c (init_auth): set 1661 1.1 elric KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED (for java compatibility), 1662 1.1 elric also while here, use krb5_auth_con_addflags 1663 1.1 elric 1664 1.1 elric 2005-05-06 Love Hrnquist strand <lha (a] it.su.se> 1665 1.1 elric 1666 1.1 elric * arcfour.c (_gssapi_wrap_arcfour): fix calculating the encap 1667 1.1 elric length. From: Tom Maher <tmaher (a] eecs.berkeley.edu> 1668 1.1 elric 1669 1.1 elric 2005-05-02 Dave Love <fx (a] gnu.org> 1670 1.1 elric 1671 1.1 elric * test_cred.c (main): Call setprogname. 1672 1.1 elric 1673 1.1 elric 2005-04-27 Love Hrnquist strand <lha (a] it.su.se> 1674 1.1 elric 1675 1.1 elric * prefix all sequence symbols with _, they are not part of the 1676 1.1 elric GSS-API api. By comment from Wynn Wilkes <wynnw (a] vintela.com> 1677 1.1 elric 1678 1.1 elric 2005-04-10 Love Hrnquist strand <lha (a] it.su.se> 1679 1.1 elric 1680 1.1 elric * accept_sec_context.c: break out the processing of the delegated 1681 1.1 elric credential to a separate function to make error handling easier, 1682 1.1 elric move the credential handling to after other setup is done 1683 1.1 elric 1684 1.1 elric * test_sequence.c: make less verbose in case of success 1685 1.1 elric 1686 1.1 elric * Makefile.am: add test_sequence to TESTS 1687 1.1 elric 1688 1.1 elric 2005-04-01 Love Hrnquist strand <lha (a] it.su.se> 1689 1.1 elric 1690 1.1 elric * 8003.c (gssapi_krb5_verify_8003_checksum): check that cksum 1691 1.1 elric isn't NULL From: Nicolas Pouvesle <npouvesle (a] tenablesecurity.com> 1692 1.1 elric 1693 1.1 elric 2005-03-21 Love Hrnquist strand <lha (a] it.su.se> 1694 1.1 elric 1695 1.1 elric * Makefile.am: use $(LIB_roken) 1696 1.1 elric 1697 1.1 elric 2005-03-16 Love Hrnquist strand <lha (a] it.su.se> 1698 1.1 elric 1699 1.1 elric * display_status.c (gssapi_krb5_set_error_string): pass in the 1700 1.1 elric krb5_context to krb5_free_error_string 1701 1.1 elric 1702 1.1 elric 2005-03-15 Love Hrnquist strand <lha (a] it.su.se> 1703 1.1 elric 1704 1.1 elric * display_status.c (gssapi_krb5_set_error_string): don't misuse 1705 1.1 elric the krb5_get_error_string api 1706 1.1 elric 1707 1.1 elric 2005-03-01 Love Hrnquist strand <lha (a] it.su.se> 1708 1.1 elric 1709 1.1 elric * compat.c (_gss_DES3_get_mic_compat): don't unlock mutex 1710 1.1 elric here. Bug reported by Stefan Metzmacher <metze (a] samba.org> 1711 1.1 elric 1712 1.1 elric 2005-02-21 Luke Howard <lukeh (a] padl.com> 1713 1.1 elric 1714 1.1 elric * init_sec_context.c: don't call krb5_get_credentials() with 1715 1.1 elric KRB5_TC_MATCH_KEYTYPE, it can lead to the credentials cache 1716 1.1 elric growing indefinitely as no key is found with KEYTYPE_NULL 1717 1.1 elric 1718 1.1 elric * compat.c: remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is 1719 1.1 elric no longer used (however the mechListMIC behaviour is broken, 1720 1.1 elric rfc2478bis support requires the code in the mechglue branch) 1721 1.1 elric 1722 1.1 elric * init_sec_context.c: remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG 1723 1.1 elric 1724 1.1 elric * gssapi.h: remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG 1725 1.1 elric 1726 1.1 elric 2005-01-05 Luke Howard <lukeh (a] padl.com> 1727 1.1 elric 1728 1.1 elric * 8003.c: use symbolic name for checksum type 1729 1.1 elric 1730 1.1 elric * accept_sec_context.c: allow client to indicate 1731 1.1 elric that subkey should be used 1732 1.1 elric 1733 1.1 elric * acquire_cred.c: plug leak 1734 1.1 elric 1735 1.1 elric * get_mic.c: use gss_krb5_get_subkey() instead 1736 1.1 elric of gss_krb5_get_{local,remote}key(), support 1737 1.1 elric KEYTYPE_ARCFOUR_56 1738 1.1 elric 1739 1.1 elric * gssapi_local.c: use gss_krb5_get_subkey(), 1740 1.1 elric support KEYTYPE_ARCFOUR_56 1741 1.1 elric 1742 1.1 elric * import_sec_context.c: plug leak 1743 1.1 elric 1744 1.1 elric * unwrap.c: use gss_krb5_get_subkey(), 1745 1.1 elric support KEYTYPE_ARCFOUR_56 1746 1.1 elric 1747 1.1 elric * verify_mic.c: use gss_krb5_get_subkey(), 1748 1.1 elric support KEYTYPE_ARCFOUR_56 1749 1.1 elric 1750 1.1 elric * wrap.c: use gss_krb5_get_subkey(), 1751 1.1 elric support KEYTYPE_ARCFOUR_56 1752 1.1 elric 1753 1.1 elric 2004-11-30 Love Hrnquist strand <lha (a] it.su.se> 1754 1.1 elric 1755 1.1 elric * inquire_cred.c: Reverse order of HEIMDAL_MUTEX_unlock and 1756 1.1 elric gss_release_cred to avoid deadlock, from Luke Howard 1757 1.1 elric <lukeh (a] padl.com>. 1758 1.1 elric 1759 1.1 elric 2004-09-06 Love Hrnquist strand <lha (a] it.su.se> 1760 1.1 elric 1761 1.1 elric * gss_acquire_cred.3: gss_krb5_extract_authz_data_from_sec_context 1762 1.1 elric was renamed to gsskrb5_extract_authz_data_from_sec_context 1763 1.1 elric 1764 1.1 elric 2004-08-07 Love Hrnquist strand <lha (a] it.su.se> 1765 1.1 elric 1766 1.1 elric * unwrap.c: mutex buglet, From: Luke Howard <lukeh (a] PADL.COM> 1767 1.1 elric 1768 1.1 elric * arcfour.c: mutex buglet, From: Luke Howard <lukeh (a] PADL.COM> 1769 1.1 elric 1770 1.1 elric 2004-05-06 Love Hrnquist strand <lha (a] it.su.se> 1771 1.1 elric 1772 1.1 elric * gssapi.3: spelling from Josef El-Rayes <josef (a] FreeBSD.org> while 1773 1.1 elric here, write some text about the SPNEGO situation 1774 1.1 elric 1775 1.1 elric 2004-04-08 Love Hrnquist strand <lha (a] it.su.se> 1776 1.1 elric 1777 1.1 elric * cfx.c: s/CTXAcceptorSubkey/CFXAcceptorSubkey/ 1778 1.1 elric 1779 1.1 elric 2004-04-07 Love Hrnquist strand <lha (a] it.su.se> 1780 1.1 elric 1781 1.1 elric * gssapi.h: add GSS_C_EXPECTING_MECH_LIST_MIC_FLAG From: Luke 1782 1.1 elric Howard <lukeh (a] padl.com> 1783 1.1 elric 1784 1.1 elric * init_sec_context.c (spnego_reply): use 1785 1.1 elric _gss_spnego_require_mechlist_mic to figure out if we need to check 1786 1.1 elric MechListMIC; From: Luke Howard <lukeh (a] padl.com> 1787 1.1 elric 1788 1.1 elric * accept_sec_context.c (send_accept): use 1789 1.1 elric _gss_spnego_require_mechlist_mic to figure out if we need to send 1790 1.1 elric MechListMIC; From: Luke Howard <lukeh (a] padl.com> 1791 1.1 elric 1792 1.1 elric * gssapi_locl.h: add _gss_spnego_require_mechlist_mic 1793 1.1 elric From: Luke Howard <lukeh (a] padl.com> 1794 1.1 elric 1795 1.1 elric * compat.c: add _gss_spnego_require_mechlist_mic for compatibility 1796 1.1 elric with MS SPNEGO, From: Luke Howard <lukeh (a] padl.com> 1797 1.1 elric 1798 1.1 elric 2004-04-05 Love Hrnquist strand <lha (a] it.su.se> 1799 1.1 elric 1800 1.1 elric * accept_sec_context.c (gsskrb5_is_cfx): krb5_keyblock->keytype is 1801 1.1 elric an enctype, not keytype 1802 1.1 elric 1803 1.1 elric * accept_sec_context.c: use ASN1_MALLOC_ENCODE 1804 1.1 elric 1805 1.1 elric * init_sec_context.c: avoid the malloc loop and just allocate the 1806 1.1 elric propper amount of data 1807 1.1 elric 1808 1.1 elric * init_sec_context.c (spnego_initial): handle mech_token better 1809 1.1 elric 1810 1.1 elric 2004-03-19 Love Hrnquist strand <lha (a] it.su.se> 1811 1.1 elric 1812 1.1 elric * gssapi.h: add gss_krb5_get_tkt_flags 1813 1.1 elric 1814 1.1 elric * Makefile.am: add ticket_flags.c 1815 1.1 elric 1816 1.1 elric * ticket_flags.c: Get ticket-flags from acceptor ticket From: Luke 1817 1.1 elric Howard <lukeh (a] PADL.COM> 1818 1.1 elric 1819 1.1 elric * gss_acquire_cred.3: document gss_krb5_get_tkt_flags 1820 1.1 elric 1821 1.1 elric 2004-03-14 Love Hrnquist strand <lha (a] it.su.se> 1822 1.1 elric 1823 1.1 elric * acquire_cred.c (gss_acquire_cred): check usage before even 1824 1.1 elric bothering to process it, add both keytab and initial tgt if 1825 1.1 elric requested 1826 1.1 elric 1827 1.1 elric * wrap.c: support cfx, try to handle acceptor asserted subkey 1828 1.1 elric 1829 1.1 elric * unwrap.c: support cfx, try to handle acceptor asserted subkey 1830 1.1 elric 1831 1.1 elric * verify_mic.c: support cfx 1832 1.1 elric 1833 1.1 elric * get_mic.c: support cfx 1834 1.1 elric 1835 1.1 elric * test_sequence.c: handle changed signature of 1836 1.1 elric gssapi_msg_order_create 1837 1.1 elric 1838 1.1 elric * import_sec_context.c: handle acceptor asserted subkey 1839 1.1 elric 1840 1.1 elric * init_sec_context.c: handle acceptor asserted subkey 1841 1.1 elric 1842 1.1 elric * accept_sec_context.c: handle acceptor asserted subkey 1843 1.1 elric 1844 1.1 elric * sequence.c: add dummy use_64 argument to gssapi_msg_order_create 1845 1.1 elric 1846 1.1 elric * gssapi_locl.h: add partial support for CFX 1847 1.1 elric 1848 1.1 elric * Makefile.am (noinst_PROGRAMS) += test_cred 1849 1.1 elric 1850 1.1 elric * test_cred.c: gssapi credential testing 1851 1.1 elric 1852 1.1 elric * test_acquire_cred.c: fix comment 1853 1.1 elric 1854 1.1 elric 2004-03-07 Love Hrnquist strand <lha (a] it.su.se> 1855 1.1 elric 1856 1.1 elric * arcfour.h: drop structures for message formats, no longer used 1857 1.1 elric 1858 1.1 elric * arcfour.c: comment describing message formats 1859 1.1 elric 1860 1.1 elric * accept_sec_context.c (spnego_accept_sec_context): make sure the 1861 1.1 elric length of the choice element doesn't overrun us 1862 1.1 elric 1863 1.1 elric * init_sec_context.c (spnego_reply): make sure the length of the 1864 1.1 elric choice element doesn't overrun us 1865 1.1 elric 1866 1.1 elric * spnego.asn1: move NegotiationToken to avoid warning 1867 1.1 elric 1868 1.1 elric * spnego.asn1: uncomment NegotiationToken 1869 1.1 elric 1870 1.1 elric * Makefile.am: spnego_files += asn1_NegotiationToken.x 1871 1.1 elric 1872 1.1 elric 2004-01-25 Love Hrnquist strand <lha (a] it.su.se> 1873 1.1 elric 1874 1.1 elric * gssapi.h: add gss_krb5_ccache_name 1875 1.1 elric 1876 1.1 elric * Makefile.am (libgssapi_la_SOURCES): += ccache_name.c 1877 1.1 elric 1878 1.1 elric * ccache_name.c (gss_krb5_ccache_name): help function enable to 1879 1.1 elric set krb5 name, using out_name argument makes function no longer 1880 1.1 elric thread-safe 1881 1.1 elric 1882 1.1 elric * gssapi.3: add missing gss_krb5_ references 1883 1.1 elric 1884 1.1 elric * gss_acquire_cred.3: document gss_krb5_ccache_name 1885 1.1 elric 1886 1.1 elric 2003-12-12 Love Hrnquist strand <lha (a] it.su.se> 1887 1.1 elric 1888 1.1 elric * cfx.c: make rrc a modulus operation if its longer then the 1889 1.1 elric length of the message, noticed by Sam Hartman 1890 1.1 elric 1891 1.1 elric 2003-12-07 Love Hrnquist strand <lha (a] it.su.se> 1892 1.1 elric 1893 1.1 elric * accept_sec_context.c: use krb5_auth_con_addflags 1894 1.1 elric 1895 1.1 elric 2003-12-05 Love Hrnquist strand <lha (a] it.su.se> 1896 1.1 elric 1897 1.1 elric * cfx.c: Wrap token id was in wrong order, found by Sam Hartman 1898 1.1 elric 1899 1.1 elric 2003-12-04 Love Hrnquist strand <lha (a] it.su.se> 1900 1.1 elric 1901 1.1 elric * cfx.c: add AcceptorSubkey (but no code understand it yet) ignore 1902 1.1 elric unknown token flags 1903 1.1 elric 1904 1.1 elric 2003-11-22 Love Hrnquist strand <lha (a] it.su.se> 1905 1.1 elric 1906 1.1 elric * accept_sec_context.c: Don't require timestamp to be set on 1907 1.1 elric delegated token, its already protected by the outer token (and 1908 1.1 elric windows doesn't alway send it) Pointed out by Zi-Bin Yang 1909 1.1 elric <zbyang (a] decru.com> on heimdal-discuss 1910 1.1 elric 1911 1.1 elric 2003-11-14 Love Hrnquist strand <lha (a] it.su.se> 1912 1.1 elric 1913 1.1 elric * cfx.c: fix {} error, pointed out by Liqiang Zhu 1914 1.1 elric 1915 1.1 elric 2003-11-10 Love Hrnquist strand <lha (a] it.su.se> 1916 1.1 elric 1917 1.1 elric * cfx.c: Sequence number should be stored in bigendian order From: 1918 1.1 elric Luke Howard <lukeh (a] padl.com> 1919 1.1 elric 1920 1.1 elric 2003-11-09 Love Hrnquist strand <lha (a] it.su.se> 1921 1.1 elric 1922 1.1 elric * delete_sec_context.c (gss_delete_sec_context): don't free 1923 1.1 elric ticket, krb5_free_ticket does that now 1924 1.1 elric 1925 1.1 elric 2003-11-06 Love Hrnquist strand <lha (a] it.su.se> 1926 1.1 elric 1927 1.1 elric * cfx.c: checksum the header last in MIC token, update to -03 1928 1.1 elric From: Luke Howard <lukeh (a] padl.com> 1929 1.1 elric 1930 1.1 elric 2003-10-07 Love Hrnquist strand <lha (a] it.su.se> 1931 1.1 elric 1932 1.1 elric * add_cred.c: If its a MEMORY cc, make a copy. We need to do this 1933 1.1 elric since now gss_release_cred will destroy the cred. This should be 1934 1.1 elric really be solved a better way. 1935 1.1 elric 1936 1.1 elric * acquire_cred.c (gss_release_cred): if its a mcc, destroy it 1937 1.1 elric rather the just release it Found by: "Zi-Bin Yang" 1938 1.1 elric <zbyang (a] decru.com> 1939 1.1 elric 1940 1.1 elric * acquire_cred.c (acquire_initiator_cred): use kret instead of ret 1941 1.1 elric where appropriate 1942 1.1 elric 1943 1.1 elric 2003-09-30 Love Hrnquist strand <lha (a] it.su.se> 1944 1.1 elric 1945 1.1 elric * gss_acquire_cred.3: spelling 1946 1.1 elric From: jmc <jmc (a] prioris.mini.pw.edu.pl> 1947 1.1 elric 1948 1.1 elric 2003-09-23 Love Hrnquist strand <lha (a] it.su.se> 1949 1.1 elric 1950 1.1 elric * cfx.c: - EC and RRC are big-endian, not little-endian - The 1951 1.1 elric default is now to rotate regardless of GSS_C_DCE_STYLE. There are 1952 1.1 elric no longer any references to GSS_C_DCE_STYLE. - rrc_rotate() 1953 1.1 elric avoids allocating memory on the heap if rrc <= 256 1954 1.1 elric From: Luke Howard <lukeh (a] padl.com> 1955 1.1 elric 1956 1.1 elric 2003-09-22 Love Hrnquist strand <lha (a] it.su.se> 1957 1.1 elric 1958 1.1 elric * cfx.[ch]: rrc_rotate() was untested and broken, fix it. 1959 1.1 elric Set and verify wrap Token->Filler. 1960 1.1 elric Correct token ID for wrap tokens, 1961 1.1 elric were accidentally swapped with delete tokens. 1962 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 1963 1.1 elric 1964 1.1 elric 2003-09-21 Love Hrnquist strand <lha (a] it.su.se> 1965 1.1 elric 1966 1.1 elric * cfx.[ch]: no ASN.1-ish header on per-message tokens 1967 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 1968 1.1 elric 1969 1.1 elric 2003-09-19 Love Hrnquist strand <lha (a] it.su.se> 1970 1.1 elric 1971 1.1 elric * arcfour.h: remove depenency on gss_arcfour_mic_token and 1972 1.1 elric gss_arcfour_warp_token 1973 1.1 elric 1974 1.1 elric * arcfour.c: remove depenency on gss_arcfour_mic_token and 1975 1.1 elric gss_arcfour_warp_token 1976 1.1 elric 1977 1.1 elric 2003-09-18 Love Hrnquist strand <lha (a] it.su.se> 1978 1.1 elric 1979 1.1 elric * 8003.c: remove #if 0'ed code 1980 1.1 elric 1981 1.1 elric 2003-09-17 Love Hrnquist strand <lha (a] it.su.se> 1982 1.1 elric 1983 1.1 elric * accept_sec_context.c (gsskrb5_accept_sec_context): set sequence 1984 1.1 elric number when not requesting mutual auth From: Luke Howard 1985 1.1 elric <lukeh (a] PADL.COM> 1986 1.1 elric 1987 1.1 elric * init_sec_context.c (init_auth): set sequence number when not 1988 1.1 elric requesting mutual auth From: Luke Howard <lukeh (a] PADL.COM> 1989 1.1 elric 1990 1.1 elric 2003-09-16 Love Hrnquist strand <lha (a] it.su.se> 1991 1.1 elric 1992 1.1 elric * arcfour.c (*): set minor_status 1993 1.1 elric (gss_wrap): set conf_state to conf_req_flags on success 1994 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 1995 1.1 elric 1996 1.1 elric * wrap.c (gss_wrap_size_limit): use existing function From: Luke 1997 1.1 elric Howard <lukeh (a] PADL.COM> 1998 1.1 elric 1999 1.1 elric 2003-09-12 Love Hrnquist strand <lha (a] it.su.se> 2000 1.1 elric 2001 1.1 elric * indicate_mechs.c (gss_indicate_mechs): in case of error, free 2002 1.1 elric mech_set 2003 1.1 elric 2004 1.1 elric * indicate_mechs.c (gss_indicate_mechs): add SPNEGO 2005 1.1 elric 2006 1.1 elric 2003-09-10 Love Hrnquist strand <lha (a] it.su.se> 2007 1.1 elric 2008 1.1 elric * init_sec_context.c (spnego_initial): catch errors and return 2009 1.1 elric them 2010 1.1 elric 2011 1.1 elric * init_sec_context.c (spnego_initial): add #if 0 out version of 2012 1.1 elric the CHOICE branch encoding, also where here, free no longer used 2013 1.1 elric memory 2014 1.1 elric 2015 1.1 elric 2003-09-09 Love Hrnquist strand <lha (a] it.su.se> 2016 1.1 elric 2017 1.1 elric * gss_acquire_cred.3: support GSS_SPNEGO_MECHANISM 2018 1.1 elric 2019 1.1 elric * accept_sec_context.c: SPNEGO doesn't include gss wrapping on 2020 1.1 elric SubsequentContextToken like the Kerberos 5 mech does. 2021 1.1 elric 2022 1.1 elric * init_sec_context.c (spnego_reply): SPNEGO doesn't include gss 2023 1.1 elric wrapping on SubsequentContextToken like the Kerberos 5 mech 2024 1.1 elric does. Lets check for it anyway. 2025 1.1 elric 2026 1.1 elric * accept_sec_context.c: Add support for SPNEGO on the initator 2027 1.1 elric side. Implementation initially from Assar Westerlund, passes 2028 1.1 elric though quite a lot of hands before I commited it. 2029 1.1 elric 2030 1.1 elric * init_sec_context.c: Add support for SPNEGO on the initator side. 2031 1.1 elric Tested with ldap server on a Windows 2000 DC. Implementation 2032 1.1 elric initially from Assar Westerlund, passes though quite a lot of 2033 1.1 elric hands before I commited it. 2034 1.1 elric 2035 1.1 elric * gssapi.h: export GSS_SPNEGO_MECHANISM 2036 1.1 elric 2037 1.1 elric * gssapi_locl.h: include spnego_as.h add prototype for 2038 1.1 elric gssapi_krb5_get_mech 2039 1.1 elric 2040 1.1 elric * decapsulate.c (gssapi_krb5_get_mech): make non static 2041 1.1 elric 2042 1.1 elric * Makefile.am: build SPNEGO file 2043 1.1 elric 2044 1.1 elric 2003-09-08 Love Hrnquist strand <lha (a] it.su.se> 2045 1.1 elric 2046 1.1 elric * external.c: SPENGO and IAKERB oids 2047 1.1 elric 2048 1.1 elric * spnego.asn1: SPENGO ASN1 2049 1.1 elric 2050 1.1 elric 2003-09-05 Love Hrnquist strand <lha (a] it.su.se> 2051 1.1 elric 2052 1.1 elric * cfx.c: RRC also need to be zero before wraping them 2053 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 2054 1.1 elric 2055 1.1 elric 2003-09-04 Love Hrnquist strand <lha (a] it.su.se> 2056 1.1 elric 2057 1.1 elric * encapsulate.c (gssapi_krb5_encap_length): don't return void 2058 1.1 elric 2059 1.1 elric 2003-09-03 Love Hrnquist strand <lha (a] it.su.se> 2060 1.1 elric 2061 1.1 elric * verify_mic.c: switch from the des_ to the DES_ api 2062 1.1 elric 2063 1.1 elric * get_mic.c: switch from the des_ to the DES_ api 2064 1.1 elric 2065 1.1 elric * unwrap.c: switch from the des_ to the DES_ api 2066 1.1 elric 2067 1.1 elric * wrap.c: switch from the des_ to the DES_ api 2068 1.1 elric 2069 1.1 elric * cfx.c: EC is not included in the checksum since the length might 2070 1.1 elric change depending on the data. From: Luke Howard <lukeh (a] PADL.COM> 2071 1.1 elric 2072 1.1 elric * acquire_cred.c: use 2073 1.1 elric krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free 2074 1.1 elric 2075 1.1 elric 2003-09-01 Love Hrnquist strand <lha (a] it.su.se> 2076 1.1 elric 2077 1.1 elric * copy_ccache.c: rename 2078 1.1 elric gss_krb5_extract_authz_data_from_sec_context to 2079 1.1 elric gsskrb5_extract_authz_data_from_sec_context 2080 1.1 elric 2081 1.1 elric * gssapi.h: rename gss_krb5_extract_authz_data_from_sec_context to 2082 1.1 elric gsskrb5_extract_authz_data_from_sec_context 2083 1.1 elric 2084 1.1 elric 2003-08-31 Love Hrnquist strand <lha (a] it.su.se> 2085 1.1 elric 2086 1.1 elric * copy_ccache.c (gss_krb5_extract_authz_data_from_sec_context): 2087 1.1 elric check that we have a ticket before we start to use it 2088 1.1 elric 2089 1.1 elric * gss_acquire_cred.3: document 2090 1.1 elric gss_krb5_extract_authz_data_from_sec_context 2091 1.1 elric 2092 1.1 elric * gssapi.h (gss_krb5_extract_authz_data_from_sec_context): 2093 1.1 elric return the kerberos authorizationdata, from idea of Luke Howard 2094 1.1 elric 2095 1.1 elric * copy_ccache.c (gss_krb5_extract_authz_data_from_sec_context): 2096 1.1 elric return the kerberos authorizationdata, from idea of Luke Howard 2097 1.1 elric 2098 1.1 elric * verify_mic.c (gss_verify_mic_internal): switch type and key 2099 1.1 elric argument 2100 1.1 elric 2101 1.1 elric 2003-08-30 Love Hrnquist strand <lha (a] it.su.se> 2102 1.1 elric 2103 1.1 elric * cfx.[ch]: draft-ietf-krb-wg-gssapi-cfx-01.txt implemetation 2104 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 2105 1.1 elric 2106 1.1 elric 2003-08-28 Love Hrnquist strand <lha (a] it.su.se> 2107 1.1 elric 2108 1.1 elric * arcfour.c (arcfour_mic_cksum): use free_Checksum to free the 2109 1.1 elric checksum 2110 1.1 elric 2111 1.1 elric * arcfour.h: swap two last arguments to verify_mic for consistency 2112 1.1 elric with des3 2113 1.1 elric 2114 1.1 elric * wrap.c,unwrap.c,get_mic.c,verify_mic.c,cfx.c,cfx.h: 2115 1.1 elric prefix cfx symbols with _gssapi_ 2116 1.1 elric 2117 1.1 elric * arcfour.c: release the right buffer 2118 1.1 elric 2119 1.1 elric * arcfour.c: rename token structure in consistency with rest of 2120 1.1 elric GSS-API From: Luke Howard <lukeh (a] PADL.COM> 2121 1.1 elric 2122 1.1 elric * unwrap.c (unwrap_des3): use _gssapi_verify_pad 2123 1.1 elric (unwrap_des): use _gssapi_verify_pad 2124 1.1 elric 2125 1.1 elric * arcfour.c (_gssapi_wrap_arcfour): set the correct padding 2126 1.1 elric (_gssapi_unwrap_arcfour): verify and strip padding 2127 1.1 elric 2128 1.1 elric * gssapi_locl.h: added _gssapi_verify_pad 2129 1.1 elric 2130 1.1 elric * decapsulate.c (_gssapi_verify_pad): verify padding of a gss 2131 1.1 elric wrapped message and return its length 2132 1.1 elric 2133 1.1 elric * arcfour.c: support KEYTYPE_ARCFOUR_56 keys, from Luke Howard 2134 1.1 elric <lukeh (a] PADL.COM> 2135 1.1 elric 2136 1.1 elric * arcfour.c: use right seal alg, inherit keytype from parent key 2137 1.1 elric 2138 1.1 elric * arcfour.c: include the confounder in the checksum use the right 2139 1.1 elric key usage number for warped/unwraped tokens 2140 1.1 elric 2141 1.1 elric * gssapi.h: add gss_krb5_nt_general_name as an mit compat glue 2142 1.1 elric (same as GSS_KRB5_NT_PRINCIPAL_NAME) 2143 1.1 elric 2144 1.1 elric * unwrap.c: hook in arcfour unwrap 2145 1.1 elric 2146 1.1 elric * wrap.c: hook in arcfour wrap 2147 1.1 elric 2148 1.1 elric * verify_mic.c: hook in arcfour verify_mic 2149 1.1 elric 2150 1.1 elric * get_mic.c: hook in arcfour get_mic 2151 1.1 elric 2152 1.1 elric * arcfour.c: implement wrap/unwarp 2153 1.1 elric 2154 1.1 elric * gssapi_locl.h: add gssapi_{en,de}code_be_om_uint32 2155 1.1 elric 2156 1.1 elric * 8003.c: add gssapi_{en,de}code_be_om_uint32 2157 1.1 elric 2158 1.1 elric 2003-08-27 Love Hrnquist strand <lha (a] it.su.se> 2159 1.1 elric 2160 1.1 elric * arcfour.c (_gssapi_verify_mic_arcfour): Do the checksum on right 2161 1.1 elric area. Swap filler check, it was reversed. 2162 1.1 elric 2163 1.1 elric * Makefile.am (libgssapi_la_SOURCES): += arcfour.c 2164 1.1 elric 2165 1.1 elric * gssapi_locl.h: include "arcfour.h" 2166 1.1 elric 2167 1.1 elric * arcfour.c: arcfour gss-api mech, get_mic/verify_mic working 2168 1.1 elric 2169 1.1 elric * arcfour.h: arcfour gss-api mech, get_mic/verify_mic working 2170 1.1 elric 2171 1.1 elric 2003-08-26 Love Hrnquist strand <lha (a] it.su.se> 2172 1.1 elric 2173 1.1 elric * gssapi_locl.h: always include cfx.h add prototype for 2174 1.1 elric _gssapi_decapsulate 2175 1.1 elric 2176 1.1 elric * cfx.[ch]: Implementation of draft-ietf-krb-wg-gssapi-cfx-00.txt 2177 1.1 elric from Luke Howard <lukeh (a] PADL.COM> 2178 1.1 elric 2179 1.1 elric * decapsulate.c: add _gssapi_decapsulate, from Luke Howard 2180 1.1 elric <lukeh (a] PADL.COM> 2181 1.1 elric 2182 1.1 elric 2003-08-25 Love Hrnquist strand <lha (a] it.su.se> 2183 1.1 elric 2184 1.1 elric * unwrap.c: encap/decap now takes a oid if the enctype/keytype is 2185 1.1 elric arcfour, return error add hook for cfx 2186 1.1 elric 2187 1.1 elric * verify_mic.c: encap/decap now takes a oid if the enctype/keytype 2188 1.1 elric is arcfour, return error add hook for cfx 2189 1.1 elric 2190 1.1 elric * get_mic.c: encap/decap now takes a oid if the enctype/keytype is 2191 1.1 elric arcfour, return error add hook for cfx 2192 1.1 elric 2193 1.1 elric * accept_sec_context.c: encap/decap now takes a oid 2194 1.1 elric 2195 1.1 elric * init_sec_context.c: encap/decap now takes a oid 2196 1.1 elric 2197 1.1 elric * gssapi_locl.h: include cfx.h if we need it lifetime is a 2198 1.1 elric OM_uint32, depend on gssapi interface add all new encap/decap 2199 1.1 elric functions 2200 1.1 elric 2201 1.1 elric * decapsulate.c: add decap functions that doesn't take the token 2202 1.1 elric type also make all decap function take the oid mech that they 2203 1.1 elric should use 2204 1.1 elric 2205 1.1 elric * encapsulate.c: add encap functions that doesn't take the token 2206 1.1 elric type also make all encap function take the oid mech that they 2207 1.1 elric should use 2208 1.1 elric 2209 1.1 elric * sequence.c (elem_insert): fix a off by one index counter 2210 1.1 elric 2211 1.1 elric * inquire_cred.c (gss_inquire_cred): handle cred_handle being 2212 1.1 elric GSS_C_NO_CREDENTIAL and use the default cred then. 2213 1.1 elric 2214 1.1 elric 2003-08-19 Love Hrnquist strand <lha (a] it.su.se> 2215 1.1 elric 2216 1.1 elric * gss_acquire_cred.3: break out extensions and document 2217 1.1 elric gsskrb5_register_acceptor_identity 2218 1.1 elric 2219 1.1 elric 2003-08-18 Love Hrnquist strand <lha (a] it.su.se> 2220 1.1 elric 2221 1.1 elric * test_acquire_cred.c (print_time): time is returned in seconds 2222 1.1 elric from now, not unix time 2223 1.1 elric 2224 1.1 elric 2003-08-17 Love Hrnquist strand <lha (a] it.su.se> 2225 1.1 elric 2226 1.1 elric * compat.c (check_compat): avoid leaking principal when finding a 2227 1.1 elric match 2228 1.1 elric 2229 1.1 elric * address_to_krb5addr.c: sa_size argument to krb5_addr2sockaddr is 2230 1.1 elric a krb5_socklen_t 2231 1.1 elric 2232 1.1 elric * acquire_cred.c (gss_acquire_cred): 4th argument to 2233 1.1 elric gss_test_oid_set_member is a int 2234 1.1 elric 2235 1.1 elric 2003-07-22 Love Hrnquist strand <lha (a] it.su.se> 2236 1.1 elric 2237 1.1 elric * init_sec_context.c (repl_mutual): don't set kerberos error where 2238 1.1 elric there was no kerberos error 2239 1.1 elric 2240 1.1 elric * gssapi_locl.h: Add destruction/creation prototypes and structure 2241 1.1 elric for the thread specific storage. 2242 1.1 elric 2243 1.1 elric * display_status.c: use thread specific storage to set/get the 2244 1.1 elric kerberos error message 2245 1.1 elric 2246 1.1 elric * init.c: Provide locking around the creation of the global 2247 1.1 elric krb5_context. Add destruction/creation functions for the thread 2248 1.1 elric specific storage that the error string handling is using. 2249 1.1 elric 2250 1.1 elric 2003-07-20 Love Hrnquist strand <lha (a] it.su.se> 2251 1.1 elric 2252 1.1 elric * gss_acquire_cred.3: add missing prototype and missing .Ft 2253 1.1 elric arguments 2254 1.1 elric 2255 1.1 elric 2003-06-17 Love Hrnquist strand <lha (a] it.su.se> 2256 1.1 elric 2257 1.1 elric * verify_mic.c: reorder code so sequence numbers can can be used 2258 1.1 elric 2259 1.1 elric * unwrap.c: reorder code so sequence numbers can can be used 2260 1.1 elric 2261 1.1 elric * sequence.c: remove unused function, indent, add 2262 1.1 elric gssapi_msg_order_f that filter gss flags to gss_msg_order flags 2263 1.1 elric 2264 1.1 elric * gssapi_locl.h: prototypes for 2265 1.1 elric gssapi_{encode_om_uint32,decode_om_uint32} add sequence number 2266 1.1 elric verifier prototypes 2267 1.1 elric 2268 1.1 elric * delete_sec_context.c: destroy sequence number verifier 2269 1.1 elric 2270 1.1 elric * init_sec_context.c: remember to free data use sequence number 2271 1.1 elric verifier 2272 1.1 elric 2273 1.1 elric * accept_sec_context.c: don't clear output_token twice remember to 2274 1.1 elric free data use sequence number verifier 2275 1.1 elric 2276 1.1 elric * 8003.c: export and rename encode_om_uint32/decode_om_uint32 and 2277 1.1 elric start to use them 2278 1.1 elric 2279 1.1 elric 2003-06-09 Johan Danielsson <joda (a] pdc.kth.se> 2280 1.1 elric 2281 1.1 elric * Makefile.am: can't have sequence.c in two different places 2282 1.1 elric 2283 1.1 elric 2003-06-06 Love Hrnquist strand <lha (a] it.su.se> 2284 1.1 elric 2285 1.1 elric * test_sequence.c: check rollover, print summery 2286 1.1 elric 2287 1.1 elric * wrap.c (sub_wrap_size): gss_wrap_size_limit() has 2288 1.1 elric req_output_size and max_input_size around the wrong way -- it 2289 1.1 elric returns the output token size for a given input size, rather than 2290 1.1 elric the maximum input size for a given output token size. 2291 1.1 elric 2292 1.1 elric From: Luke Howard <lukeh (a] PADL.COM> 2293 1.1 elric 2294 1.1 elric 2003-06-05 Love Hrnquist strand <lha (a] it.su.se> 2295 1.1 elric 2296 1.1 elric * gssapi_locl.h: add prototypes for sequence.c 2297 1.1 elric 2298 1.1 elric * Makefile.am (libgssapi_la_SOURCES): add sequence.c 2299 1.1 elric (test_sequence): build 2300 1.1 elric 2301 1.1 elric * sequence.c: sequence number checks, order and replay 2302 1.1 elric * test_sequence.c: sequence number checks, order and replay 2303 1.1 elric 2304 1.1 elric 2003-06-03 Love Hrnquist strand <lha (a] it.su.se> 2305 1.1 elric 2306 1.1 elric * accept_sec_context.c (gss_accept_sec_context): make sure time is 2307 1.1 elric returned in seconds from now, not in kerberos time 2308 1.1 elric 2309 1.1 elric * acquire_cred.c (gss_aquire_cred): make sure time is returned in 2310 1.1 elric seconds from now, not in kerberos time 2311 1.1 elric 2312 1.1 elric * init_sec_context.c (init_auth): if the cred is expired before we 2313 1.1 elric tries to create a token, fail so the peer doesn't need reject us 2314 1.1 elric (*): make sure time is returned in seconds from now, 2315 1.1 elric not in kerberos time 2316 1.1 elric (repl_mutual): remember to unlock the context mutex 2317 1.1 elric 2318 1.1 elric * context_time.c (gss_context_time): remove unused variable 2319 1.1 elric 2320 1.1 elric * verify_mic.c: make sure minor_status is always set, pointed out 2321 1.1 elric by Luke Howard <lukeh (a] PADL.COM> 2322 1.1 elric 2323 1.1 elric 2003-05-21 Love Hrnquist strand <lha (a] it.su.se> 2324 1.1 elric 2325 1.1 elric * *.[ch]: do some basic locking (no reference counting so contexts 2326 1.1 elric can be removed while still used) 2327 1.1 elric - don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct 2328 1.1 elric - make sure all lifetime are returned in seconds left until expired, 2329 1.1 elric not in unix epoch 2330 1.1 elric 2331 1.1 elric * gss_acquire_cred.3: document argument lifetime_rec to function 2332 1.1 elric gss_inquire_context 2333 1.1 elric 2334 1.1 elric 2003-05-17 Love Hrnquist strand <lha (a] it.su.se> 2335 1.1 elric 2336 1.1 elric * test_acquire_cred.c: test gss_add_cred more then once 2337 1.1 elric 2338 1.1 elric 2003-05-06 Love Hrnquist strand <lha (a] it.su.se> 2339 1.1 elric 2340 1.1 elric * gssapi.h: if __cplusplus, wrap the extern variable (just to be 2341 1.1 elric safe) and functions in extern "C" { } 2342 1.1 elric 2343 1.1 elric 2003-04-30 Love Hrnquist strand <lha (a] it.su.se> 2344 1.1 elric 2345 1.1 elric * gssapi.3: more about the des3 mic mess 2346 1.1 elric 2347 1.1 elric * verify_mic.c (verify_mic_des3): always check if the mic is the 2348 1.1 elric correct mic or the mic that old heimdal would have generated 2349 1.1 elric 2350 1.1 elric 2003-04-28 Jacques Vidrine <nectar (a] kth.se> 2351 1.1 elric 2352 1.1 elric * verify_mic.c (verify_mic_des3): If MIC verification fails, 2353 1.1 elric retry using the `old' MIC computation (with zero IV). 2354 1.1 elric 2355 1.1 elric 2003-04-26 Love Hrnquist strand <lha (a] it.su.se> 2356 1.1 elric 2357 1.1 elric * gss_acquire_cred.3: more about difference between comparing IN 2358 1.1 elric and MN 2359 1.1 elric 2360 1.1 elric * gss_acquire_cred.3: more about name type and access control 2361 1.1 elric 2362 1.1 elric 2003-04-25 Love Hrnquist strand <lha (a] it.su.se> 2363 1.1 elric 2364 1.1 elric * gss_acquire_cred.3: document gss_context_time 2365 1.1 elric 2366 1.1 elric * context_time.c: if lifetime of context have expired, set 2367 1.1 elric time_rec to 0 and return GSS_S_CONTEXT_EXPIRED 2368 1.1 elric 2369 1.1 elric * gssapi.3: document [gssapi]correct_des3_mic 2370 1.1 elric [gssapi]broken_des3_mic 2371 1.1 elric 2372 1.1 elric * gss_acquire_cred.3: document gss_krb5_compat_des3_mic 2373 1.1 elric 2374 1.1 elric * compat.c (gss_krb5_compat_des3_mic): enable turning on/off des3 2375 1.1 elric mic compat 2376 1.1 elric (_gss_DES3_get_mic_compat): handle [gssapi]correct_des3_mic too 2377 1.1 elric 2378 1.1 elric * gssapi.h (gss_krb5_compat_des3_mic): new function, turn on/off 2379 1.1 elric des3 mic compat 2380 1.1 elric (GSS_C_KRB5_COMPAT_DES3_MIC): cpp symbol that exists if 2381 1.1 elric gss_krb5_compat_des3_mic exists 2382 1.1 elric 2383 1.1 elric 2003-04-24 Love Hrnquist strand <lha (a] it.su.se> 2384 1.1 elric 2385 1.1 elric * Makefile.am: (libgssapi_la_LDFLAGS): update major 2386 1.1 elric version of gssapi for incompatiblity in 3des getmic support 2387 1.1 elric 2388 1.1 elric 2003-04-23 Love Hrnquist strand <lha (a] it.su.se> 2389 1.1 elric 2390 1.1 elric * Makefile.am: test_acquire_cred_LDADD: use libgssapi.la not 2391 1.1 elric ./libgssapi.la (make make -jN work) 2392 1.1 elric 2393 1.1 elric 2003-04-16 Love Hrnquist strand <lha (a] it.su.se> 2394 1.1 elric 2395 1.1 elric * gssapi.3: spelling 2396 1.1 elric 2397 1.1 elric * gss_acquire_cred.3: Change .Fd #include <header.h> to .In 2398 1.1 elric header.h, from Thomas Klausner <wiz (a] netbsd.org> 2399 1.1 elric 2400 1.1 elric 2401 1.1 elric 2003-04-06 Love Hrnquist strand <lha (a] it.su.se> 2402 1.1 elric 2403 1.1 elric * gss_acquire_cred.3: spelling 2404 1.1 elric 2405 1.1 elric * Makefile.am: remove stuff that sneaked in with last commit 2406 1.1 elric 2407 1.1 elric * acquire_cred.c (acquire_initiator_cred): if the requested name 2408 1.1 elric isn't in the ccache, also check keytab. Extact the krbtgt for the 2409 1.1 elric default realm to check how long the credentials will last. 2410 1.1 elric 2411 1.1 elric * add_cred.c (gss_add_cred): don't create a new ccache, just open 2412 1.1 elric the old one; better check if output handle is compatible with new 2413 1.1 elric (copied) handle 2414 1.1 elric 2415 1.1 elric * test_acquire_cred.c: test gss_add_cred too 2416 1.1 elric 2417 1.1 elric 2003-04-03 Love Hrnquist strand <lha (a] it.su.se> 2418 1.1 elric 2419 1.1 elric * Makefile.am: build test_acquire_cred 2420 1.1 elric 2421 1.1 elric * test_acquire_cred.c: simple gss_acquire_cred test 2422 1.1 elric 2423 1.1 elric 2003-04-02 Love Hrnquist strand <lha (a] it.su.se> 2424 1.1 elric 2425 1.1 elric * gss_acquire_cred.3: s/gssapi/GSS-API/ 2426 1.1 elric 2427 1.1 elric 2003-03-19 Love Hrnquist strand <lha (a] it.su.se> 2428 1.1 elric 2429 1.1 elric * gss_acquire_cred.3: document v1 interface (and that they are 2430 1.1 elric obsolete) 2431 1.1 elric 2432 1.1 elric 2003-03-18 Love Hrnquist strand <lha (a] it.su.se> 2433 1.1 elric 2434 1.1 elric * gss_acquire_cred.3: list supported mechanism and nametypes 2435 1.1 elric 2436 1.1 elric 2003-03-16 Love Hrnquist strand <lha (a] it.su.se> 2437 1.1 elric 2438 1.1 elric * gss_acquire_cred.3: text about gss_display_name 2439 1.1 elric 2440 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): bump to 3:6:2 2441 1.1 elric (libgssapi_la_SOURCES): add all new functions 2442 1.1 elric 2443 1.1 elric * gssapi.3: now that we have a functions, uncomment the missing 2444 1.1 elric ones 2445 1.1 elric 2446 1.1 elric * gss_acquire_cred.3: now that we have a functions, uncomment the 2447 1.1 elric missing ones 2448 1.1 elric 2449 1.1 elric * process_context_token.c: implement gss_process_context_token 2450 1.1 elric 2451 1.1 elric * inquire_names_for_mech.c: implement gss_inquire_names_for_mech 2452 1.1 elric 2453 1.1 elric * inquire_mechs_for_name.c: implement gss_inquire_mechs_for_name 2454 1.1 elric 2455 1.1 elric * inquire_cred_by_mech.c: implement gss_inquire_cred_by_mech 2456 1.1 elric 2457 1.1 elric * add_cred.c: implement gss_add_cred 2458 1.1 elric 2459 1.1 elric * acquire_cred.c (gss_acquire_cred): more testing of input 2460 1.1 elric argument, make sure output arguments are ok, since we don't know 2461 1.1 elric the time_rec (for now), set it to time_req 2462 1.1 elric 2463 1.1 elric * export_sec_context.c: send lifetime, also set minor_status 2464 1.1 elric 2465 1.1 elric * get_mic.c: set minor_status 2466 1.1 elric 2467 1.1 elric * import_sec_context.c (gss_import_sec_context): add error 2468 1.1 elric checking, pick up lifetime (if there is no lifetime, use 2469 1.1 elric GSS_C_INDEFINITE) 2470 1.1 elric 2471 1.1 elric * init_sec_context.c: take care to set export value to something 2472 1.1 elric sane before we start so caller will have harmless values in them 2473 1.1 elric if then function fails 2474 1.1 elric 2475 1.1 elric * release_buffer.c (gss_release_buffer): set minor_status 2476 1.1 elric 2477 1.1 elric * wrap.c: make sure minor_status get set 2478 1.1 elric 2479 1.1 elric * verify_mic.c (gss_verify_mic_internal): rename verify_mic to 2480 1.1 elric gss_verify_mic_internal and let it take the type as an argument, 2481 1.1 elric (gss_verify_mic): call gss_verify_mic_internal 2482 1.1 elric set minor_status 2483 1.1 elric 2484 1.1 elric * unwrap.c: set minor_status 2485 1.1 elric 2486 1.1 elric * test_oid_set_member.c (gss_test_oid_set_member): use 2487 1.1 elric gss_oid_equal 2488 1.1 elric 2489 1.1 elric * release_oid_set.c (gss_release_oid_set): set minor_status 2490 1.1 elric 2491 1.1 elric * release_name.c (gss_release_name): set minor_status 2492 1.1 elric 2493 1.1 elric * release_cred.c (gss_release_cred): set minor_status 2494 1.1 elric 2495 1.1 elric * add_oid_set_member.c (gss_add_oid_set_member): set minor_status 2496 1.1 elric 2497 1.1 elric * compare_name.c (gss_compare_name): set minor_status 2498 1.1 elric 2499 1.1 elric * compat.c (check_compat): make sure ret have a defined value 2500 1.1 elric 2501 1.1 elric * context_time.c (gss_context_time): set minor_status 2502 1.1 elric 2503 1.1 elric * copy_ccache.c (gss_krb5_copy_ccache): set minor_status 2504 1.1 elric 2505 1.1 elric * create_emtpy_oid_set.c (gss_create_empty_oid_set): set 2506 1.1 elric minor_status 2507 1.1 elric 2508 1.1 elric * delete_sec_context.c (gss_delete_sec_context): set minor_status 2509 1.1 elric 2510 1.1 elric * display_name.c (gss_display_name): set minor_status 2511 1.1 elric 2512 1.1 elric * display_status.c (gss_display_status): use gss_oid_equal, handle 2513 1.1 elric supplementary errors 2514 1.1 elric 2515 1.1 elric * duplicate_name.c (gss_duplicate_name): set minor_status 2516 1.1 elric 2517 1.1 elric * inquire_context.c (gss_inquire_context): set lifetime_rec now 2518 1.1 elric when we know it, set minor_status 2519 1.1 elric 2520 1.1 elric * inquire_cred.c (gss_inquire_cred): take care to set export value 2521 1.1 elric to something sane before we start so caller will have harmless 2522 1.1 elric values in them if the function fails 2523 1.1 elric 2524 1.1 elric * accept_sec_context.c (gss_accept_sec_context): take care to set 2525 1.1 elric export value to something sane before we start so caller will have 2526 1.1 elric harmless values in them if then function fails, set lifetime from 2527 1.1 elric ticket expiration date 2528 1.1 elric 2529 1.1 elric * indicate_mechs.c (gss_indicate_mechs): use 2530 1.1 elric gss_create_empty_oid_set and gss_add_oid_set_member 2531 1.1 elric 2532 1.1 elric * gssapi.h (gss_ctx_id_t_desc): store the lifetime in the cred, 2533 1.1 elric since there is no ticket transfered in the exported context 2534 1.1 elric 2535 1.1 elric * export_name.c (gss_export_name): export name with 2536 1.1 elric GSS_C_NT_EXPORT_NAME wrapping, not just the principal 2537 1.1 elric 2538 1.1 elric * import_name.c (import_export_name): new function, parses a 2539 1.1 elric GSS_C_NT_EXPORT_NAME 2540 1.1 elric (import_krb5_name): factor out common code of parsing krb5 name 2541 1.1 elric (gss_oid_equal): rename from oid_equal 2542 1.1 elric 2543 1.1 elric * gssapi_locl.h: add prototypes for gss_oid_equal and 2544 1.1 elric gss_verify_mic_internal 2545 1.1 elric 2546 1.1 elric * gssapi.h: comment out the argument names 2547 1.1 elric 2548 1.1 elric 2003-03-15 Love Hrnquist strand <lha (a] it.su.se> 2549 1.1 elric 2550 1.1 elric * gssapi.3: add LIST OF FUNCTIONS and copyright/license 2551 1.1 elric 2552 1.1 elric * Makefile.am: s/gss_aquire_cred.3/gss_acquire_cred.3/ 2553 1.1 elric 2554 1.1 elric * Makefile.am: man_MANS += gss_aquire_cred.3 2555 1.1 elric 2556 1.1 elric 2003-03-14 Love Hrnquist strand <lha (a] it.su.se> 2557 1.1 elric 2558 1.1 elric * gss_aquire_cred.3: the gssapi api manpage 2559 1.1 elric 2560 1.1 elric 2003-03-03 Love Hrnquist strand <lha (a] it.su.se> 2561 1.1 elric 2562 1.1 elric * inquire_context.c: (gss_inquire_context): rename argument open 2563 1.1 elric to open_context 2564 1.1 elric 2565 1.1 elric * gssapi.h (gss_inquire_context): rename argument open to open_context 2566 1.1 elric 2567 1.1 elric 2003-02-27 Love Hrnquist strand <lha (a] it.su.se> 2568 1.1 elric 2569 1.1 elric * init_sec_context.c (do_delegation): remove unused variable 2570 1.1 elric subkey 2571 1.1 elric 2572 1.1 elric * gssapi.3: all 0.5.x version had broken token delegation 2573 1.1 elric 2574 1.1 elric 2003-02-21 Love Hrnquist strand <lha (a] it.su.se> 2575 1.1 elric 2576 1.1 elric * (init_auth): only generate one subkey 2577 1.1 elric 2578 1.1 elric 2003-01-27 Love Hrnquist strand <lha (a] it.su.se> 2579 1.1 elric 2580 1.1 elric * verify_mic.c (verify_mic_des3): fix 3des verify_mic to conform 2581 1.1 elric to rfc (and mit kerberos), provide backward compat hook 2582 1.1 elric 2583 1.1 elric * get_mic.c (mic_des3): fix 3des get_mic to conform to rfc (and 2584 1.1 elric mit kerberos), provide backward compat hook 2585 1.1 elric 2586 1.1 elric * init_sec_context.c (init_auth): check if we need compat for 2587 1.1 elric older get_mic/verify_mic 2588 1.1 elric 2589 1.1 elric * gssapi_locl.h: add prototype for _gss_DES3_get_mic_compat 2590 1.1 elric 2591 1.1 elric * gssapi.h (more_flags): add COMPAT_OLD_DES3 2592 1.1 elric 2593 1.1 elric * Makefile.am: add gssapi.3 and compat.c 2594 1.1 elric 2595 1.1 elric * gssapi.3: add gssapi COMPATIBILITY documentation 2596 1.1 elric 2597 1.1 elric * accept_sec_context.c (gss_accept_sec_context): check if we need 2598 1.1 elric compat for older get_mic/verify_mic 2599 1.1 elric 2600 1.1 elric * compat.c: check for compatiblity with other heimdal's 3des 2601 1.1 elric get_mic/verify_mic 2602 1.1 elric 2603 1.1 elric 2002-10-31 Johan Danielsson <joda (a] pdc.kth.se> 2604 1.1 elric 2605 1.1 elric * check return value from gssapi_krb5_init 2606 1.1 elric 2607 1.1 elric * 8003.c (gssapi_krb5_verify_8003_checksum): check size of input 2608 1.1 elric 2609 1.1 elric 2002-09-03 Johan Danielsson <joda (a] pdc.kth.se> 2610 1.1 elric 2611 1.1 elric * wrap.c (wrap_des3): use ETYPE_DES3_CBC_NONE 2612 1.1 elric 2613 1.1 elric * unwrap.c (unwrap_des3): use ETYPE_DES3_CBC_NONE 2614 1.1 elric 2615 1.1 elric 2002-09-02 Johan Danielsson <joda (a] pdc.kth.se> 2616 1.1 elric 2617 1.1 elric * init_sec_context.c: we need to generate a local subkey here 2618 1.1 elric 2619 1.1 elric 2002-08-20 Jacques Vidrine <n (a] nectar.com> 2620 1.1 elric 2621 1.1 elric * acquire_cred.c, inquire_cred.c, release_cred.c: Use default 2622 1.1 elric credential resolution if gss_acquire_cred is called with 2623 1.1 elric GSS_C_NO_NAME. 2624 1.1 elric 2625 1.1 elric 2002-06-20 Jacques Vidrine <n (a] nectar.com> 2626 1.1 elric 2627 1.1 elric * import_name.c: Compare name types by value if pointers do 2628 1.1 elric not match. Reported by: "Douglas E. Engert" <deengert (a] anl.gov> 2629 1.1 elric 2630 1.1 elric 2002-05-20 Jacques Vidrine <n (a] nectar.com> 2631 1.1 elric 2632 1.1 elric * verify_mic.c (gss_verify_mic), unwrap.c (gss_unwrap): initialize 2633 1.1 elric the qop_state parameter. from Doug Rabson <dfr (a] nlsystems.com> 2634 1.1 elric 2635 1.1 elric 2002-05-09 Jacques Vidrine <n (a] nectar.com> 2636 1.1 elric 2637 1.1 elric * acquire_cred.c: handle GSS_C_INITIATE/GSS_C_ACCEPT/GSS_C_BOTH 2638 1.1 elric 2639 1.1 elric 2002-05-08 Jacques Vidrine <n (a] nectar.com> 2640 1.1 elric 2641 1.1 elric * acquire_cred.c: initialize gssapi; handle null desired_name 2642 1.1 elric 2643 1.1 elric 2002-03-22 Johan Danielsson <joda (a] pdc.kth.se> 2644 1.1 elric 2645 1.1 elric * Makefile.am: remove non-functional stuff accidentally committed 2646 1.1 elric 2647 1.1 elric 2002-03-11 Assar Westerlund <assar (a] sics.se> 2648 1.1 elric 2649 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): bump version to 3:5:2 2650 1.1 elric * 8003.c (gssapi_krb5_verify_8003_checksum): handle zero channel 2651 1.1 elric bindings 2652 1.1 elric 2653 1.1 elric 2001-10-31 Jacques Vidrine <n (a] nectar.com> 2654 1.1 elric 2655 1.1 elric * get_mic.c (mic_des3): MIC computation using DES3/SHA1 2656 1.1 elric was bogusly appending the message buffer to the result, 2657 1.1 elric overwriting a heap buffer in the process. 2658 1.1 elric 2659 1.1 elric 2001-08-29 Assar Westerlund <assar (a] sics.se> 2660 1.1 elric 2661 1.1 elric * 8003.c (gssapi_krb5_verify_8003_checksum, 2662 1.1 elric gssapi_krb5_create_8003_checksum): make more consistent by always 2663 1.1 elric returning an gssapi error and setting minor status. update 2664 1.1 elric callers 2665 1.1 elric 2666 1.1 elric 2001-08-28 Jacques Vidrine <n (a] nectar.com> 2667 1.1 elric 2668 1.1 elric * accept_sec_context.c: Create a cache for delegated credentials 2669 1.1 elric when needed. 2670 1.1 elric 2671 1.1 elric 2001-08-28 Assar Westerlund <assar (a] sics.se> 2672 1.1 elric 2673 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): set version to 3:4:2 2674 1.1 elric 2675 1.1 elric 2001-08-23 Assar Westerlund <assar (a] sics.se> 2676 1.1 elric 2677 1.1 elric * *.c: handle minor_status more consistently 2678 1.1 elric 2679 1.1 elric * display_status.c (gss_display_status): handle krb5_get_err_text 2680 1.1 elric failing 2681 1.1 elric 2682 1.1 elric 2001-08-15 Johan Danielsson <joda (a] pdc.kth.se> 2683 1.1 elric 2684 1.1 elric * gssapi_locl.h: fix prototype for gssapi_krb5_init 2685 1.1 elric 2686 1.1 elric 2001-08-13 Johan Danielsson <joda (a] pdc.kth.se> 2687 1.1 elric 2688 1.1 elric * accept_sec_context.c (gsskrb5_register_acceptor_identity): init 2689 1.1 elric context and check return value from kt_resolve 2690 1.1 elric 2691 1.1 elric * init.c: return error code 2692 1.1 elric 2693 1.1 elric 2001-07-19 Assar Westerlund <assar (a] sics.se> 2694 1.1 elric 2695 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): update to 3:3:2 2696 1.1 elric 2697 1.1 elric 2001-07-12 Assar Westerlund <assar (a] sics.se> 2698 1.1 elric 2699 1.1 elric * Makefile.am (libgssapi_la_LIBADD): add required library 2700 1.1 elric dependencies 2701 1.1 elric 2702 1.1 elric 2001-07-06 Assar Westerlund <assar (a] sics.se> 2703 1.1 elric 2704 1.1 elric * accept_sec_context.c (gsskrb5_register_acceptor_identity): set 2705 1.1 elric the keytab to be used for gss_acquire_cred too' 2706 1.1 elric 2707 1.1 elric 2001-07-03 Assar Westerlund <assar (a] sics.se> 2708 1.1 elric 2709 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): set version to 3:2:2 2710 1.1 elric 2711 1.1 elric 2001-06-18 Assar Westerlund <assar (a] sics.se> 2712 1.1 elric 2713 1.1 elric * wrap.c: replace gss_krb5_getsomekey with gss_krb5_get_localkey 2714 1.1 elric and gss_krb5_get_remotekey 2715 1.1 elric * verify_mic.c: update krb5_auth_con function names use 2716 1.1 elric gss_krb5_get_remotekey 2717 1.1 elric * unwrap.c: replace gss_krb5_getsomekey with gss_krb5_get_localkey 2718 1.1 elric and gss_krb5_get_remotekey 2719 1.1 elric * gssapi_locl.h (gss_krb5_get_remotekey, gss_krb5_get_localkey): 2720 1.1 elric add prototypes 2721 1.1 elric * get_mic.c: update krb5_auth_con function names. use 2722 1.1 elric gss_krb5_get_localkey 2723 1.1 elric * accept_sec_context.c: update krb5_auth_con function names 2724 1.1 elric 2725 1.1 elric 2001-05-17 Assar Westerlund <assar (a] sics.se> 2726 1.1 elric 2727 1.1 elric * Makefile.am: bump version to 3:1:2 2728 1.1 elric 2729 1.1 elric 2001-05-14 Assar Westerlund <assar (a] sics.se> 2730 1.1 elric 2731 1.1 elric * address_to_krb5addr.c: adapt to new address functions 2732 1.1 elric 2733 1.1 elric 2001-05-11 Assar Westerlund <assar (a] sics.se> 2734 1.1 elric 2735 1.1 elric * try to return the error string from libkrb5 where applicable 2736 1.1 elric 2737 1.1 elric 2001-05-08 Assar Westerlund <assar (a] sics.se> 2738 1.1 elric 2739 1.1 elric * delete_sec_context.c (gss_delete_sec_context): remember to free 2740 1.1 elric the memory used by the ticket itself. from <tmartin (a] mirapoint.com> 2741 1.1 elric 2742 1.1 elric 2001-05-04 Assar Westerlund <assar (a] sics.se> 2743 1.1 elric 2744 1.1 elric * gssapi_locl.h: add config.h for completeness 2745 1.1 elric * gssapi.h: remove config.h, this is an installed header file 2746 1.1 elric sys/types.h is not needed either 2747 1.1 elric 2748 1.1 elric 2001-03-12 Assar Westerlund <assar (a] sics.se> 2749 1.1 elric 2750 1.1 elric * acquire_cred.c (gss_acquire_cred): remove memory leaks. from 2751 1.1 elric Jason R Thorpe <thorpej (a] zembu.com> 2752 1.1 elric 2753 1.1 elric 2001-02-18 Assar Westerlund <assar (a] sics.se> 2754 1.1 elric 2755 1.1 elric * accept_sec_context.c (gss_accept_sec_context): either return 2756 1.1 elric gss_name NULL-ed or set 2757 1.1 elric 2758 1.1 elric * import_name.c: set minor_status in some cases where it was not 2759 1.1 elric done 2760 1.1 elric 2761 1.1 elric 2001-02-15 Assar Westerlund <assar (a] sics.se> 2762 1.1 elric 2763 1.1 elric * wrap.c: use krb5_generate_random_block for the confounders 2764 1.1 elric 2765 1.1 elric 2001-01-30 Assar Westerlund <assar (a] sics.se> 2766 1.1 elric 2767 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): bump version to 3:0:2 2768 1.1 elric * acquire_cred.c, init_sec_context.c, release_cred.c: add support 2769 1.1 elric for getting creds from a keytab, from fvdl (a] netbsd.org 2770 1.1 elric 2771 1.1 elric * copy_ccache.c: add gss_krb5_copy_ccache 2772 1.1 elric 2773 1.1 elric 2001-01-27 Assar Westerlund <assar (a] sics.se> 2774 1.1 elric 2775 1.1 elric * get_mic.c: cast parameters to des function to non-const pointers 2776 1.1 elric to handle the case where these functions actually take non-const 2777 1.1 elric des_cblock * 2778 1.1 elric 2779 1.1 elric 2001-01-09 Assar Westerlund <assar (a] sics.se> 2780 1.1 elric 2781 1.1 elric * accept_sec_context.c (gss_accept_sec_context): use krb5_rd_cred2 2782 1.1 elric instead of krb5_rd_cred 2783 1.1 elric 2784 1.1 elric 2000-12-11 Assar Westerlund <assar (a] sics.se> 2785 1.1 elric 2786 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): bump to 2:3:1 2787 1.1 elric 2788 1.1 elric 2000-12-08 Assar Westerlund <assar (a] sics.se> 2789 1.1 elric 2790 1.1 elric * wrap.c (wrap_des3): use the checksum as ivec when encrypting the 2791 1.1 elric sequence number 2792 1.1 elric * unwrap.c (unwrap_des3): use the checksum as ivec when encrypting 2793 1.1 elric the sequence number 2794 1.1 elric * init_sec_context.c (init_auth): always zero fwd_data 2795 1.1 elric 2796 1.1 elric 2000-12-06 Johan Danielsson <joda (a] pdc.kth.se> 2797 1.1 elric 2798 1.1 elric * accept_sec_context.c: de-pointerise auth_context parameter to 2799 1.1 elric krb5_mk_rep 2800 1.1 elric 2801 1.1 elric 2000-11-15 Assar Westerlund <assar (a] sics.se> 2802 1.1 elric 2803 1.1 elric * init_sec_context.c (init_auth): update to new 2804 1.1 elric krb5_build_authenticator 2805 1.1 elric 2806 1.1 elric 2000-09-19 Assar Westerlund <assar (a] sics.se> 2807 1.1 elric 2808 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): bump to 2:2:1 2809 1.1 elric 2810 1.1 elric 2000-08-27 Assar Westerlund <assar (a] sics.se> 2811 1.1 elric 2812 1.1 elric * init_sec_context.c: actually pay attention to `time_req' 2813 1.1 elric * init_sec_context.c: re-organize. leak less memory. 2814 1.1 elric * gssapi_locl.h (gssapi_krb5_encapsulate, gss_krb5_getsomekey): 2815 1.1 elric update prototypes add assert.h 2816 1.1 elric * gssapi.h (GSS_KRB5_CONF_C_QOP_DES, GSS_KRB5_CONF_C_QOP_DES3_KD): 2817 1.1 elric add 2818 1.1 elric * verify_mic.c: re-organize and add 3DES code 2819 1.1 elric * wrap.c: re-organize and add 3DES code 2820 1.1 elric * unwrap.c: re-organize and add 3DES code 2821 1.1 elric * get_mic.c: re-organize and add 3DES code 2822 1.1 elric * encapsulate.c (gssapi_krb5_encapsulate): do not free `in_data', 2823 1.1 elric let the caller do that. fix the callers. 2824 1.1 elric 2825 1.1 elric 2000-08-16 Assar Westerlund <assar (a] sics.se> 2826 1.1 elric 2827 1.1 elric * Makefile.am: bump version to 2:1:1 2828 1.1 elric 2829 1.1 elric 2000-07-29 Assar Westerlund <assar (a] sics.se> 2830 1.1 elric 2831 1.1 elric * decapsulate.c (gssapi_krb5_verify_header): sanity-check length 2832 1.1 elric 2833 1.1 elric 2000-07-25 Johan Danielsson <joda (a] pdc.kth.se> 2834 1.1 elric 2835 1.1 elric * Makefile.am: bump version to 2:0:1 2836 1.1 elric 2837 1.1 elric 2000-07-22 Assar Westerlund <assar (a] sics.se> 2838 1.1 elric 2839 1.1 elric * gssapi.h: update OID for GSS_C_NT_HOSTBASED_SERVICE and other 2840 1.1 elric details from rfc2744 2841 1.1 elric 2842 1.1 elric 2000-06-29 Assar Westerlund <assar (a] sics.se> 2843 1.1 elric 2844 1.1 elric * address_to_krb5addr.c (gss_address_to_krb5addr): actually use 2845 1.1 elric `int' instead of `sa_family_t' for the address family. 2846 1.1 elric 2847 1.1 elric 2000-06-21 Assar Westerlund <assar (a] sics.se> 2848 1.1 elric 2849 1.1 elric * add support for token delegation. From Daniel Kouril 2850 1.1 elric <kouril (a] ics.muni.cz> and Miroslav Ruda <ruda (a] ics.muni.cz> 2851 1.1 elric 2852 1.1 elric 2000-05-15 Assar Westerlund <assar (a] sics.se> 2853 1.1 elric 2854 1.1 elric * Makefile.am (libgssapi_la_LDFLAGS): set version to 1:1:1 2855 1.1 elric 2856 1.1 elric 2000-04-12 Assar Westerlund <assar (a] sics.se> 2857 1.1 elric 2858 1.1 elric * release_oid_set.c (gss_release_oid_set): clear set for 2859 1.1 elric robustness. From GOMBAS Gabor <gombasg (a] inf.elte.hu> 2860 1.1 elric * release_name.c (gss_release_name): reset input_name for 2861 1.1 elric robustness. From GOMBAS Gabor <gombasg (a] inf.elte.hu> 2862 1.1 elric * release_buffer.c (gss_release_buffer): set value to NULL to be 2863 1.1 elric more robust. From GOMBAS Gabor <gombasg (a] inf.elte.hu> 2864 1.1 elric * add_oid_set_member.c (gss_add_oid_set_member): actually check if 2865 1.1 elric the oid is a member first. leave the oid_set unchanged if realloc 2866 1.1 elric fails. 2867 1.1 elric 2868 1.1 elric 2000-02-13 Assar Westerlund <assar (a] sics.se> 2869 1.1 elric 2870 1.1 elric * Makefile.am: set version to 1:0:1 2871 1.1 elric 2872 1.1 elric 2000-02-12 Assar Westerlund <assar (a] sics.se> 2873 1.1 elric 2874 1.1 elric * gssapi_locl.h: add flags for import/export 2875 1.1 elric * import_sec_context.c (import_sec_context: add flags for what 2876 1.1 elric fields are included. do not include the authenticator for now. 2877 1.1 elric * export_sec_context.c (export_sec_context: add flags for what 2878 1.1 elric fields are included. do not include the authenticator for now. 2879 1.1 elric * accept_sec_context.c (gss_accept_sec_context): set target in 2880 1.1 elric context_handle 2881 1.1 elric 2882 1.1 elric 2000-02-11 Assar Westerlund <assar (a] sics.se> 2883 1.1 elric 2884 1.1 elric * delete_sec_context.c (gss_delete_sec_context): set context to 2885 1.1 elric GSS_C_NO_CONTEXT 2886 1.1 elric 2887 1.1 elric * Makefile.am: add {export,import}_sec_context.c 2888 1.1 elric * export_sec_context.c: new file 2889 1.1 elric * import_sec_context.c: new file 2890 1.1 elric * accept_sec_context.c (gss_accept_sec_context): set trans flag 2891 1.1 elric 2892 1.1 elric 2000-02-07 Assar Westerlund <assar (a] sics.se> 2893 1.1 elric 2894 1.1 elric * Makefile.am: set version to 0:5:0 2895 1.1 elric 2896 1.1 elric 2000-01-26 Assar Westerlund <assar (a] sics.se> 2897 1.1 elric 2898 1.1 elric * delete_sec_context.c (gss_delete_sec_context): handle a NULL 2899 1.1 elric output_token 2900 1.1 elric 2901 1.1 elric * wrap.c: update to pseudo-standard APIs for md4,md5,sha. some 2902 1.1 elric changes to libdes calls to make them more portable. 2903 1.1 elric * verify_mic.c: update to pseudo-standard APIs for md4,md5,sha. 2904 1.1 elric some changes to libdes calls to make them more portable. 2905 1.1 elric * unwrap.c: update to pseudo-standard APIs for md4,md5,sha. some 2906 1.1 elric changes to libdes calls to make them more portable. 2907 1.1 elric * get_mic.c: update to pseudo-standard APIs for md4,md5,sha. some 2908 1.1 elric changes to libdes calls to make them more portable. 2909 1.1 elric * 8003.c: update to pseudo-standard APIs for md4,md5,sha. 2910 1.1 elric 2911 1.1 elric 2000-01-06 Assar Westerlund <assar (a] sics.se> 2912 1.1 elric 2913 1.1 elric * Makefile.am: set version to 0:4:0 2914 1.1 elric 2915 1.1 elric 1999-12-26 Assar Westerlund <assar (a] sics.se> 2916 1.1 elric 2917 1.1 elric * accept_sec_context.c (gss_accept_sec_context): always set 2918 1.1 elric `output_token' 2919 1.1 elric * init_sec_context.c (init_auth): always initialize `output_token' 2920 1.1 elric * delete_sec_context.c (gss_delete_sec_context): always set 2921 1.1 elric `output_token' 2922 1.1 elric 2923 1.1 elric 1999-12-06 Assar Westerlund <assar (a] sics.se> 2924 1.1 elric 2925 1.1 elric * Makefile.am: bump version to 0:3:0 2926 1.1 elric 2927 1.1 elric 1999-10-20 Assar Westerlund <assar (a] sics.se> 2928 1.1 elric 2929 1.1 elric * Makefile.am: set version to 0:2:0 2930 1.1 elric 2931 1.1 elric 1999-09-21 Assar Westerlund <assar (a] sics.se> 2932 1.1 elric 2933 1.1 elric * init_sec_context.c (gss_init_sec_context): initialize `ticket' 2934 1.1 elric 2935 1.1 elric * gssapi.h (gss_ctx_id_t_desc): add ticket in here. ick. 2936 1.1 elric 2937 1.1 elric * delete_sec_context.c (gss_delete_sec_context): free ticket 2938 1.1 elric 2939 1.1 elric * accept_sec_context.c (gss_accept_sec_context): stove away 2940 1.1 elric `krb5_ticket' in context so that ugly programs such as 2941 1.1 elric gss_nt_server can get at it. uck. 2942 1.1 elric 2943 1.1 elric 1999-09-20 Johan Danielsson <joda (a] pdc.kth.se> 2944 1.1 elric 2945 1.1 elric * accept_sec_context.c: set minor_status 2946 1.1 elric 2947 1.1 elric 1999-08-04 Assar Westerlund <assar (a] sics.se> 2948 1.1 elric 2949 1.1 elric * display_status.c (calling_error, routine_error): right shift the 2950 1.1 elric code to make it possible to index into the arrays 2951 1.1 elric 2952 1.1 elric 1999-07-28 Assar Westerlund <assar (a] sics.se> 2953 1.1 elric 2954 1.1 elric * gssapi.h (GSS_C_AF_INET6): add 2955 1.1 elric 2956 1.1 elric * import_name.c (import_hostbased_name): set minor_status 2957 1.1 elric 2958 1.1 elric 1999-07-26 Assar Westerlund <assar (a] sics.se> 2959 1.1 elric 2960 1.1 elric * Makefile.am: set version to 0:1:0 2961 1.1 elric 2962 1.1 elric Wed Apr 7 14:05:15 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 2963 1.1 elric 2964 1.1 elric * display_status.c: set minor_status 2965 1.1 elric 2966 1.1 elric * init_sec_context.c: set minor_status 2967 1.1 elric 2968 1.1 elric * lib/gssapi/init.c: remove donep (check gssapi_krb5_context 2969 1.1 elric directly) 2970 1.1 elric 2971