# Install stoken with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Tokencode generator compatible with RSA SecurID 128-bit (AES). Version 0.93 via Homebrew; verified 2026-05-11.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stoken
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add stoken
```

  Evidence: 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 libstoken-dev
```

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

- dnf (92%):

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

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

- Nix (92%):

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

  Evidence: 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
```

  Evidence: 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 libstoken1
```

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

## Package facts

- **Package key:** brew:stoken
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stoken>
- **Version:** 0.93
- **Source summary:** Tokencode generator compatible with RSA SecurID 128-bit (AES)
- **Homepage:** <https://github.com/stoken-dev/stoken>
- **Repository:** <https://github.com/stoken-dev/stoken>
- **Upstream docs:** <https://github.com/stoken-dev/stoken#readme>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://github.com/stoken-dev/stoken/archive/refs/tags/v0.93.tar.gz>
- **Last updated:** 2026-05-11T00:44:50Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- stoken (cli)
- stoken (alias)

## Dependencies

- libtomcrypt

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Uses from macOS

- libxml2

## 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-08
- Package-manager version: 0.93
- Package-manager updated: 2026-05-11
- Local data: ok
- Upstream repository: https://github.com/stoken-dev/stoken
- Upstream latest detected: v0.93 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for stoken. Nucleus package metadata is still published here so future coverage has a stable package 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** stoken
- **Version Scheme:** 0
- **Revision:** 2
- **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 - 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-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command line tool for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-devel - 0.93-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-gui - 0.93-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Graphical interface program for stoken | https://github.com/stoken-dev/stoken
- dnf - stoken-libs - 0.93-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.9: normalized package name match | openSUSE Tumbleweed package metadata: libstoken1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Libraries for stoken | https://github.com/stoken-dev/stoken


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [openconnect](https://www.automicvault.com/pkg/brew/openconnect/) - Popular package that depends on this formula.
- [cyrus-sasl](https://www.automicvault.com/pkg/brew/cyrus-sasl/) - Shares av.db curated category or tags: authentication, cli, security.
- [google-authenticator-libpam](https://www.automicvault.com/pkg/brew/google-authenticator-libpam/) - Shares av.db curated category or tags: authentication, cli, security.
- [krb5](https://www.automicvault.com/pkg/brew/krb5/) - Shares av.db curated category or tags: authentication, cli, security.
- [linux-pam](https://www.automicvault.com/pkg/brew/linux-pam/) - Shares av.db curated category or tags: authentication, cli, security.
- [oath-toolkit](https://www.automicvault.com/pkg/brew/oath-toolkit/) - Shares av.db curated category or tags: authentication, cli, security.
- [oauth2_proxy](https://www.automicvault.com/pkg/brew/oauth2-proxy/) - Shares av.db curated category or tags: authentication, cli, security.
- [pocket-id](https://www.automicvault.com/pkg/brew/pocket-id/) - Shares av.db curated category or tags: authentication, cli, security.
- [duo_unix](https://www.automicvault.com/pkg/brew/duo-unix/) - Shares av.db curated category or tags: authentication, cli, security.
- [heimdal](https://www.automicvault.com/pkg/brew/heimdal/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, security.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
