Automic VaultAutomic Vault

brew

Install heimdal with Homebrew, apk, apt, dnf, MacPorts, Nix

Free Kerberos 5 implementation. Version 7.8.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install heimdal

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install heimdal

MacPorts ports tree · net/heimdal/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add heimdal

Alpine Linux edge package indexes · heimdal · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install heimdal-clients

Debian stable package indexes · heimdal-clients · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install heimdal-devel

Fedora Rawhide package metadata · heimdal-devel · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#heimdal

nixpkgs package indexes · pkgs/by-name/he/heimdal/package.nix · source: api.github.com

overview

Package summary

Free Kerberos 5 implementation

Commands and aliases

  • bsearch
  • gsstool
  • heimtools
  • hxtool
  • idn-lookup
  • iprop-log
  • kf
  • kgetcred
  • kstash
  • string2key
  • su
  • verify_krb5_conf

history

Project history and usage

Heimdal is a free implementation of Kerberos 5 and related security components, including ASN.1/DER, PKIX, GSS-API tooling, client commands, KDC pieces, and administrative utilities. It matters in package-manager culture because Kerberos is infrastructure software: one package can affect login, single sign-on, service keytabs, credential caches, cross-realm trust, and legacy interoperability.

Project history

Heimdal began as an independent Kerberos 5 implementation associated with Swedish academic and research institutions. The 1998 USENIX paper by Johan Danielsson and Assar Westerlund describes it as an independently developed free Kerberos 5 implementation, unencumbered by United States export restrictions, compatible with other implementations, and close to the MIT Kerberos 5 API. That origin explains both the project's name and its long-running role as an alternative to MIT Kerberos in Unix-like systems.

The project repository describes Heimdal as implementing ASN.1/DER, PKIX, and Kerberos, with man pages for most commands and community channels for discussion and announcements. The codebase is not just a KDC: it includes client programs, libraries, administrative tools, GSS mechanisms, PKIX utilities, and support code such as roken.

Heimdal's NEWS file shows the long maintenance arc of security infrastructure. Entries include protocol and interoperability work such as AES, SPNEGO, CCAPI, KCM credential caches, Windows change-password support, incremental propagation, PKINIT work, Samba-related plugin improvements, and repeated vulnerability fixes. The release notes also show a gradual move away from weak historical cryptography, including default changes around DES and RC4 in the Heimdal 8 notes.

Adoption history

Heimdal's adoption history is tied to sites and operating systems that need Kerberos but do not necessarily choose MIT Kerberos. The input package facts record Heimdal packages across Homebrew, Debian and Ubuntu clients, Fedora development packages, MacPorts, Nix, Alpine, and other Unix packaging systems. Its presence in package managers reflects the need to build software against Kerberos and GSS-API libraries even when a machine is not itself a KDC.

The setup manual reflects real deployment patterns: administrators create realms, configure `/etc/krb5.conf`, initialize the database, manage keytabs, run kadmind, configure slave servers, and use incremental propagation. This makes Heimdal both a developer dependency and an operations package; package updates can matter to security posture, enterprise authentication, and cross-platform interoperability.

How it is used

Typical Heimdal usage spans user commands, service configuration, and realm administration. Users acquire and inspect credentials with tools such as `kinit` and `klist`; services use keytabs; administrators configure realms and KDC discovery in `krb5.conf`; KDC operators create databases, manage principals through kadmin, and propagate changes to slaves.

The manual also documents environment variables shared with MIT-style Kerberos tooling, including `KRB5_CONFIG` for alternate configuration, `KRB5CCNAME` for credential cache selection, and keytab-related variables for service and client keytabs. Those knobs are important in package environments because multiple Kerberos implementations or test realms can coexist on one machine.

Why package nerds care

Heimdal is package-nerd significant because it is one of the packages where ABI, command naming, crypto defaults, and distro policy all matter. A seemingly ordinary formula can provide libraries that many other packages link against, command names that conflict or complement system Kerberos, and defaults that affect whether old realms, Samba, SSH/GSSAPI, LDAP, or campus SSO integrations keep working.

It is also a reminder that package managers distribute institutions, not just programs: Kerberos sits at the boundary between operating systems, universities, enterprises, network filesystems, directory services, and standards bodies. Heimdal's independent origin, BSD-style licensing, and broad Unix packaging make it an enduring alternative implementation in that ecosystem.

Timeline

  • 1998: Danielsson and Westerlund presented Heimdal as an independent free Kerberos 5 implementation at USENIX.
  • 2000s: NEWS entries document Kerberos 4 compatibility work, Windows password-change support, AFS-related features, AES, SPNEGO, CCAPI, and KCM support.
  • 2009: GitHub repository metadata records the hosted Heimdal repository.
  • 2022: Heimdal 7.8 release notes list multiple security fixes, including PAC parsing, SPNEGO, DES/3DES/arcfour, Unicode normalization, and ASN.1 decoder issues.
  • Heimdal 8 development: NEWS entries document OpenSSL 3 support, PKINIT algorithm agility, stronger default enctypes, KDC/plugin improvements, KEYRING credential cache support, and removal of NTLM-related functionality.

