# 使用 Homebrew, apk, apt, Nix, pacman, zypper, dnf 安装 stoken

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

## 安装

```sh
sudo av install brew:stoken
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stoken
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add stoken
```

  证据: Alpine Linux edge package indexes: stoken from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install stoken
```

  证据: Debian stable package indexes: stoken from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#stoken
```

  证据: nixpkgs package indexes: stoken from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S stoken
```

  证据: Arch Linux sync databases: stoken from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install stoken
```

  证据: openSUSE Tumbleweed package metadata: stoken from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install stoken-cli
```

  证据: Fedora Rawhide package metadata: stoken-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:stoken
- **软件包管理器:** Homebrew
- **版本:** 0.93
- **来源摘要:** Tokencode generator compatible with RSA SecurID 128-bit (AES)
- **主页:** <https://github.com/stoken-dev/stoken>
- **仓库:** <https://github.com/stoken-dev/stoken>
- **最后更新:** 2026-05-11T00:44:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stoken (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.93
## 项目历史与用法

stoken is a Unix/Linux software token for RSA SecurID-compatible 128-bit AES tokens. In package-manager terms it is the small command-line utility people install when they need to import a seed, keep it encrypted locally, and print tokencodes without using a vendor GUI.

### 项目历史

The upstream wiki describes stoken as an open source hobbyist project, not affiliated with RSA Security. Its GitHub README presents the project as a set of Unix-oriented components: a CLI, a GTK GUI, a shared library, and supporting interfaces for token generation.

### 采用历史

The SourceForge wiki notes release tarballs, GitHub as the head-of-tree development location, and availability in Debian Jessie and later, Ubuntu 13.10 and later, and Fedora 19 and later. The supplied Homebrew metadata also shows packaging across Homebrew, Alpine, Debian/Ubuntu, Fedora, Nix, Arch, and openSUSE-derived package names.

### 使用方式

The man page centers stoken around `stoken import` and `stoken tokencode`: users import raw token strings, mobile-token URIs, or `.sdtid` XML files, then display the current or next tokencode. The same file documents `~/.stokenrc` as the local token store, which is why the config and credential location are the same.

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

stoken matters to package users because it turns a proprietary enterprise authentication workflow into a scriptable Unix command. Its presence in multiple distro package sets also made RSA SecurID-compatible token generation available through normal package-manager channels rather than manual vendor tooling.

### 时间线

- 2012: stoken man page documents the CLI and `~/.stokenrc` token store.
- 2013: Upstream wiki reports Ubuntu 13.10+ availability.
- 2014: Upstream wiki reports Debian Jessie+ and Fedora 19+ availability.

### Related projects

- The upstream wiki points Android users to Easy Token, based on libstoken. The README also positions stoken alongside RSA SecurID token formats such as compressed token strings, iPhone-style token URIs, Android-style token URIs, and `.sdtid` files.

### 来源

- <https://github.com/stoken-dev/stoken#readme>
- <https://raw.githubusercontent.com/stoken-dev/stoken/main/stoken.1>
- <https://sourceforge.net/p/stoken/wiki/Home/>
- input.source_facts.package-manager


## 安全说明

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



## 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

- Unix: ~/.stokenrc

## Credential files

- Unix: ~/.stokenrc
## 其他软件包管理器记录

- Debian apt - libstoken-dev - 0.92-1.1+b2: normalized package name match | Debian stable package indexes: libstoken-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Software Token for cryptographic authentication - development files | http://stoken.sf.net/
- Debian apt - libstoken1t64 - 0.92-1.1+b2: normalized package name match | Debian stable package indexes: libstoken1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Software Token for cryptographic authentication - shared library | http://stoken.sf.net/
- Debian apt - stoken - 0.92-1.1+b2: normalized package name match | Debian stable package indexes: stoken from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Software Token for cryptographic authentication | http://stoken.sf.net/
- Nix - stoken: normalized package name match | nixpkgs package indexes: stoken from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libstoken-dev - 0.92-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libstoken-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Software Token for cryptographic authentication - development files | http://stoken.sf.net/
- Ubuntu apt - libstoken1t64 - 0.92-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libstoken1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Software Token for cryptographic authentication - shared library | http://stoken.sf.net/
- Ubuntu apt - stoken - 0.92-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: stoken from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Software Token for cryptographic authentication | http://stoken.sf.net/
- apk - stoken - 0.93-r0: normalized package name match | Alpine Linux edge package indexes: stoken from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems | https://github.com/cernekee/stoken
- apk - stoken-dev - 0.93-r0: normalized package name match | Alpine Linux edge package indexes: stoken-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems (development files) | https://github.com/cernekee/stoken
- apk - stoken-doc - 0.93-r0: normalized package name match | Alpine Linux edge package indexes: stoken-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems (documentation) | https://github.com/cernekee/stoken
- dnf - stoken-cli - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line tool for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-devel - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-gui - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Graphical interface program for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-libs - 0.93-3.fc45: normalized package name match | Fedora Rawhide package metadata: stoken-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Libraries for stoken | https://github.com/stoken-dev/stoken
- pacman - stoken - 0.92-6: normalized package name match | Arch Linux sync databases: stoken from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | RSA SecurID-compatible software token for Linux/UNIX systems | https://github.com/cernekee/stoken
- zypper - libstoken1 - 0.93-1.11: normalized package name match | openSUSE Tumbleweed package metadata: libstoken1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Libraries for stoken | https://github.com/stoken-dev/stoken


## Combined YAML source

View the package source record on GitHub. [combined/stoken.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stoken.yml)


## 来源

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