Nostro/README.md

208 lines
18 KiB
Markdown
Raw Normal View History

2026-10-06 15:39:17 +02:00
## Nostro
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
A big problem linux phones have is that they don't have banking apps, Nostro tries to change that.
2026-10-06 15:39:17 +02:00
By making a open source app that interfaces with bank APIs.
2026-11-01 18:35:23 +01:00
## How Nostro runs
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
Nostro keeps your bank connections out of reach of the programs you run. Its daemon, nostrod, runs as a system user of its own and holds the bank connections of every user of the machine, each user's in a process of its own. The Nostro app and the `nostro` command ask nostrod over the system bus, and nostrod asks polkit whether you may:
2026-11-01 18:35:23 +01:00
- Looking at accounts, transactions, requests and cards needs nothing more in your desktop session.
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
- Everything else asks for your password every time. That is whatever pays: a payment, a scheduled payment, a request or a draft payment you accept. And it is whatever changes something without paying anyone: asking someone for money, saving a draft payment, cancelling a scheduled payment, revoking a request you sent, rejecting a request or a draft payment, freezing, unfreezing or blocking a card, and changing your bank connections.
Nostro ships that strict on purpose: no program does anything at your bank without you. Whoever administers the machine can loosen it, see Security.
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
Your desktop draws the password dialog, and it says what it is for: the amount, who is paid, and from which account. Nothing secret goes on the command line: Nostro asks for an API key at a prompt. The app holds none of your keys either: one you type into it goes to nostrod and is forgotten.
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
## The app
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
The app is a window for a phone or a desktop. On a phone it shows one page at a time, with Accounts, Cards and Settings along the bottom; in a wider window those are down the side, with your accounts beside them. It follows your desktop's light or dark look and its accent colour.
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
On a phone, in the dark look:
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
| Accounts | An account | Pay |
|---|---|---|
| ![Your accounts on a phone: each with its IBAN and its balance, with Pay and Request above them](docs/screenshots/phone-accounts.png) | ![An account on a phone: its balance, and its payments by day](docs/screenshots/phone-account.png) | ![The pay form on a phone, filled in](docs/screenshots/phone-pay.png) |
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
In a desktop window, in the light look and in the dark one:
![An account in a desktop window: the app's places and your accounts down the side, the account's payments beside them](docs/screenshots/desktop-account.png)
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
![A payment's details in a desktop window, in the dark look](docs/screenshots/desktop-payment-dark.png)
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
The accounts and the people in these pictures are made up.
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
It does everything the `nostro` command does:
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
| In the app | What it is for |
|---|---|
| Accounts | Your accounts by bank connection, with their balances. Pay and Request start from any of them. |
| An account, Activity | Its payments by day. Search a name, a description or an IBAN, or filter by an exact amount and by dates: that looks through the payments Nostro has read from the bank, as you type. A payment opens with all of its details, and can be paid again or asked back from there. |
| An account, Requests and Incoming | The requests for money you sent, each with its link to copy or open, which you can revoke; and the ones you received, to pay or reject. |
| An account, Scheduled and Drafts | The payments on a schedule, to cancel; and the draft payments, to accept or reject. |
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
| Pay | From which account, to an IBAN, an e-mail address or a phone number, how much, and what for: now, on a schedule, or as a draft. Its button sends it, and your system's password dialog is where you confirm it. A draft is paid only once it is accepted, which is confirmed there again. |
| Request | Ask someone for money. Its button sends it as Pay's does, confirmed in the same dialog, and the result has a link to send them. |
| Cards | Your cards and the account each pays from. Freeze or unfreeze one, or report it lost or stolen, which blocks it for good and is asked twice. Each is confirmed with your password. |
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
| Settings, Bank connections | Your connections and whether they work. Add one in three steps: your bank, how to connect to it, and what that asks for. bunq connects with an API key or through OAuth. Remove one, which logs it out and deletes its stored payments. |
| Settings, Pay at checkout from | The account apps are paid from at their checkout, see Checkout for apps. |
| Settings, About and security | What Nostro protects you from, and its version. |
2026-11-01 18:35:23 +01:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
- Which bank an account is with makes no difference to how the app shows it or pays from it. Only adding a connection, in the settings, is each bank's own. Until a bank is connected the app offers to connect one.
- A connection that its bank lets pay between your own accounts only, as bunq does one made through OAuth, is marked Limited. A payment from it to anyone else is saved as a draft, to approve in your bank's app.
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
- The app asks no second question before a payment or a request for money: the form's button sends it, and your system's password dialog is where you confirm it. That dialog is your system's, not the app's, and says what is paid, to whom and from which account: read it. Closing it pays nothing, and leaves the form as you filled it in.
- Every change is confirmed in that dialog. Where one press would do it, such as rejecting a request or cancelling a scheduled payment, the app asks first whether you mean it.
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
- A card's status is what its bank reports of it. A virtual card is shown as Virtual, and no more: the bank does not report whether one is frozen, and does not freeze or unfreeze one when Nostro asks, so do that in your bank's app. It can be reported lost or stolen like any card. For a plastic card, Deactivated is the bank's word for one that is frozen and for one that was never activated: the card's own sheet says so, and shows how far the bank is with the card.
- If the bank's answer to a payment gets lost on the way, the app says the payment may have been made and shows you the account's payments. It does not offer to try again.
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
- The app asks a phone's on-screen keyboard for digits at an amount, and to show and learn nothing of a key you type. Of a key in its field the app itself shows how it begins and how long it is, and never how it ends.
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
- Your accounts, an account's lists and your cards are read again when you pull the page down at its top and let go, or with Refresh in the bar at the top.
- Press a line of a payment's, a request's or a card's details to copy what it says. An IBAN is copied without its spaces.
- With a keyboard: Tab and Shift+Tab move between what can be pressed, Enter presses it, Escape goes back, F5 or Ctrl+R reads the screen again, and Ctrl+F goes to the search. A long press or the right mouse button on a field offers paste, copy and select all.
- The app needs nostrod installed (see Installing). Without it, it says so and how to get it.
2026-10-06 15:39:17 +02:00
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
## Installing
nostrod and the `nostro` command come as a Flatpak, `net.catcrafts.Nostrod`, installed for the whole system. A Flatpak cannot install a few system files Nostro needs: nostrod's user, its D-Bus and polkit policies, its systemd unit, and the `nostro` command. Install both as root. The Flatpak comes from the Catcrafts Flatpak repository, which the first line adds:
2026-10-06 15:39:17 +02:00
```
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
flatpak remote-add --system --if-not-exists catcrafts https://flatpak.catcrafts.net/catcrafts.flatpakrepo
flatpak install --system catcrafts net.catcrafts.Nostrod # the Flatpak
packaging/system/install.sh # the system files
2026-11-01 18:35:23 +01:00
```
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
The app is a Flatpak of its own, `net.catcrafts.Nostro`, in the same repository, which each user can install for themselves:
2026-11-01 18:35:23 +01:00
```
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
flatpak remote-add --user --if-not-exists catcrafts https://flatpak.catcrafts.net/catcrafts.flatpakrepo
flatpak install --user catcrafts net.catcrafts.Nostro
2026-10-06 15:39:17 +02:00
```
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
`packaging/system/install.sh --app` installs it for every user instead, together with the rest. The app can reach your display, your graphics card and nostrod, and nothing else: no network and none of your files.
`packaging/system/uninstall.sh` removes everything again. Your bank connections stay in `/var/lib/nostro` until you give it `--purge`.
2026-11-01 18:35:23 +01:00
2026-10-06 15:39:17 +02:00
## CLI
```
2026-11-01 18:35:23 +01:00
nostro connectors # connectors, numbered, and whether they work
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
nostro connectors add bunq [allowed ips, default *] # asks for the API key; a sandbox key starts with sandbox_
2026-11-01 18:35:23 +01:00
nostro connectors add bunq-oauth {client id} {redirect uri} [--sandbox] # asks for the client secret
nostro connectors remove {name or number} # logs out and deletes its stored transactions
nostro accounts # all accounts of all connectors
nostro transactions {account} [--search text] [--amount n] [--from date] [--to date] [--limit n]
nostro send {account} {to} {name} {amount} {description, optional}
nostro request {account} {from} {name} {amount} {description, optional}
nostro requests {account} [revoke {id}] # requests for money you sent
nostro incoming {account} [accept|reject {id}] # requests for money you received
nostro schedule {account} {to} {name} {amount} {start date} {once|daily|weekly|monthly|yearly} {description, optional} [--every n] [--until date]
nostro scheduled {account} [cancel {id}]
nostro draft {account} {to} {name} {amount} {description, optional}
nostro drafts {account} [accept|reject {id}]
nostro cards [freeze|unfreeze|lost|stolen {card id}]
nostro checkout account [{account}] # the account apps may ask you to pay from, see Checkout
2026-10-06 15:39:17 +02:00
```
2026-11-01 18:35:23 +01:00
- `{account}` is an account's name or its IBAN. Use the IBAN when two accounts share a name.
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
- `{to}` and `{from}` are an IBAN, an e-mail address, or a phone number starting with `+`. IBANs are checked before anything is sent. An e-mail address is refused when the password dialog could not show it exactly as it is: one with an `&`, a `<` or a `>` in it, or one longer than 254 characters.
2026-11-01 18:35:23 +01:00
- Amounts are in the smallest unit of your currency, so for EUR `1250` is €12.50.
- Dates are `YYYY-MM-DD` or `"YYYY-MM-DD hh:mm"`, in local time.
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
- `nostro cards` lists a virtual card as `VIRTUAL`. bunq does not say whether one is frozen and does not freeze or unfreeze one when asked, so `freeze` and `unfreeze` refuse it; `lost` and `stolen` work.
2026-11-01 18:35:23 +01:00
2026-10-06 15:39:17 +02:00
## Supported banks
[Bunq](https://doc.bunq.com/api-reference/start-here)
2026-11-01 18:35:23 +01:00
## Checkout for apps
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
An app, such as a shop, can have the user's Nostro pay an order. Nostro pays it from the account the user chose once, in the app's settings or with `nostro checkout account {account}`, after the user has confirmed the payment with their password at a prompt that shows the amount, the payee, the reference and that account. The app never names or sees the account, and gets back only the payment's id. An account connected through OAuth cannot pay a shop, so it cannot be chosen.
2026-11-01 18:35:23 +01:00
Apps talk to `net.catcrafts.Nostro1.Checkout` on the system bus. A Flatpak app asks for it with `--system-talk-name=net.catcrafts.Nostro1.Checkout` in its finish-args, which reaches nothing else of Nostro. The interface is one method, documented in [packaging/dbus/net.catcrafts.Nostro1.Checkout.xml](packaging/dbus/net.catcrafts.Nostro1.Checkout.xml):
```
Pay(payeeIban s, payeeName s, amount x, currency s, reference s, options a{sv}) -> (paymentId t, results a{sv})
```
- The payee is an IBAN. The amount is in the currency's smallest unit (`1250` is €12.50), and the currency is `EUR`. The reference is your order number: it becomes the payment's description, and it tells orders apart.
- Allow interactive authorization on the call, make the call asynchronously, and give it a timeout of minutes, because the user may take a while at the prompt.
- An order is paid once. Calling `Pay` again with the same IBAN and reference, after a timeout or a crash, returns the first payment with `repeated` set to true in `results`, without asking the user. While the user is still at the prompt, the second call waits for the first. The same reference with another amount is refused.
- `net.catcrafts.Nostro1.Error.Cancelled` means the user did not confirm, and `NoCheckoutAccount` that they have not chosen an account. `org.freedesktop.DBus.Error.ServiceUnknown` means Nostro is not installed. The XML lists the other errors.
- Ignore keys you do not know in `results`, because later versions may add some. Nostro ignores options it does not know.
- A payment id is not a receipt. Confirm the money arrived with your own bank.
From a shell:
```
busctl call --system --timeout=10min net.catcrafts.Nostro1.Checkout /net/catcrafts/Nostro1 \
net.catcrafts.Nostro1.Checkout Pay 'ssxssa{sv}' NL91ABNA0417164300 'Shop BV' 1250 EUR order-1234 0
```
Generate a proxy from the XML with `gdbus-codegen` (GLib and GTK), `qdbusxml2cpp` (Qt) or `zbus-xmlgen` (Rust). A C++ app built with Crafter.Build can depend on Nostro with `--product=checkout` instead. That builds the `Nostro.Checkout` module alone, which links only libsystemd:
```cpp
import Nostro.Checkout;
const Nostro::Checkout::Paid paid = Nostro::Checkout::Pay({.payeeIban = "NL91ABNA0417164300", .payeeName = "Shop BV", .amount = 1250, .reference = "order-1234"});
```
`Pay` blocks until the user has answered, so call it off the UI thread. It throws `Nostro::Checkout::Cancelled`, `Nostro::Checkout::NoCheckoutAccount`, or `Nostro::Checkout::Error` with the D-Bus error name.
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
Any app the user runs with access to the checkout can ask whether an order was paid, by asking for it again with the same IBAN, reference and amount: it gets the payment id without a prompt. Nostro cannot tell which app is asking, so a reference should be hard to guess. With another amount it is refused without being told what the order was paid for, and an error from the bank says what the bank said, not which account it said it about.
2026-11-01 18:35:23 +01:00
2026-10-06 15:39:17 +02:00
## Contributing
Nostro gladly accepts contributions to add more banks!
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
Please add a connector for the bank you want to add and git send-email the patch to jorijnvdgraaf@catcrafts.net
2026-10-06 15:39:17 +02:00
Please add thorough testing coverage for te bank you are submitting.
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
For 100% certainity blind submissions for connectors are not accepted, they must be tested against either the live or sandbox API.
2026-10-06 15:39:17 +02:00
## Security
Please report security vuneribilities to jorijnvdgraaf@catcrafts.net before publishing them.
2026-11-01 18:35:23 +01:00
What Nostro protects you from, and what it does not:
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
- Programs you run cannot read your bank connections, which belong to nostrod's own user, and cannot pay or change anything at your bank without your password. The Nostro app is one of those programs: it holds no key and no token.
- What needs no password in your desktop session is looking. Any program you run there can read your accounts, payments, requests and cards.
- The password dialog is your desktop's. A program running as you could still draw one that looks the same, so type your password only for something you asked for, and check what the dialog says. It shows the address that is paid whole and as it is. A name is cut off after 64 characters, and an `&` in one is shown as a `+`.
2026-11-01 18:35:23 +01:00
- Over SSH, or in any session without a polkit agent, nothing can ask for your password, so whatever needs it is refused.
- The bank connections are not encrypted on disk: root, and anyone holding the disk, can read them. Use full-disk encryption.
fix: close what the security review before the first release found A review of the tree and its history before they are published found no key and no bank data in them. It did find these, each closed here. The password dialog could be emptied (daemon). Shown(), which makes a payee's name fit for polkit's dialog, let an & through. GNOME's older agent (polkit-gnome) and MATE's put the message into Pango markup unescaped, where a bare & fails to parse and leaves the dialog without a message: paying "Tom & Jerry", or an order an app names so at checkout, asked for the password and showed no amount and no payee. Line and paragraph separators passed too. Shown() now shows & as +, leaves out what draws nothing or places text (control and format characters, the separators, what Unicode ignores by default, private use) and makes any run of spaces one space. An address is held to it instead of made fit: an e-mail address the dialog could not show unchanged is refused before anyone is asked, since "a&b@..." shown as "a+b@..." is somebody else's address. A refused caller could look (daemon). A call that names an account, a card, a request, a draft or a connector had it looked up, at the bank where that takes it, before polkit was asked. So a caller polkit refused was told whether it was there ("no account is called ..."), and had the bank asked. Such a call now asks for View first (HandleLookup), a call that only sees looks its account up after its yes, and the connectors are read, which refreshes the accounts at the bank, on the first yes instead of on the first call. An app at checkout was told too much (checkout). The refusal of an order's reference with another amount named the amount on record, and a refusal by the bank carried the call it answered, whose path has the user's and the account's ids at bunq. Neither does now. A key typed by hand could be read off the screen (app). The line under a key field showed how the key begins and its last four characters, which is every character of it as it is typed. It shows how the key begins and how long it is. Every change asks for the password (packaging, app). Change, the action for what changes something and pays nobody, passed without a password in an active session, so any program of the user's could cancel a scheduled payment, ask for money in their name or freeze a card. It asks now (auth_self), a draft saved and a card frozen included: only View passes as shipped, and loosening is an administrator's rule, of which the README has an example. The app says of every change where it is confirmed (AsksPassword is gone), and the request form sends on its button as the pay form does: its review sheet would be a second confirmation of what the dialog confirms. What is built is what was tested (build). Crafter.Network, Crafter.DB and Crafter.LintRules are named at the commits the tests ran against. Crafter.Thread still follows its branch, which Crafter.Network's own project file names, and so does Crafter.Network in the app's debug build, where Crafter.Debug names it too and crafter-build refuses a module built twice. lib/json.hpp was nlohmann/json's develop branch at 95e9a593 less its last newline, and called 3.12.0: it is that file byte for byte now, and called what it is. The published contract changes with this, before any release (design rule 10): an e-mail address the dialog cannot show as it is is refused, a call that looks something up needs View as well as its own action, the checkout's errors say less, and the policy asks for the password for Change. The XML, the policy and ShouldServeEveryUser, which now holds the policy to its defaults, change together. Reproduced and verified on the fake bus and the fake bunq. The new checks of ShouldServeEveryUser fail on the worker of before (50 of them: the & shown, the lookups answered, the bank asked) and pass now. crafter-build test (17 tests), lint for the library, the app and the fake system, and tests/coverage.sh (every line, function and region) pass. Looked at on the made-up system, 360x760 dp at scale 2, dark, on KDE Wayland: the key form with a key typed, the request form with its wait and its result, a card frozen, and About. No picture in the README shows a screen that changed. Not tried: bunq's sandbox, a real polkit agent, the Flatpak builds. The README's example rule ran against a stand-in for polkit's rule engine only. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-19 16:09:48 +01:00
### Asking for less, or for more
As shipped, everything but looking asks for your password, every time. That is the secure setting, and changing it is a choice for whoever administers the machine, made with polkit rules in `/etc/polkit-1/rules.d/`.
- The actions are `net.catcrafts.Nostro1.View` (looking), `Pay`, `Change` (what changes something and pays nobody: a request for money, a draft, a scheduled payment cancelled, a request revoked or rejected, a draft rejected, a card frozen), `UnfreezeCard`, `BlockCard`, `Connectors` and `Checkout`.
- Each check gives rules what it is about: `amount_minor`, `currency`, `counterparty`, `account_iban` and `environment` for a payment, a draft or a request for money, `reference` at checkout, and `card` and `status` for a card.
- A rule cannot tell the Nostro app from any other program you run. What it lets pass without a password, it lets pass for all of them.
- A rule can also ask for more, such as an administrator's approval above an amount. Where one makes looking take a password, a payment asks twice, since nostrod looks an account up only for someone who may see it.
This rule lets one user freeze a card without a password, from their own desktop session, and leaves everything else as it is:
```js
// /etc/polkit-1/rules.d/50-nostro.rules
polkit.addRule(function(action, subject) {
if (action.id == "net.catcrafts.Nostro1.Change" && action.lookup("status") == "DEACTIVATED" &&
subject.user == "alice" && subject.local && subject.active) {
return polkit.Result.YES;
}
});
```
Without the test of `status` it would let every change of that action pass. Do not have a rule keep an authorization (`AUTH_SELF_KEEP`): for some minutes polkit then lets the same program through for that action whatever it asks next, which under `Pay` is a payment to someone else.
2026-11-01 18:35:23 +01:00
2026-10-06 15:39:17 +02:00
## License
feat(app): add the Nostro app, a window for phones and desktops Linux phones have no banking apps, and a command line is no answer on a phone. The app does everything the nostro command does and, like it, only talks to nostrod: it holds no key and no token. - Nostro.Ui, a toolkit whose screens are functions that fill a frame, ported from imsd-messages ca5cd72d; Nostro.App, the app's state, forms and screens; Nostro.Ui.Shell, which puts them on a Wayland window with Crafter.Graphics; nostro-app; and Nostro.DebugCommands for the --debug-api build. - Client: every method also in an asynchronous form for an sd-event loop, with DaemonMissing and OutcomeUnknown. - nostrod's Flatpak is net.catcrafts.Nostrod now and the app takes net.catcrafts.Nostro; install.sh moves the state. The app's Flatpak, both Flatpaks cross-built for aarch64, and the licence texts they carry. - nostro-fake-system, a made-up bus and bank with a real nostrod on them, to look at the app against. The README's screenshots are taken on it. - The nostro command: an API key's environment is the key's own to say, so --sandbox is for bunq-oauth alone, and a virtual card is listed as VIRTUAL. The published contract changes in three places, before any release (design rule 10): - Transactions' query takes `stored`: answered from what nostrod has stored, without asking the bank. The app searches with it; before, every search was a call to bunq. - AddBunq's `environment` no longer chooses over what the key says of itself: a key of the other environment is refused. - SetCardStatus refuses to freeze or unfreeze a virtual card. bunq reports one as DEACTIVATED however well it pays, and leaves it as it is when asked, without an error. The app is GPL-3.0-only, the library stays LGPL-3.0-only, and no code moved from one to the other (design rule 13). Transaction's schema is unchanged. Verified: the 17 tests pass with every line, function and region of what they link run, and the five lint runs are clean. Every screen was looked at on the made-up system, at a phone's and a desktop's sizes in the light and the dark look, on Plasma under Wayland. What is said of bunq's cards comes from its sandbox, with throwaway users, and from one real virtual card. Known to have been used against production: connecting, and reading accounts, payments and cards. Not known to have been tried: a payment from the app against bunq, OAuth against bunq, and anything on a phone. Building the app takes --graphics=, a Crafter.Graphics checkout on its branch claude/nostro-app, until that branch is merged and pinned here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:27:14 +01:00
Nostro has two licences, and each source file says in its first line which one it is under:
- The library, nostrod, the `nostro` command and the checkout library are LGPL-3.0-only, see [LICENSE](LICENSE). A program under another licence can be built on the library or the checkout.
- The app is GPL-3.0-only, see [LICENSE.GPL](LICENSE.GPL): its screens, the toolkit they are built with and its window (the modules `Nostro.Ui`, `Nostro.App` and `Nostro.Ui.Shell`, and `nostro-app`). A program built from any of it is under the GPL as a whole.
The app is set in Noto Sans, under the SIL Open Font License ([assets/OFL.txt](assets/OFL.txt)); [packaging/licenses/NOTICE](packaging/licenses/NOTICE) lists what else the Flatpaks carry.
2026-10-06 15:39:17 +02:00
## Copyright
Copyright (C) 2026 Catcrafts®
catcrafts.net