[OpenSIPS-Devel] [OpenSIPS/opensips] f6c1f0: Make qop parameter of the xyz_challenge() position...

Liviu Chircu noreply at github.com
Wed Nov 17 08:06:53 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f6c1f03d92cbadb98ec51c5af67bd18c2ab15741
      https://github.com/OpenSIPS/opensips/commit/f6c1f03d92cbadb98ec51c5af67bd18c2ab15741
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M lib/digest_auth/dauth_nonce.c
    M modules/auth/api.c
    M modules/auth/challenge.c
    M modules/auth/challenge.h
    M parser/digest/digest.c
    M parser/digest/digest_parser.h

  Log Message:
  -----------
  Make qop parameter of the xyz_challenge() positional-dependent,
so that it's possible to generate qop="auth-int,auth" as well as
qop="auth,auth-int". Tested @ OpenSIPIt'02.


  Commit: f90f20cffd93cc808a146007a47ba645070e035e
      https://github.com/OpenSIPS/opensips/commit/f90f20cffd93cc808a146007a47ba645070e035e
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M modules/auth/api.c
    M modules/auth/challenge.c
    M modules/auth/challenge.h

  Log Message:
  -----------
  o Get rid of the redundant macros QOP_TYPE_XYZ.

o Use qop_type_t instead of int where appropriate.

o Enforce qop for MD5-sess when generating a challenge.

o Use QOP_UNSPEC_D instead of 0 where appropriate.


  Commit: 2825caabe0eff7f3ccbc307087448d2f1fb45abb
      https://github.com/OpenSIPS/opensips/commit/2825caabe0eff7f3ccbc307087448d2f1fb45abb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

  Changed paths:
    M lib/digest_auth/dauth_nonce.c
    M modules/auth/api.c
    M modules/auth/challenge.c
    M modules/auth/challenge.h
    M parser/digest/digest.c
    M parser/digest/digest_parser.h

  Log Message:
  -----------
  Merge pull request #2689 from sippy/pr_opensipit02_qop

Improve xyz_challenge() API to allow generating challenges like qop="auth,auth-int" as well as qop="auth-int,auth"; Make qop mandatory for the MD5-sess as well.


Compare: https://github.com/OpenSIPS/opensips/compare/f3abb0fb5754...2825caabe0ef



More information about the Devel mailing list