~mamarley/openconnect/+git/gitlab-main:ext_browser_auth_and_STRAP_key_refinements

Last commit made on 2022-05-12
Get this branch:
git clone -b ext_browser_auth_and_STRAP_key_refinements https://git.launchpad.net/~mamarley/openconnect/+git/gitlab-main

Branch merges

Branch information

Name:
ext_browser_auth_and_STRAP_key_refinements
Repository:
lp:~mamarley/openconnect/+git/gitlab-main

Recent commits

06f8440... by Dan Lenski

Cisco STRAP key refinements

Sending STRAP keys appears to restrict the ability to reuse the webvpn cookie
on other cookies of the same VPN, as discussed on
https://gitlab.com/openconnect/openconnect/-/commit/8bacc334b9efb10371ec6777d7983a7d1bb99ca0#note_942004949

Therefore we should avoid generating and offering STRAP keys unless.

1. We are doing authentication and may potentially use external-browser-auth,
   which *requires* the STRAP keys, or
2. We already have STRAP keys from the authentication stage, in which case
   we have to continue sending them for verification along with the
   webvpn cookie, in order to prevent the server from rejecting it.
   (See https://gitlab.com/openconnect/openconnect/-/issues/410)

Signed-off-by: Daniel Lenski <email address hidden>

3cff6ef... by dwmw2

Bump OPENCONNECT_API_VERSION_MINOR

Oops, I thought that was all automated...

Signed-off-by: David Woodhouse <email address hidden>

93e4232... by dwmw2

Tag version 9.00

Signed-off-by: David Woodhouse <email address hidden>

6b8d7b6... by dwmw2

Add changelog entry for SAML/SSO

Signed-off-by: David Woodhouse <email address hidden>

df1eb7a... by dwmw2

Merge branch 'autoconf' into 'master'

AC_PROG_CC_C99 / AC_TRY_COMPILE are obsolete starting with autoconf 2.70

Closes #413

See merge request openconnect/openconnect!369

732edd8... by Ambroise Rosset <email address hidden>

Implement a function openconnect_set_useragent

Implement a function openconnect_set_useragent to allow external
programme that use libopenconnect to start a VPN (like NetworkManager)
to tune the Useragent of the connection like the option --useragent do.

If they only tune the useragent agent name by the variable passed
through the opeconnect_vpninfo_new function, the version number of
openconnect is automatically added after the string choosed.

Signed-off-by: Ambroise Rosset <email address hidden>

34687af... by Dimitri Papadopoulos <email address hidden>

Add missing host-cpu-c-abi.m4

This M4 file is a dependency of lib-prefix.m4.

Fixes this Autoconf warning:
warning: gl_HOST_CPU_C_ABI_32BIT is m4_require'd but not m4_defun'd

Signed-off-by: Dimitri Papadopoulos <email address hidden>

c98c512... by Dimitri Papadopoulos <email address hidden>

AC_TRY_COMPILE is obsolete starting with autoconf 2.70

AC_COMPILE_IFELSE has been around since autoconf 2.50 at least,
according to "18.6.5 AC_ACT_IFELSE vs. AC_TRY_ACT":
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/html_node/AC_005fACT_005fIFELSE-vs-AC_005fTRY_005fACT.html#AC_005fFOO_005fIFELSE-vs-AC_005fTRY_005fFOO

 Since Autoconf 2.50, internal codes uses
 AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE
 on one hand and
 AC_LANG_SOURCE, and AC_LANG_PROGRAM
 on the other hand instead of the deprecated
 AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK, and AC_TRY_RUN.

Fixes this Autoconf warning:
warning: The macro `AC_TRY_COMPILE' is obsolete.

Signed-off-by: Dimitri Papadopoulos <email address hidden>

ca306b2... by Dimitri Papadopoulos <email address hidden>

Update m4 files

m4/lib-ld.m4
m4/lib-link.m4
m4/lib-prefix.m4
  the latest versions from gnulib

acinclude.m4 → m4/ax_jni_include_dir.m4
  the latest release 2022.02.11 from the Autoconf Archive

acinclude.m4 → as-compiler-flag.m4
  copied as is because the origin of this file is unclear
  it is different from the latest version in the Autostar Sandbox

Signed-off-by: Dimitri Papadopoulos <email address hidden>

204751c... by Dimitri Papadopoulos <email address hidden>

Arguments should be enclosed within ‘[’ and ‘]’

As enforced by autopudate, see 3.1.2 The Autoconf Language:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/html_node/Autoconf-Language.html

Signed-off-by: Dimitri Papadopoulos <email address hidden>