# Install libxmlsec1 with Homebrew, apt, dnf, zypper

XML security library. Version 1.3.12 via Homebrew; verified 2026-06-23.

## Install

```sh
sudo av install brew:libxmlsec1
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libxmlsec1
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libxmlsec1-dev
```

  Evidence: Debian stable package indexes: libxmlsec1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install xmlsec1
```

  Evidence: Fedora Rawhide package metadata: xmlsec1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install libxmlsec1-1
```

  Evidence: openSUSE Tumbleweed package metadata: libxmlsec1-1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libxmlsec1
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libxmlsec1>
- **Version:** 1.3.12
- **Source summary:** XML security library
- **Homepage:** <https://www.aleksey.com/xmlsec/>
- **Repository:** <https://github.com/lsh123/xmlsec>
- **Upstream docs:** <https://www.aleksey.com/xmlsec/documentation.html>
- **License:** MIT
- **Source archive:** <https://github.com/lsh123/xmlsec/releases/download/1.3.12/xmlsec1-1.3.12.tar.gz>
- **Last updated:** 2026-06-23T00:59:53Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- xmlsec1 (cli)
- xmlsec1-config (cli)
- xmlsec1 (alias)
- xmlsec1-config (alias)

## Dependencies

- gnutls
- libxml2
- openssl@3

## Build dependencies

- pkgconf

## Uses from macOS

- libxslt

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.3.12
- Package-manager updated: 2026-06-23
- Local data: ok
- Upstream repository: https://github.com/lsh123/xmlsec
- info: No cached GitHub release or tag data was available.
## Project history and usage

XML Security Library, packaged by Homebrew as libxmlsec1, is the C implementation of XML Signature and XML Encryption workflows built on libxml2. Its command-line tool, xmlsec1, made XML digital-signature verification and signing scriptable on Unix-like systems.

### Project history

Aleksey Sanin released XML Security Library 0.0.1 on 2002-03-17. Within weeks the project added online XML signature verification, test-suite work, a mailing list, RPM packages, and XML Encryption support.

The 1.0.0 release on 2003-04-17 was a major upgrade from the 0.0.x series, adding multiple crypto engines with support for OpenSSL, GnuTLS, and NSS, plus cleaned-up internals, documentation, tutorials, and examples. The project later maintained crypto-backend support for platform engines such as Microsoft CryptoAPI and MSCNG.

### Adoption history

xmlsec entered packaging systems because XML signatures are part of standards-heavy environments: SAML, document signing, SOAP-era security stacks, identity federation, and government or enterprise XML workflows. The project also published interoperability reports for XML Digital Signature and XML Encryption, which helped it function as a reference-quality implementation rather than a private library.

### How it is used

The package provides both a C library and the xmlsec1 CLI. Users sign, verify, encrypt, and decrypt XML documents, usually while selecting a crypto backend and supplying keys, certificates, or trust material through command-line options or application code.

### Why package nerds care

libxmlsec1 is significant because it connects the XML parser stack to the cryptographic stack. Its ABI, crypto backend defaults, and security hardening choices can affect language bindings and applications that validate signed XML, so distributions treat it as security-sensitive plumbing rather than a casual XML helper.

### Timeline

- 2002: XML Security Library 0.0.1 was released on 2002-03-17.
- 2002: XML Encryption support appeared in the 0.0.3 release on 2002-04-16.
- 2003: XML Security Library 1.0.0 was released on 2003-04-17 with multiple crypto-engine support.
- 2023: XML Security Library 1.3.0 introduced ABI and API breaking changes for newer XML Signature and Encryption behavior.
- 2026: XML Security Library 1.3.12 was announced on 2026-06-23 with additional crypto-algorithm support and transform-depth controls.

### Related projects

- xmlsec is built around libxml2 and related XML standards such as XML Signature, XML Encryption, Canonical XML, and Exclusive Canonical XML. Its crypto backends include OpenSSL, GnuTLS, NSS, and Windows crypto providers.

### Sources

- <https://raw.githubusercontent.com/lsh123/xmlsec/master/README.md>
- <https://www.aleksey.com/xmlsec/>
- <https://www.aleksey.com/xmlsec/documentation.html>
- <https://www.aleksey.com/xmlsec/news.html>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libxmlsec1
- **Aliases:** xmlsec1
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - libxmlsec1-dev - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1-doc - 1.2.41-1: installed executable or alias match | Debian stable package indexes: libxmlsec1-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML security library -- documentation | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64 - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-gcrypt - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-gcrypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gcrypt engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-gnutls - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-gnutls from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gnutls engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-nss - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-nss from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Nss engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - libxmlsec1t64-openssl - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: libxmlsec1t64-openssl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Openssl engine for the XML security library | https://www.aleksey.com/xmlsec/
- Debian apt - xmlsec1 - 1.2.41-1+b1: installed executable or alias match | Debian stable package indexes: xmlsec1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML security command line processor | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1-dev - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development files for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1-doc - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XML security library -- documentation | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64 - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-gcrypt - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-gcrypt from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Gcrypt engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-gnutls - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-gnutls from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Gnutls engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-nss - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-nss from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Nss engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - libxmlsec1t64-openssl - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libxmlsec1t64-openssl from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Openssl engine for the XML security library | https://www.aleksey.com/xmlsec/
- Ubuntu apt - xmlsec1 - 1.2.39-5build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: xmlsec1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | XML security command line processor | https://www.aleksey.com/xmlsec/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [gnutls](https://www.automicvault.com/pkg/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [libxml2](https://www.automicvault.com/pkg/brew/libxml2/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [aqbanking](https://www.automicvault.com/pkg/brew/aqbanking/) - Popular package that depends on this formula.
- [oath-toolkit](https://www.automicvault.com/pkg/brew/oath-toolkit/) - Popular package that depends on this formula.
- [botan](https://www.automicvault.com/pkg/brew/botan/) - Shares av.db curated category or tags: cli, cryptography, library, security.
- [gpgme](https://www.automicvault.com/pkg/brew/gpgme/) - Shares av.db curated category or tags: cli, cryptography, library, security.
- [opensc](https://www.automicvault.com/pkg/brew/opensc/) - Shares av.db curated category or tags: cli, cryptography, library, security.
- [rnp](https://www.automicvault.com/pkg/brew/rnp/) - Shares av.db curated category or tags: cli, cryptography, library, security.
- [ccrypt](https://www.automicvault.com/pkg/brew/ccrypt/) - Shares av.db curated category or tags: cli, cryptography, security.
- [cfssl](https://www.automicvault.com/pkg/brew/cfssl/) - Shares av.db curated category or tags: cli, cryptography, security.
- [gmssl](https://www.automicvault.com/pkg/brew/gmssl/) - Shares av.db curated category or tags: cli, cryptography, security.
- [gnupg-pkcs11-scd](https://www.automicvault.com/pkg/brew/gnupg-pkcs11-scd/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, openssl, openssl-3, security.
- [softhsm](https://www.automicvault.com/pkg/brew/softhsm/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, openssl, openssl-3, security.

## Combined YAML source

View the package source record on GitHub. [combined/libxmlsec1.yml](https://github.com/automic-vault/db/blob/main/combined/libxmlsec1.yml)


## Sources

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