Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, apt, dnf 安装 heimdal

查看 heimdal 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install heimdal

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install heimdal

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add heimdal

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

Nix已验证 · 92%
nix profile install nixpkgs#heimdal

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

Debian apt已验证 · 92%
sudo apt install heimdal-clients

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

Fedora dnf已验证 · 92%
sudo dnf install heimdal-devel

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

概览

软件包摘要

Free Kerberos 5 implementation

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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>

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bsearchcli全局可执行文件
gsstoolcli全局可执行文件
heimtoolscli全局可执行文件
hxtoolcli全局可执行文件
idn-lookupcli全局可执行文件
iprop-logcli全局可执行文件
kfcli全局可执行文件
kgetcredcli全局可执行文件
kstashcli全局可执行文件
string2keycli全局可执行文件
sucli全局可执行文件
verify_krb5_confcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本7.8.0
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/heimdal/heimdal

安装元数据

软件包元数据

软件包键brew:heimdal
版本7.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/heimdal
主页https://github.com/heimdal/heimdal
仓库https://github.com/heimdal/heimdal
上游文档https://github.com/heimdal/heimdal/wiki
许可证BSD-3-Clause AND BSD-2-Clause AND HPND-export2-US AND LicenseRef-Homebrew-public-domain
源码归档https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz
最后更新2026-06-22T14:03:42-07:00
Pulseupdated
依赖lmdb, openldap, openssl@3
构建依赖pkgconf
macOS 提供的库libxcrypt, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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