Service for networked validation of iButtons for Bitlair
- Rust 95.2%
- Nix 4.8%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| src | ||
| support | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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