Skip to content

Releases: indigo-dc/oidc-agent

oidc-agent 5.3.8

Choose a tag to compare

@zachmann zachmann released this 01 Sep 12:51
f31513a

Security

  • Fixed an OS command injection vulnerability (CWE-78) in the automatic browser-launch path. The authorization URL is
    built from the provider's
    authorization_endpoint discovery value and was passed to
    system("xdg-open \"<url>\"") after only replacing spaces with %20, so a malicious or compromised OpenID Provider
    could inject shell command substitution (e.g. $(...)) that executed as the user running oidc-gen
    (or the oidc-prompt GUI flow) with the default auto-open-url: true
    setting. The browser is now launched via fork()+execvp() (no shell)
    and the authorization_endpoint is validated as a well-formed http(s)
    URL before use. CVSS 3.1 8.8 High. Workarounds for older releases:
    "auto-open-url": false or oidc-gen --no-url-call.

oidc-agent 5.3.7

Choose a tag to compare

@zachmann zachmann released this 01 Sep 12:02
413d1fb

Enhancements

  • oidc-agent now tracks the used oidc authentication flow and stores it in the account configuration file. This allows a
    re-authentication to use the same flow. This is especially useful when the used client only allows certain flows.
  • Added --edit / -e option to oidc-gen to edit an existing account configuration. It behaves like --manual, but
    requires the account configuration to already exist and fails otherwise instead of creating a new configuration.
  • oidc-gen -m with an existing account configuration now auto-detects the usage of a public client from the config
    file, so the --pub flag is not longer needed.
  • Don't send Basic auth header for public clients

oidc-agent 5.3.6

Choose a tag to compare

@zachmann zachmann released this 30 Apr 06:55
3808a51

Bugfixes

  • Fixed a bug that error messages were not correctly parsed and automatic user help could not be provided.

Provider

oidc-agent 5.3.5

Choose a tag to compare

@zachmann zachmann released this 08 Apr 14:06
3947fae

Features

  • Added --trace-http FILE option to oidc-agent that writes all HTTP
    traffic with OpenID Providers to a user-specified file, including full
    request/response headers and bodies, TLS info, and per-request timing.
    This enables diagnosing issues like scope negotiation failures without
    needing external tools. (#623)

Enhancements

  • Include the OP endpoint URL in token error messages so users can
    distinguish OP-side errors from oidc-agent-side errors.
  • Log scope mismatches at NOTICE level when the OP returns different
    scopes than requested.
  • Add per-request timing (CURLINFO_TOTAL_TIME) to DEBUG log output.
  • Added log_error parameter to file I/O functions to control error
    logging, preventing unnecessary error messages when files do not
    exist. (#645)
  • The socket path trust check error message now includes the actual
    path that failed, giving users actionable diagnostic information. (#603)

Bugfixes

  • Fixed scope resolution for public clients without configured scopes:
    when scope=max is used and the public client has no scope field in
    its issuer config, oidc-agent now falls back to fetching
    scopes_supported from the OP's discovery endpoint. The interactive
    oidc-gen scope prompt now also filters default scopes against the
    OP's supported scopes. (#622)
  • Fixed socket path trust check failing on root-owned directories (e.g.
    /tmp owned by root:root with group-writable + sticky bit). GID 0
    is now trusted, mirroring the existing implicit trust of UID 0. (#603)
  • Fixed DELETE requests being logged as "Https GET".
  • Fixed compiler warnings about wrong argument types when calling
    curl_easy_setopt.
  • Fixed mismatched return type between ipc_connect declaration and
    definition.

oidc-agent 5.3.4

Choose a tag to compare

@zachmann zachmann released this 12 Dec 08:30
5fa9520
  • Allow usage of custom parameters in the device init request
  • Fix audience handling in device flow; #638

oidc-agent 5.3.3

Choose a tag to compare

@zachmann zachmann released this 22 Jul 09:15
7191e2d

Bugfixes

  • Fixed a bug that caused a segfault (and therefore crash of oidc-agent) when trying to use oidc-agent with mytoken.

oidc-agent 5.3.2

Choose a tag to compare

@zachmann zachmann released this 17 Jul 13:21
a814a62

Bugfixes

  • Fixed an internal bug, that prevented building on macos

oidc-agent 5.3.1

Choose a tag to compare

@zachmann zachmann released this 17 Jul 12:28
a665f0b

Bugfixes

  • Fixed an internal bug, that prevented building on macos

oidc-agent 5.3.0

Choose a tag to compare

@zachmann zachmann released this 16 Jul 13:31
77e592e

Features

  • The issuer.config file(s) now have support for a user_client object.
    This can be used to add a user registered client to an issuer and re-use
    accross account configurations.

Enhancements

  • Allow empty encryption password in GUI password prompts.
  • In the refresh flow, oidc-agent now does not request the offline_access scope.
  • When migrating from oidc-agent <5 the automatic update of the issuer.config
    file was improved. It can now correctly handle the case where an issuer
    existed with and without a trailing slash in the old file.

Bugfixes

  • Fixed a bug where oidc-agent would segfault if issuer.config files do
    not exist.

oidc-agent 5.2.3

Choose a tag to compare

@zachmann zachmann released this 24 Oct 08:10
5b057fc

Bugfixes

  • Fixed a bug where oidc-token would segfault if the account was not known.