Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libotr

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libotr

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libotr

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

Linux

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install libotr5-bin

Debian stable package indexes · libotr5-bin · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libotr-devel

openSUSE Tumbleweed package metadata · libotr-devel · 来源: download.opensuse.org

概览

软件包摘要

Off-The-Record (OTR) messaging library

命令和别名

  • otr_mackey
  • otr_modify
  • otr_parse
  • otr_readforge
  • otr_remac
  • otr_sesskeys

历史

项目历史与用法

libotr is the portable C library and toolkit for Off-the-Record Messaging, a protocol for private instant-messaging conversations with encryption, authentication during the conversation, deniability after the fact, and perfect forward secrecy.

项目历史

OTR came from academic and cypherpunk work on making instant messaging behave more like an off-the-record conversation than signed email. The official OTR site links the library, the Pidgin plugin, protocol descriptions, and the original research papers as one software-and-protocol family.

libotr served as the reference C implementation for client developers. The project paired the LGPL library with GPL toolkit programs and with pidgin-otr, making it practical for multiprotocol IM clients to add OTR without each client reimplementing the cryptographic state machine.

采用历史

OTR became especially associated with desktop XMPP and multiprotocol IM clients. XMPP Extension Protocol 0364 described OTR as the de facto standard for end-to-end encryption in XMPP, while the OTR site maintained user-facing downloads for pidgin-otr, source repositories, protocol documents, and implementation lists.

使用方式

Applications link libotr to negotiate OTR sessions, run the authenticated key exchange, encrypt and authenticate data messages, and expose higher-level verification flows such as the Socialist Millionaires' Protocol. The Homebrew package also installs toolkit programs for inspecting, modifying, and testing OTR message artifacts.

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

libotr matters because it is a small library package carrying a big protocol story: it let package managers deliver interoperable deniable encryption to chat clients before modern app-specific encrypted messengers became dominant. Its 2016 security release also shows why distro maintainers cared about keeping even niche crypto libraries patched.

时间线

  • 2004: The OTR design was published in the WPES paper linked from the official OTR documentation.
  • 2012: libotr 4.0.0 and pidgin-otr 4.0.0 were released.
  • 2014: libotr 4.1.0 was released with build-system, secure-memory, constant-time comparison, and API changes.
  • 2016: libotr 4.1.1 fixed CVE-2016-2851 and tightened protocol parsing.

Related projects

  • pidgin-otr is the best-known client plugin distributed alongside libotr by the OTR project.
  • The OTR protocol documents define the wire protocol that libotr implements.
  • XMPP clients and multiprotocol IM clients were the main ecosystem where libotr was reused.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
otr_mackeycli全局可执行文件
otr_modifycli全局可执行文件
otr_parsecli全局可执行文件
otr_readforgecli全局可执行文件
otr_remaccli全局可执行文件
otr_sesskeyscli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://otr.cypherpunks.ca/

安装元数据

软件包元数据

软件包键brew:libotr
版本4.1.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libotr
主页https://otr.cypherpunks.ca/
仓库https://bugs.otr.im/git/libotr.git
上游文档https://otr.cypherpunks.ca/
许可证LGPL-2.1-only AND GPL-2.0-only
源码归档https://otr.cypherpunks.ca/libotr-4.1.1.tar.gz
最后更新2026-06-19T12:32:38-07:00
Pulseupdated
依赖libgcrypt, libgpg-error
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libotr5-bin 4.1.1-6

toolkit for Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: libotr
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libotr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libotr5-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libotr5-dev 4.1.1-6

Off-the-Record Messaging library development files

https://otr.cypherpunks.ca/

sudo apt install libotr5-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libotr
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libotr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libotr5-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libotr5t64 4.1.1-6

Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libotr
  • 2 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libotr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libotr5t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libotr

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

libotr5-bin 4.1.1-5.1build1

toolkit for Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5-bin
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: libotr
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libotr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libotr5-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libotr5-dev 4.1.1-5.1build1

Off-the-Record Messaging library development files

https://otr.cypherpunks.ca/

sudo apt install libotr5-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libotr
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libotr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libotr5-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libotr5t64 4.1.1-5.1build1

Off-the-Record Messaging library

https://otr.cypherpunks.ca/

sudo apt install libotr5t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libotr
  • 2 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libotr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libotr5t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libotr 4.1.1-r5

Off The Record Messaging, an encryption library for secure IM conversations

http://otr.cypherpunks.ca/

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

libotr-dev 4.1.1-r5

Off The Record Messaging, an encryption library for secure IM conversations (development files)

http://otr.cypherpunks.ca/

sudo apk add libotr-dev
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libotr-doc 4.1.1-r5

Off The Record Messaging, an encryption library for secure IM conversations (documentation)

http://otr.cypherpunks.ca/

sudo apk add libotr-doc
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • normalized package name match
  • 匹配方式:Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libotr-tools 4.1.1-r5

libotr tools

http://otr.cypherpunks.ca/

sudo apk add libotr-tools
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • Source Package: libotr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libotr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libotr-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libotr 4.1.1-25.fc44

Off-The-Record Messaging library and toolkit

http://otr.cypherpunks.ca/

sudo dnf install libotr
  • License: GPL-2.0-only AND LicenseRef-Callaway-LGPLv2
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libotr
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libotr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libotr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libotr-devel 4.1.1-25.fc44

Development library and include files for libotr

http://otr.cypherpunks.ca/

sudo dnf install libotr-devel
  • License: GPL-2.0-only AND LicenseRef-Callaway-LGPLv2
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libotr
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libotr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libotr-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libotr 4.1.1-6

Off-the-Record Messaging Library and Toolkit

https://otr.cypherpunks.ca/

sudo pacman -S libotr
  • License: GPL-2.0-only AND LGPL-2.1-only
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libotr
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libotr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libotr-devel 4.1.1-4.12

Include files and development libraries

https://www.cypherpunks.ca/otr/

sudo zypper install libotr-devel
  • License: GPL-2.0-only AND LGPL-2.1-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libotr
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libotr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libotr-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libotr-tools 4.1.1-4.12

"Off The Record" messaging library toolkit

https://www.cypherpunks.ca/otr/

sudo zypper install libotr-tools
  • License: GPL-2.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libotr
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libotr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libotr-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment