Skip to content

deps: bump libgssapi from 0.9.1 to 0.11.0#116

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/libgssapi-0.11.0
Open

deps: bump libgssapi from 0.9.1 to 0.11.0#116
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/libgssapi-0.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Bumps libgssapi from 0.9.1 to 0.11.0.

Changelog

Sourced from libgssapi's changelog.

0.11.0

  • API: ServerCtx::step now takes a channel_bindings: Option<&[u8]> argument, mirroring ClientCtx::step, and passes it to gss_accept_sec_context. This lets an acceptor enforce channel bindings; previously the acceptor always passed null bindings. Breaking change for callers of ServerCtx::step.

0.10.0

  • SOUNDNESS: Oid is now Oid<'a>, tracking the lifetime of its BER bytes. OIDs borrowed from an OidSet can no longer be copied out and used after the set is freed. Pre-defined constants and gssapi-returned mechanism OIDs are Oid<'static>. Add assume_static and from_raw_desc (both unsafe) for the rare cases that need them.
  • SOUNDNESS: removed the safe From<gss_cred_id_t> for Cred and From<gss_OID_desc> for Oid conversions. Use Cred::from_c / Oid::from_raw_desc (both unsafe) instead — wrapping a raw handle is not a safe operation.
  • SOUNDNESS: dropped Sync from ClientCtx/ServerCtx. GSSAPI forbids concurrent use of a single security context; share via Mutex if needed. Send is retained.
  • SOUNDNESS: removed DerefMut for GssIov (stream unwrap_iov can alias buffers); use the new unsafe fn as_mut_slice when you need mutation.
  • SOUNDNESS: fixed a dangling pointer where an Oid passed by value to a mechanism argument could be dropped before the FFI call read it.
  • BUGFIX: Cred::store wrote its outputs into stack temporaries, so it always returned an empty OidSet and CredUsage::Both. It now returns what gssapi actually stored.
  • BUGFIX: GSS_NT_ANONYMOUS had a wrong BER encoding (an invalid \01 escape produced 7 bytes instead of 6). It is now 2b 06 01 05 06 03.
  • BUGFIX: ServerCtx/ClientCtx flag handling no longer discards all flags when gssapi returns an unrecognized flag bit.
  • BUGFIX: the wrapper no longer fails to build against Heimdal. It named MIT-specific struct tags (gss_name_struct, gss_cred_id_struct) to spell null handles; it now uses the portable handle typedefs, which both MIT and Heimdal provide. The s4u feature remains MIT-only (Heimdal has no gss_acquire_cred_impersonate_name / gss_store_cred_into).
  • API: OidSet no longer implements Index; use OidSet::get(i) -> Option. OidSet::new is now infallible (returns OidSet, not Result), wrapping GSS_C_NO_OID_SET until the first add.
  • API: SecurityContext inquiry methods (info, source_name, lifetime, mechanism, flags, local, open, etc.) now take &self instead of &mut self.
  • API: methods that took &Oid now take Oid by value (it is Copy).
  • API: new OidSet::singleton(oid) constructor for the common case of a set with a single member (e.g. a one-mech desired_mechs).
  • FEATURES: the default feature set is now empty. None of the optional features build on every implementation (iov/localname/store need MIT/Heimdal functions Apple's GSS.framework lacks; s4u is MIT-only)
  • BUILD: new LIBGSSAPI_IMPL env var (mit|heimdal|apple) forces the implementation, overriding autodetection. Useful when both MIT and Heimdal are installed and the probe order would otherwise pick MIT.
  • BUILD: new LIBGSSAPI_PREFIX env var (colon-separated install prefixes)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [libgssapi](https://github.com/estokes/libgssapi) from 0.9.1 to 0.11.0.
- [Changelog](https://github.com/estokes/libgssapi/blob/master/CHANGELOG)
- [Commits](https://github.com/estokes/libgssapi/commits)

---
updated-dependencies:
- dependency-name: libgssapi
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants