ybaas

Crates.ioybaas
lib.rsybaas
version0.0.19
sourcesrc
created_at2019-01-27 10:53:57.804861
updated_at2024-08-05 23:33:04.875117
descriptionDon't you love when you accidentally tap your Yubikey when you have your IRC client in focus and you send 987947 into Libera? Want to be able to have that experience without having to reach all the way over to your laptop's USB port? Don't want the complexity of installing and using the yubibomb CLI tool? Now you can use yubibomb as a service!
homepage
repositoryhttps://github.com/bowlofeggs/ybaas
max_upload_size
id110900
size77,906
Randy Barlow (bowlofeggs)

documentation

https://docs.rs/ybaas

README

ybaas (Yubibomb as a Service) is a Rust microservice that gives you a hosted yubibomb so your users don't have to deal with the complexities of installing and using the command line tool itself. You can use it to pretend to accidentally press your Yubikey while your IRC client has the keyboard focus! Usage example:

$ curl http://localhost:3030/hotp
869926

This project is available on crates.io.

Install

DockerHub

ybaas is available on DockerHub for x86_64 systems. You can run it with podman or docker. For example:

$ podman run -d --net=host docker.io/bowlofeggs/ybaas:latest
$ curl http://localhost:3030/hotp
375633

GitHub

Linux x86_64 executables are available from GitHub at https://github.com/bowlofeggs/ybaas/releases.

Build from source

You can install Rust, and then build it from source yourself:

$ git clone git@github.com:bowlofeggs/ybaas.git
$ cd ybaas
$ cargo build --release
$ ./target/release/ybaas &
$ curl http://localhost:3030/hotp
171033
Commit count: 98

cargo fmt