Repository navigation
Releases: indigo-dc/oidc-agent
Releases · indigo-dc/oidc-agent
Release list
oidc-agent 5.3.8
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_endpointdiscovery 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 runningoidc-gen
(or theoidc-promptGUI flow) with the defaultauto-open-url: true
setting. The browser is now launched viafork()+execvp()(no shell)
and theauthorization_endpointis validated as a well-formedhttp(s)
URL before use. CVSS 3.1 8.8 High. Workarounds for older releases:
"auto-open-url": falseoroidc-gen --no-url-call.
oidc-agent 5.3.7
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/-eoption tooidc-gento 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 -mwith an existing account configuration now auto-detects the usage of a public client from the config
file, so the--pubflag is not longer needed.- Don't send Basic auth header for public clients
oidc-agent 5.3.6
Bugfixes
- Fixed a bug that error messages were not correctly parsed and automatic user help could not be provided.
Provider
- Added a public client for https://proxy.myaccessid.org
oidc-agent 5.3.5
Features
- Added
--trace-http FILEoption tooidc-agentthat 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 fromoidc-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_errorparameter 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:
whenscope=maxis used and the public client has no scope field in
its issuer config,oidc-agentnow falls back to fetching
scopes_supportedfrom the OP's discovery endpoint. The interactive
oidc-genscope 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.
/tmpowned byroot:rootwith 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_connectdeclaration and
definition.
oidc-agent 5.3.4
- Allow usage of custom parameters in the device init request
- Fix audience handling in device flow; #638
oidc-agent 5.3.3
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
Bugfixes
- Fixed an internal bug, that prevented building on macos
oidc-agent 5.3.1
Bugfixes
- Fixed an internal bug, that prevented building on macos
oidc-agent 5.3.0
Features
- The
issuer.configfile(s) now have support for auser_clientobject.
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-agentnow does not request theoffline_accessscope. - 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-agentwould segfault if issuer.config files do
not exist.
oidc-agent 5.2.3
Bugfixes
- Fixed a bug where
oidc-tokenwould segfault if the account was not known.