QCard

Crates.ioQCard
lib.rsQCard
version
sourcesrc
created_at2025-03-02 05:56:12.466253+00
updated_at2025-03-02 05:56:12.466253+00
descriptionQWERTYCards for the everyman developer.
homepage
repository
max_upload_size
id1574295
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Michal S. (ihatethefrench)

documentation

README

QCard

QCard or qcard is a simple CLI tool made to emulate the function of a Qwertycard (as seen on their website)

There are no build-time or run-time dependencies, other than having a Wayland or X environment on Linux.

This tool is meant to work on Linux and Windows, and has been tested on both, however it should have no issue working with macOS or any of the *BSDs provided an X or Wayland environment is present.

Configuration

There are 2 mandatory and 1 optional environment variables that you need to set to use QCard.

  • QCARD_DICT - The cipher on the front of the card, all characters arranged into one string. (Q-Y, then A-L, then Z-M, all in the order they appear on your keyboard with no spacing or delimiters.)
  • QCARD_SPACE - The characters found on the spacebar on the front of the card.
  • QCARD_SECRET (Optional) - The secret to put in the middle of the password. If omitted it will be replaced with the string "<SECRET>"

Alternatively, you do not need a Qwertycard to obtain the DICT/SPACE. You can use

How it works

As explained on the website, each Qwertycard password has 3 components:

  • The cipher, which is on the front of the card, each key on a QWERTY keyboard being represented by a random ASCII character.
  • A secret, which you do not store anywhere and keep in your memory.
  • The prefix/space, which is found on the spacebar of the QWERTY keyboard on the front of the card.

The password is then constructed as follows:

SPACE + SECRET + CIPHERED SERVICE NAME

The service name, e.g., for www.amazon.com being AMAZON.

Commit count: 0

cargo fmt