Service for networked validation of iButtons for Bitlair
  • Rust 95.2%
  • Nix 4.8%
Find a file
polyfloyd dac692e9b9
All checks were successful
Build / build (push) Successful in 5m58s
Drop ToegangCSV
2026-05-08 15:43:56 +02:00
.forgejo/workflows ci: Binary glibc should be patched 2026-03-08 15:07:24 +01:00
src Drop ToegangCSV 2026-05-08 15:43:56 +02: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 chore: Add rustc to nix flake 2026-05-03 19:49:37 +02:00
README.md Neater client command handling 2026-03-15 17:45:16 +01:00

ibuttond

Service for networked validation of DS1961 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