Related projects

  • Heimdal is directly related to MIT Kerberos, the Kerberos protocol standards, GSS-API, PKIX tooling, Samba integration, AFS-related workflows, OpenSSH/GSSAPI deployments, and operating-system Kerberos stacks. In package managers it often appears beside MIT krb5, cyrus-sasl, OpenLDAP, Samba, SSH, and other software that can use Kerberos credentials.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/krb5.conf/var/heimdal/kadmind.acl/var/heimdal/slaves

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/krb5.keytab%{LOCALSTATEDIR}/user/%{euid}/client.keytab/tmp/krb5cc_<uid>

executables

Installed executables

CommandKindExposureNote
bsearchcliglobal executable
gsstoolcliglobal executable
heimtoolscliglobal executable
hxtoolcliglobal executable
idn-lookupcliglobal executable
iprop-logcliglobal executable
kfcliglobal executable
kgetcredcliglobal executable
kstashcliglobal executable
string2keycliglobal executable
sucliglobal executable
verify_krb5_confcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version7.8.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/heimdal/heimdal

install metadata

Package metadata

Package keybrew:heimdal
Version7.8.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/heimdal
Homepagehttps://github.com/heimdal/heimdal
Repositoryhttps://github.com/heimdal/heimdal
Upstream docshttps://github.com/heimdal/heimdal/wiki
LicenseBSD-3-Clause AND BSD-2-Clause AND HPND-export2-US AND LicenseRef-Homebrew-public-domain
Source archivehttps://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz
Last updated2026-06-22T14:03:42-07:00
Pulseupdated
Dependencieslmdb, openldap, openssl@3
Build dependenciespkgconf
Uses from macOSlibxcrypt, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameheimdal
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

heimdal-clients 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - clients

http://www.h5l.org/

sudo apt install heimdal-clients
  • Section: net
  • Architecture: amd64
  • Source Package: heimdal
  • 17 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-clients from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heimdal-dev 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - development files

http://www.h5l.org/

sudo apt install heimdal-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: heimdal
  • 1 dependencies
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heimdal-docs 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - documentation

http://www.h5l.org/

sudo apt install heimdal-docs
  • Section: doc
  • Architecture: all
  • Source Package: heimdal
  • 2 optional deps
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-docs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heimdal-kcm 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - KCM daemon

http://www.h5l.org/

sudo apt install heimdal-kcm
  • Section: net
  • Architecture: amd64
  • Source Package: heimdal
  • 5 dependencies
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-kcm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heimdal-kdc 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - key distribution center (KDC)

http://www.h5l.org/

sudo apt install heimdal-kdc
  • Section: net
  • Architecture: amd64
  • Source Package: heimdal
  • 19 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-kdc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heimdal-multidev 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - Multi-implementation Development

http://www.h5l.org/

sudo apt install heimdal-multidev
  • Section: devel
  • Architecture: amd64
  • Source Package: heimdal
  • 19 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-multidev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heimdal-servers 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - server programs

http://www.h5l.org/

sudo apt install heimdal-servers
  • Section: net
  • Architecture: amd64
  • Source Package: heimdal
  • 6 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heimdal-servers from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libasn1-8t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - ASN.1 library

http://www.h5l.org/

sudo apt install libasn1-8t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libasn1-8t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgssapi3t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - GSSAPI support library

http://www.h5l.org/

sudo apt install libgssapi3t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgssapi3t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhcrypto5t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - crypto library

http://www.h5l.org/

sudo apt install libhcrypto5t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhcrypto5t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhdb9t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - kadmin server library

http://www.h5l.org/

sudo apt install libhdb9t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 8 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhdb9t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheimbase1t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - Base library

http://www.h5l.org/

sudo apt install libheimbase1t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheimbase1t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheimntlm0t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - NTLM support library

http://www.h5l.org/

sudo apt install libheimntlm0t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheimntlm0t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhx509-5t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - X509 support library

http://www.h5l.org/

sudo apt install libhx509-5t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhx509-5t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libkadm5clnt7t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Heimdal Kerberos - kadmin client library

http://www.h5l.org/

sudo apt install libkadm5clnt7t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libkadm5clnt7t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libkadm5srv8t64-heimdal 7.8.git20221117.28daf24+dfsg-9+deb13u1

Libraries for Heimdal Kerberos

http://www.h5l.org/

sudo apt install libkadm5srv8t64-heimdal
  • Section: libs
  • Architecture: amd64
  • Source Package: heimdal
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Heimdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libkadm5srv8t64-heimdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment