{"id":13547691,"url":"https://github.com/stoken-dev/stoken","last_synced_at":"2025-12-11T23:01:52.092Z","repository":{"id":4960480,"uuid":"6117968","full_name":"stoken-dev/stoken","owner":"stoken-dev","description":"RSA SecurID-compatible software token for Linux/UNIX systems","archived":false,"fork":false,"pushed_at":"2023-05-17T17:24:19.000Z","size":462,"stargazers_count":423,"open_issues_count":33,"forks_count":79,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-12-11T01:54:33.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://stoken.sf.net","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stoken-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"COPYING.LIB","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-10-08T00:53:58.000Z","updated_at":"2025-12-08T10:37:28.000Z","dependencies_parsed_at":"2023-07-05T20:46:12.497Z","dependency_job_id":null,"html_url":"https://github.com/stoken-dev/stoken","commit_stats":{"total_commits":290,"total_committers":16,"mean_commits":18.125,"dds":"0.14827586206896548","last_synced_commit":"837e843e8850d14a5d49d799b066d61d04fd649a"},"previous_names":["cernekee/stoken"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/stoken-dev/stoken","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoken-dev%2Fstoken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoken-dev%2Fstoken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoken-dev%2Fstoken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoken-dev%2Fstoken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stoken-dev","download_url":"https://codeload.github.com/stoken-dev/stoken/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoken-dev%2Fstoken/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27664144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:00:59.692Z","updated_at":"2025-12-11T23:01:51.781Z","avatar_url":"https://github.com/stoken-dev.png","language":"C","readme":"### Default branch renamed to `main`\n\nOn May 17, 2023, the [default branch was renamed to `main`](https://sfconservancy.org/news/2020/jun/23/gitbranchname/). If you have a local repository, run the following commands:\n\n```bash\ngit branch -m master main\ngit fetch origin\ngit branch -u origin/main main\ngit remote set-head origin -a\n```\n\nstoken - Software Token for Linux/UNIX\n======================================\n\nstoken is a tokencode generator compatible with RSA SecurID 128-bit (AES)\ntokens.  The project includes several components:\n\n * A simple command line interface (CLI) used to manage and manipulate tokens\n * A GTK+ GUI with cut\u0026amp;paste functionality\n * A shared library allowing other software to generate tokencodes on demand\n * Also permits the blind or other disabled people to jump these hurdles or systems.\n\n## Building on Linux\n\n### Dependencies\n\n * libtomcrypt or nettle\n * libxml2\n * libgtk3.0 (required for stoken-gui only)\n\nIf you are building from Git, you'll need to install autoconf / automake /\nlibtool, and run autogen.sh first.  This is not necessary if building from\na released source tarball.\n\nOn Debian or Ubuntu, this should satisfy most/all dependencies:\n\n    sudo apt-get install libgtk-3-dev libtomcrypt-dev libxml2-dev autoconf automake libtool build-essential\n\n### Compile instructions\n\n    ./autogen.sh  # from Git only; not necessary if building from tarball\n    ./configure\n    make\n    make check\n    make install\n\n## Usage\n\nFirst, import a token from a raw string or an \"sdtid\" XML file:\n\n    stoken import --token 2000123456...\n    stoken import --token com.rsa.securid.iphone://ctf?ctfData=2000123456...\n    stoken import --file mytoken.sdtid\n\nThis will prompt for an optional password, so that your seed is encrypted\non disk.\n\nNext, use the CLI or GUI to show the current tokencode:\n\n    stoken tokencode\n    stoken-gui \u0026\n    \nYou can view the next-tokencode using the following:\n\n    stoken tokencode --next\n\nIf your token requires a PIN, stoken will prompt for it. You can use\n\u003ccode\u003estoken setpin\u003c/code\u003e to cache your PIN in \u003ccode\u003e~/.stokenrc\u003c/code\u003e.\nThis is much less secure, but may be useful for automation.\n\nModern versions of OpenConnect link against libstoken and can send an\nautogenerated tokencode as the password. Import your token using the\nabove instructions, then:\n\n    openconnect -u USERNAME --token-mode=rsa HOSTNAME\n\nSee the man pages for additional details: stoken(1), stoken-gui(1)\n\nSee examples/ and src/stoken.h for information on using the shared library\ninterface (libstoken) to generate tokencodes from other applications.\n\n## Screenshots\n\n\u003ctable border=1 cellpadding=15\u003e\n\u003ctr align=\"center\"\u003e\n  \u003ctd\u003e\u003ccode\u003estoken-gui\u003c/code\u003e\n  \u003ctd\u003e\u003ccode\u003estoken-gui --small\u003c/code\u003e\n\u003ctr valign=\"top\"\u003e\n  \u003ctd\u003e\u003cimg src=\"misc/screenshot-0.png\"\u003e\n  \u003ctd\u003e\u003cimg src=\"misc/screenshot-1.png\"\u003e\n\u003c/table\u003e\n\n## Building on other platforms\n\n### Mac OS X\n\n#### Initial setup\n\nThe following configuration was tested under Mavericks 10.9.5; other\nvariants may work too:\n\n * Install gcc/make/headers: \u003ccode\u003excode-select --install\u003c/code\u003e\n * Install [Homebrew](http://brew.sh/)\n * Install [XQuartz](http://xquartz.macosforge.org/) to support GTK+3\n * Use Homebrew to satisfy dependencies: \u003ccode\u003ebrew install git autoconf\n   automake libtool nettle pkg-config gtk+3 gnome-icon-theme\n   hicolor-icon-theme\u003c/code\u003e\n * Use OSX's builtin libxml2 (no action needed)\n\n#### Compiling\n\nNote that GNU libtool is called \u003ccode\u003eglibtool\u003c/code\u003e to avoid collisions\nwith Apple's libtool program:\n\n    export LIBTOOL=glibtool\n    git clone git://github.com/cernekee/stoken\n    cd stoken\n    ./autogen.sh\n    ./configure\n    make\n    make check\n    make install\n\n### Experimental Windows build\n\nAs of v0.8, stoken can be built for Windows using the [MinGW cross toolchain\non Fedora](http://fedoraproject.org/wiki/MinGW).  This is not tested\nor maintained regularly.\n\n#### Initial setup\n\nOn a Fedora 20 PC (other versions may work as well), install the build\ndependencies:\n\n    yum groupinstall \"Development Tools\"\n    yum install git autoconf automake libtool mingw32-gnutls mingw32-libxml2 mingw32-gtk3\n\n#### Compiling\n\n    git clone git://github.com/cernekee/stoken\n    cd stoken\n    ./autogen.sh\n    mingw32-configure\n    make winpkg\n\nIf all goes well, you should be able to copy \u003ccode\u003ewinpkg.zip\u003c/code\u003e to\na Windows PC and run \u003ccode\u003estoken.exe\u003c/code\u003e or \u003ccode\u003estoken-gui.exe\u003c/code\u003e.\n\n#### TODO\n\nSeveral items are known to be missing or broken on the Windows build:\n\n * Default home directory is probably incorrect\n * No installer\n * The GUI requires its assets to be in the current directory\n * Password entry is not masked\n * \u003ccode\u003estoken --random\u003c/code\u003e flag\n * No charset translation on filenames\n\n## Misc\n\nAuthor: Kevin Cernekee \u0026lt;cernekee@gmail.com\u0026gt;\n\nLicense: LGPLv2.1+\n\nstoken is a hobbyist project, not affiliated with or endorsed by\nRSA Security.\n","funding_links":[],"categories":["C","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoken-dev%2Fstoken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoken-dev%2Fstoken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoken-dev%2Fstoken/lists"}