Service for networked validation of iButtons for Bitlair
  • Rust 95.2%
  • Nix 4.8%
Find a file
polyfloyd f0164b35eb
All checks were successful
Build / build (push) Successful in 6m1s
ci: Binary glibc should be patched
2026-03-08 15:07:24 +01:00
.forgejo/workflows ci: Binary glibc should be patched 2026-03-08 15:07:24 +01:00
src More flexible meta formatting 2026-03-07 22:22:29 +01:00
support Add CI packaging workflow 2026-03-08 14:36:17 +01:00
.gitignore Use TLS 2026-03-07 21:41:37 +01:00
Cargo.lock Use TLS 2026-03-07 21:41:37 +01:00
Cargo.toml Use TLS 2026-03-07 21:41:37 +01:00
flake.lock Add CI packaging workflow 2026-03-08 14:36:17 +01:00
flake.nix ci: Binary glibc should be patched 2026-03-08 15:07:24 +01:00
README.md Use TLS 2026-03-07 21:41:37 +01:00

ibuttond

Service for networked validation of iButtons for Bitlair. The intended use is authentication and mapping to RevBank accounts.

TODO:

  • Challenge authentication
  • Esphome component
  • Client authentication?
  • Load iButtons from LDAP?

Connecting

The protocol is plain text and newline delimited. Commands and arguments are separated by space characters.

Lines starting with # should be ignored.

There is no escaping. Don't use spaces and special characters in data lol.

id-only

Accepts a hex-encoded 8 byte iButton ID as argument. Returns whether the iButton is valid or not. If valid, additional metadata is prepended as key:value fields.

Example:

>> id-only 3102ea2be49b6dd7
<< id-only OK revbank:polyfloyd

>> id-only asdsasadsad
<< id-only FAIL