Skip to content

v0.14.0

Latest

Choose a tag to compare

@fr34aky fr34aky released this 29 Nov 00:51
· 3 commits to main since this release
3a0f3c5

Exit nodes can now be paid for: the app finds paid exits, shows their country and price, and buys access at one, paid from a wallet of yours. It also counts what goes through your exit, and large packets through an exit no longer get lost.

Buy access at a paid exit

Paid exits are run with fips-exit in its paid mode: the exit sells data packages, and carries a phone while its package lasts.

Find exit nodes lists them with their price, and you can search for exits in one country. Select a paid exit, then on the Internet route screen Buy access at the selected exit:

  • The exit's packages, as it says itself, asked over the mesh: so much data, for so many days, for so many sat.
  • Paying, three ways:
    • a Cashu token pasted from your wallet, of a mint the exit takes;
    • a Lightning invoice, shown as a QR code and handed to a wallet app on the phone;
    • an address on the chain.
  • This app holds no money: you pay from your own wallet. What you buy is the exit's to give, and there are no refunds.
  • Before anything is shown as payable, the app checks:
    • that the exit's terms are of a kind it knows, and come from the exit that was asked;
    • that an order is for the price the terms named;
    • that an invoice asks for exactly that.
  • Your package: the app keeps its key, and shows what is left and until when. With the key you can add other devices to the package (by npub), take them out, and take this phone in or out.
  • The exit decides whom it carries. It knows the phone by its fips address, which fips authenticates. An exit that has your phone on its operator's list goes on carrying it free, as before.

How much goes through your exit

The Overview's Internet route card now says how much this phone has sent through its exit and received from it since it was selected. On a paid exit's purchase screen, the same count stands beside what the exit says your package used, so a difference shows. The exit's figure can be a few seconds behind, and packets lost on the way count on one side only.

Large packets through an exit

Packets of 1241 to 1280 bytes to and from an exit were lost: the exit sends those as two fragments, and the phone dropped them. It now puts them back together, and sends its own packets that are too large for one mesh packet as two fragments as well. Mostly this hit UDP, whose packets are not sized to the path as TCP's are.

Running an exit

The exit container (exit-node/) can say in its advert where its traffic leaves to the internet: ADVERT_COUNTRY, two letters (DE, IS, US, …). It is the operator's word, and the app shows it as that. Paid exits are fips-exit's, not this container's.

Not in this release

An in-app Cashu wallet, and paying an exit as it goes by a payment channel, are in the code behind build features that no release has yet (docs/wallet.md, docs/channels.md).

Installing over 0.13.1 keeps identity and settings. No new permissions.

Checked on a Pixel 9 Pro (arm64), with release-signed builds of each change:

  • purchases at a fips-exit exit in paid mode, at the tests' own mint, with the phone then carried on its package;
  • this phone's count matched the exit's own counter to the byte while a page loaded;
  • a 1278-byte ping through an exit came back 3 times of 3, where 0.13.1 got none.

This release's own arm64 APK was installed over an earlier build on the same phone: it kept its identity, and loaded pages through an exit, the phone's count matching the exit's. The x86_64 and 32-bit ARM builds were built and checked in CI.

Which APK

Most phones: fips-android-v0.14.0-arm64-v8a.apk. If you are unsure, -universal.apk carries all three ABIs for a first install; the in-app updater picks the per-ABI APK.

Signing

Release certificate SHA-256: aa905e32bd0058874d252990abba26c78ddd8fca018195ebd1cd232a99a7a8e1