macOS
brew install gsasllocal Homebrew formula metadata
brew
SASL library command-line interface. Version 2.2.4 via Homebrew; verified 2026-06-16.
install
brew install gsasllocal Homebrew formula metadata
sudo apt install gsaslDebian stable package indexes · gsasl · source: deb.debian.org
nix profile install nixpkgs#gsaslnixpkgs package indexes · pkgs/by-name/gs/gsasl/package.nix · source: api.github.com
sudo pacman -S gsaslArch Linux sync databases · gsasl · source: geo.mirror.pkgbuild.com
sudo zypper install gsaslopenSUSE Tumbleweed package metadata · gsasl · source: download.opensuse.org
overview
SASL library command-line interface
history
GNU SASL is the GNU project's implementation of the Simple Authentication and Security Layer framework. It is both a C library, libgsasl, and a command-line program, gsasl, aimed at applications that need SASL authentication for protocols such as IMAP, SMTP, and XMPP.
The package sits in the network-authentication layer rather than in a user-facing mail or chat client. Its value is that application authors can delegate SASL mechanisms, callback handling, and protocol details to a small portable C library.
The project began in 2002 as libgsasl and became an official GNU package in December 2002. The GNU project page records the initial 0.0.0 release on 2002-10-07, the rename from libgsasl to GNU SASL in 0.0.4, and the opening of GNU web pages with development moved to Savannah.
Early development focused on establishing a clean-room SASL implementation with clear copyright and licensing, then broadening mechanism support. The GNU page lists goals such as thread safety, internationalization through SASLprep, portability, and callbacks that let the embedding application control authorization infrastructure.
The licensing story is part of the project's identity. The GNU SASL page says the library was changed to LGPLv2.1+ because other free SASL implementations existed and the maintainer expected that LGPL terms would invite more help, while the command-line application and tests later moved to GPLv3-or-later.
The project evolved through major protocol additions: GSSAPI support in 2003, SCRAM-SHA-1 experiments in 2009, GS2-KRB5 and SCRAM-SHA-1(-PLUS) in the 2010 stable series, SAML20 and OPENID20 in 2012, SCRAM-SHA-256 in 2021, and a 2.0.0 line in 2022 that dropped obsolete APIs.
GNU SASL's adoption is best visible in other network software. The project page lists free software users including Exim, Mutt, GNU Mailutils, msmtp and mpop, VMime, curl, Jabberd2, and GNU Anubis.
Its adoption pattern is typical of infrastructure libraries: few end users invoke it directly, but maintainers of mail, XMPP, and transfer software package it so that authentication mechanisms are available through a shared implementation rather than duplicated in every client.
The project also tracks portability explicitly. The GNU page mentions Windows resources, a native Visual Studio build in 2008, and release engineering around reproducible tarballs and CI across several GNU/Linux-derived systems in the 2.2 series.
Library users embed libgsasl and provide callbacks for authentication and authorization data. The command-line gsasl tool is useful for testing SASL exchanges and for exercising mechanisms outside a full mail or chat client.
The supported mechanism list is broad for a small C library: ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, OPENID20, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SCRAM-SHA-256, SCRAM-SHA-256-PLUS, SAML20, and SECURID are documented by the project README and GNU page.
GNU SASL is package-nerd material because it is a low-level authentication dependency with a CLI attached. It is easy to overlook until a mail client, MTA, or XMPP server needs a specific SASL mechanism or a distro wants one shared, auditable implementation.
Its release history also exposes packaging concerns that library maintainers care about: ABI/API transitions, optional Kerberos/GSS choices, Windows portability, reproducible tarballs, and integration tests against Dovecot and GNU Mailutils.
security posture
No matching local secret-handling manifest was found for gsasl. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gsasl | cli | global executable |
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.
https://www.gnu.org/software/gsasl/
install metadata
| Package key | brew:gsasl |
|---|---|
| Version | 2.2.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gsasl |
| Homepage | https://www.gnu.org/software/gsasl/ |
| Repository | https://gitlab.com/gsasl/gsasl |
| Upstream docs | https://www.gnu.org/s/gsasl/manual/gsasl.html |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gsasl/gsasl-2.2.4.tar.gz |
| Last updated | 2026-06-16T12:55:03Z |
| Pulse | updated |
| Dependencies | gettext, libgcrypt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gsasl |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gsasl 2.2.2-1.1
GNU SASL command line utility
https://www.gnu.org/software/gsasl/
sudo apt install gsaslgsasl-common 2.2.2-1.1
GNU SASL platform independent files
https://www.gnu.org/software/gsasl/
sudo apt install gsasl-commongsasl-doc 2.2.2-1.1
GNU SASL documentation
https://www.gnu.org/software/gsasl/
sudo apt install gsasl-doclibgsasl-dev 2.2.2-1.1
Development files for the GNU SASL library
https://www.gnu.org/software/gsasl/
sudo apt install libgsasl-devlibgsasl18 2.2.2-1.1
GNU SASL library
https://www.gnu.org/software/gsasl/
sudo apt install libgsasl18gsasl
nix profile install nixpkgs#gsaslgsasl 2.2.1-1willsync1build2
GNU SASL command line utility
https://www.gnu.org/software/gsasl/
sudo apt install gsaslgsasl-common 2.2.1-1willsync1build2
GNU SASL platform independent files
https://www.gnu.org/software/gsasl/
sudo apt install gsasl-commongsasl-doc 2.2.1-1willsync1build2
GNU SASL documentation
https://www.gnu.org/software/gsasl/
sudo apt install gsasl-doclibgsasl-dev 2.2.1-1willsync1build2
Development files for the GNU SASL library
https://www.gnu.org/software/gsasl/
sudo apt install libgsasl-devlibgsasl18 2.2.1-1willsync1build2
GNU SASL library
https://www.gnu.org/software/gsasl/
sudo apt install libgsasl18gsasl 2.2.3-1
Simple Authentication and Security Layer framework and a few common SASL mechanisms
https://www.gnu.org/software/gsasl/
sudo pacman -S gsaslgsasl 2.2.3-1.1
Implementation of the SASL framework and a few common SASL mechanisms
https://www.gnu.org/software/gsasl/
sudo zypper install gsaslgsasl-devel 2.2.3-1.1
Headers for GNU SASL, an implementation of the SASL framework
https://www.gnu.org/software/gsasl/
sudo zypper install gsasl-develgsasl-lang 2.2.3-1.1
Translations for package gsasl
https://www.gnu.org/software/gsasl/
sudo zypper install gsasl-langlibgsasl18 2.2.3-1.1
Implementation of the SASL framework and a few common SASL mechanisms
https://www.gnu.org/software/gsasl/
sudo zypper install libgsasl18source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.