Skip to content

LibreTag 0.13.0

Choose a tag to compare

@jooray jooray released this 21 Nov 15:29

Android app 0.13.0, Nostr bridge for Android 0.5.0 and Python bridge 0.6.0 now use the shared MeshCore Local API client. They need MeshCore Open test build localapi-test-10 or later (or a meshcored that sends the new pairing string). Tracker firmware stays 0.9.4; its files are the same as in v0.12.0.

APK signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d

LibreTag Android app 0.13.0 (preview)

This release changes how the app talks to MeshCore Open. The tags, the map and the commands work as in 0.12.0.

Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.

You need a newer MeshCore Open

The "own node" path now speaks the MeshCore Local API, protocol 1, through its shared client library. Pairing signs only the new string meshcore-local-api-pair-v1:<nonce>, so the app no longer pairs with older MeshCore Open builds.

  • Install MeshCore Open test build localapi-test-10 or later: https://github.com/jooray/meshcore-open/releases/tag/localapi-test-10. With localapi-test-9 or older the connection fails (Connections shows the error), and the app works over Nostr only.
  • Your pairing is kept. The app uses the same key as before, so MeshCore Open does not ask you to approve it again unless you reinstalled MeshCore Open.

What changed

  • The app's own Local API client is gone. It now uses the meshcore-local-api library (Kotlin, v0.1.0), the same one the Nostr bridge uses.
  • The app uses a server feature only when the server lists it in hello.capabilities. Zero-hop commands from your own node still need tx_path_data; without it the app does not send them from the node, so they never turn into a flood. A region on floods is used only when the server lists regions.
  • Reports heard while the app was off are fetched again on reconnect only when the server lists replay. A report the server sends twice is shown once.

Upgrading

Update MeshCore Open to localapi-test-10 or later first, then LibreTag. Tags need no update; firmware 0.9.4 stays current.

Nostr bridge for Android 0.5.0 (preview)

The Nostr bridge (app.nostrmesh) moves to the shared MeshCore Local API client. What it bridges, and how, stays as in 0.4.0.

You need a newer MeshCore Open

The bridge speaks the MeshCore Local API, protocol 1. It signs only the new pairing string meshcore-local-api-pair-v1:<nonce>, so it needs MeshCore Open test build localapi-test-10 or later (https://github.com/jooray/meshcore-open/releases/tag/localapi-test-10). With older builds it cannot pair.

The pairing key and the replay cursor are kept, so an approved bridge stays approved.

What changed

  • The bridge's own Local API client is gone. It uses the meshcore-local-api Kotlin library (v0.1.0).
  • Features follow hello.capabilities strictly:
    • zero-hop and direct sends only with tx_path_data, the path of a received report only with rx_path;
    • the LoRa preset is read from radio.stats only with radio_stats (before, airtime was enough). Without it the bridge uses its configured preset;
    • a flood region only with regions. Zero-hop sends carry no region.
  • Changing the channels in Settings restarts the Local API session instead of stopping and starting the whole radio link.

Install

Download nostrmesh-bridge-0.5.0.apk from the release, check the certificate with apksigner verify --print-certs (SHA-256 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d) and install it over 0.4.0.

Python bridge 0.6.0 (preview)

The nostrmesh bridge in host/ now reaches MeshCore Open and meshcored through the shared MeshCore Local API client. The USB companion and KISS adapters did not change.

You need a newer server

The local_api adapter speaks the MeshCore Local API, protocol 1. It signs only the new pairing string meshcore-local-api-pair-v1:<nonce>, so the server must be MeshCore Open test build localapi-test-10 or later (https://github.com/jooray/meshcore-open/releases/tag/localapi-test-10) or a meshcored that sends the new prefix. Against an older server the bridge logs a pairing error and keeps retrying.

The key in ~/.config/nostrmesh/meshcore-open.json is kept, so the fingerprint and the approval stay the same.

What changed

  • LocalApiRadio is a thin wrapper over meshcore_localapi.LocalApiClient (package meshcore-localapi, installed by uv from the v0.1.0 tag on GitHub, so the first uv sync needs network access and git).
  • Features follow hello.capabilities strictly. The LoRa preset is read from radio.stats only with radio_stats (before, airtime was enough). The [radio] region is checked against regions.list and sent with floods only with regions; without it the bridge warns once and floods in the node's default scope. Paths go out only with tx_path_data.
  • The frequency comes from hello.device.radio.
  • The replay cursor has a new format. The cursor stored by 0.5.0 is not read, so frames heard while the bridge was stopped for the upgrade are not replayed.
  • The kind 38244 announcement still says 0.5.0: that number is the signed mailbox level, not the package version.

Upgrading

cd host
git pull            # or copy the new tree
uv sync --frozen

Then restart the service. Nothing in host/deploy/ changed.