Compare commits

...

3 Commits

Author SHA1 Message Date
Kevin Yue
366b95ce1f
Release 2.3.9 2024-11-02 14:13:53 +00:00
Kevin Yue
136c870d1f
chore: update CI 2024-11-02 09:46:27 +00:00
Kevin Yue
0c411a542f
fix: enhance OpenSSL compatibility mode
Related: #437
2024-11-02 09:36:11 +00:00
7 changed files with 29 additions and 13 deletions

View File

@ -76,7 +76,7 @@ jobs:
cp packaging/deb/postrm .build/debian/postrm cp packaging/deb/postrm .build/debian/postrm
- name: Publish to PPA - name: Publish to PPA
uses: yuezk/publish-ppa-package@dev uses: yuezk/publish-ppa-package@v2
with: with:
repository: "yuezk/globalprotect-openconnect" repository: "yuezk/globalprotect-openconnect"
gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }} gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }}
@ -85,5 +85,5 @@ jobs:
debian_dir: publish-ppa/globalprotect-openconnect-*/.build/debian debian_dir: publish-ppa/globalprotect-openconnect-*/.build/debian
deb_email: "k3vinyue@gmail.com" deb_email: "k3vinyue@gmail.com"
deb_fullname: "Kevin Yue" deb_fullname: "Kevin Yue"
extra_ppa: "liushuyu-011/rust-bpo-1.75" extra_ppa: "yuezk/globalprotect-openconnect liushuyu-011/rust-bpo-1.75"
revision: ${{ inputs.revision }} revision: ${{ inputs.revision }}

View File

@ -1,4 +1,4 @@
name: Release Packages name: GH Release Packages
on: on:
workflow_dispatch: workflow_dispatch:

14
Cargo.lock generated
View File

@ -579,7 +579,7 @@ dependencies = [
[[package]] [[package]]
name = "common" name = "common"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"is_executable", "is_executable",
] ]
@ -1449,7 +1449,7 @@ dependencies = [
[[package]] [[package]]
name = "gpapi" name = "gpapi"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.21.5", "base64 0.21.5",
@ -1485,7 +1485,7 @@ dependencies = [
[[package]] [[package]]
name = "gpauth" name = "gpauth"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1506,7 +1506,7 @@ dependencies = [
[[package]] [[package]]
name = "gpclient" name = "gpclient"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1528,7 +1528,7 @@ dependencies = [
[[package]] [[package]]
name = "gpgui-helper" name = "gpgui-helper"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -1546,7 +1546,7 @@ dependencies = [
[[package]] [[package]]
name = "gpservice" name = "gpservice"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@ -2625,7 +2625,7 @@ dependencies = [
[[package]] [[package]]
name = "openconnect" name = "openconnect"
version = "2.3.8" version = "2.3.9"
dependencies = [ dependencies = [
"cc", "cc",
"common", "common",

View File

@ -5,7 +5,7 @@ members = ["crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/g
[workspace.package] [workspace.package]
rust-version = "1.70" rust-version = "1.70"
version = "2.3.8" version = "2.3.9"
authors = ["Kevin Yue <k3vinyue@gmail.com>"] authors = ["Kevin Yue <k3vinyue@gmail.com>"]
homepage = "https://github.com/yuezk/GlobalProtect-openconnect" homepage = "https://github.com/yuezk/GlobalProtect-openconnect"
edition = "2021" edition = "2021"

View File

@ -50,7 +50,7 @@ struct Cli {
#[command(subcommand)] #[command(subcommand)]
command: CliCommand, command: CliCommand,
#[arg(long, help = "Get around the OpenSSL `unsafe legacy renegotiation` error")] #[arg(long, help = "Uses extended compatibility mode for OpenSSL operations to support a broader range of systems and formats.")]
fix_openssl: bool, fix_openssl: bool,
#[arg(long, help = "Ignore the TLS errors")] #[arg(long, help = "Ignore the TLS errors")]
ignore_tls_errors: bool, ignore_tls_errors: bool,

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
## 2.3.9 - 2024-11-02
- Enhance the OpenSSL compatibility mode (fix [#437](https://github.com/yuezk/GlobalProtect-openconnect/issues/437))
## 2.3.8 - 2024-10-31 ## 2.3.8 - 2024-10-31
- GUI: support configure the external browser to use for authentication (fix [#423](https://github.com/yuezk/GlobalProtect-openconnect/issues/423)) - GUI: support configure the external browser to use for authentication (fix [#423](https://github.com/yuezk/GlobalProtect-openconnect/issues/423))

View File

@ -10,12 +10,24 @@ pub fn openssl_conf() -> String {
[openssl_init] [openssl_init]
ssl_conf = ssl_sect ssl_conf = ssl_sect
providers = provider_sect
[ssl_sect] [ssl_sect]
system_default = system_default_sect system_default = system_default_sect
[system_default_sect] [system_default_sect]
Options = {}", Options = {}
[provider_sect]
default = default_sect
legacy = legacy_sect
[default_sect]
activate = 1
[legacy_sect]
activate = 1
",
option option
) )
} }