pkg.soopen package index

brew / 排名 2223

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 lego

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lego

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lego

MacPorts ports tree · security/lego/Portfile · 来源: api.github.com

Linux

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

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

Debian apt已验证 · 92%
sudo apt install lego

Debian stable package indexes · lego · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lego

Fedora Rawhide package metadata · lego · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S lego

Arch Linux sync databases · lego · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install lego

openSUSE Tumbleweed package metadata · lego · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/lego

Scoop official bucket manifest trees · bucket/lego.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id GoACME.lego -e

Windows Package Manager source index · GoACME.lego · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Let's Encrypt client and ACME library

命令和别名

  • lego

历史

项目历史与用法

Lego is an ACME client and Go library for obtaining, renewing, and revoking certificates from Let's Encrypt and other ACME certificate authorities.

项目历史

The project began in 2015, before Let's Encrypt's public beta and before ACME became an RFC. A maintainer discussion explains that lego started around the need to make HTTPS automatic in a Go web-server project, at a time when Certbot still had a different name and ACME client tooling was experimental.

Lego evolved into both a command-line client and an embeddable Go library. Its docs emphasize support for ACME v2/RFC 8555, multiple ACME servers, HTTP-01, DNS-01, TLS-ALPN-01, DNS-PERSIST-01, wildcard and SAN certificates, and a large DNS-provider integration matrix.

采用历史

Lego's package-manager adoption is broad because certificate automation needs simple deployment on servers, containers, NAS devices, and CI hosts. The Homebrew, Debian, Ubuntu, Alpine, Arch, MacPorts, Nix, Scoop, winget, and zypper package presence in the input mirrors that role: it is a practical infrastructure binary rather than a language-only library.

使用方式

Users commonly call `lego run` or `lego renew` with an email, domains, and a challenge method. DNS-01 support is especially important for wildcard certificates and machines that cannot expose HTTP challenges; the docs maintain per-provider credential and environment-variable pages for that integration surface.

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

Lego is package-nerd significant because it turned the messy edge of ACME automation into a portable Go binary with hundreds of provider integrations. It also became a library substrate for other Go programs that wanted certificate automation without shelling out to Certbot.

时间线

  • 2015: The project started before Let's Encrypt's public beta.
  • 2015-12-03: Dependency metadata records lego v0.1.0.
  • 2019-03: RFC 8555 standardized ACME v2.
  • 2024-09-05: The project disclosed GHSA-q82r-2j7m-9rv4 for HTTPS enforcement in ACME API use.
  • 2026-05: Official docs listed more than 200 DNS providers.

Related projects

  • Related ACME clients include Certbot, acme.sh, dehydrated, Caddy's automatic HTTPS stack, Traefik's ACME support, win-acme, and Boulder, the Let's Encrypt CA software. Related standards include ACME RFC 8555 and challenge specifications such as HTTP-01, DNS-01, and TLS-ALPN-01.

安全态势

尚未找到受保护工具覆盖

没有找到 lego 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lego可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本5.3.1
管理器更新时间2026-07-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:lego
版本5.3.1
软件包管理器Homebrew
主页https://go-acme.github.io/lego/
仓库https://github.com/go-acme/lego
最后更新2026-07-26T13:41:01+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

lego 4.9.1-2

Let's Encrypt client

https://github.com/go-acme/lego

sudo apt install lego
  • Section: devel
  • Architecture: amd64
  • Source Package: golang-github-xenolf-lego
  • 2 依赖
  • normalized package name match
  • 匹配方式:Lego
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lego from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lego

nix profile install nixpkgs#lego
  • normalized package name match
  • 匹配方式:Lego
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/lego/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lego 4.9.1-2

Let's Encrypt client

https://github.com/go-acme/lego

sudo apt install lego
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: golang-github-xenolf-lego
  • 2 依赖
  • normalized package name match
  • 匹配方式:Lego
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lego from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lego 4.35.2-r2

Let's Encrypt client and ACME library written in Go

https://github.com/go-acme/lego

sudo apk add lego
  • License: MIT
  • Architecture: x86_64
  • Source Package: lego
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lego
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lego from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lego-doc 4.35.2-r2

Let's Encrypt client and ACME library written in Go (documentation)

https://github.com/go-acme/lego

sudo apk add lego-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: lego
  • normalized package name match
  • 匹配方式:Lego
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lego-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

lego 5.3.1-1.fc45

Let's Encrypt/ACME client written in Go

https://github.com/go-acme/lego

sudo dnf install lego
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lego
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Lego
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lego from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

lego 5.3.1-1

Lets Encrypt client and ACME library

https://go-acme.github.io/lego

sudo pacman -S lego
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lego
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lego from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lego 5.3.1-1.2

Let's Encrypt/ACME client and library written in Go

https://github.com/go-acme/lego

sudo zypper install lego
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lego
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lego
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lego from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

lego

sudo port install lego
  • normalized package name match
  • 匹配方式:Lego
MacPorts ports tree · api.github.com · MacPorts ports tree: security/lego/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/lego

scoop install main/lego
  • normalized package name match
  • 匹配方式:Lego
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/lego.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

GoACME.lego

winget install --id GoACME.lego -e
  • normalized package name match
  • 匹配方式:Lego
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GoACME.lego from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation