nixcfg/systems/x86_64-linux/sgx
Harald Hoyer e0d2a2f50d feat(sgx): finish firefly-sparda-fetch — headless FinTS import
End-to-end verified: aqbanking-cli fetches Sparda Südwest transactions
via FinTS PIN/TAN + SecureGo+, exports CSV using a custom decimal-amount
profile, POSTs to firefly-iii-data-importer's autoupload endpoint, which
creates transactions in Firefly III via API.

Changes vs. previous WIP commit:
- firefly/access_token sops slot for the importer's Firefly III API auth
  (FIREFLY_III_ACCESS_TOKEN_FILE — was the missing piece causing 401s
  from the API after the autoupload secret authenticated)
- nginx fastcgi_read_timeout=600s on the importer vhost (prevents 504
  while PHP-FPM is still processing the batch)
- PHP-FPM max_execution_time=600s + memory_limit=512M on the importer
  pool (PHP's stock 30s aborts mid-import for batches > ~50 transactions)
- timer re-enabled, wantedBy=[timers.target]

Caveats baked into a code comment:
- Sparda online-banking PIN must be [A-Za-z0-9] only. aqbanking 6.8.2's
  -P pinfile mangles `:`, `+`, `'`, `?`, `@`, `%`, `*`; bank locks the
  access (3 soft / 9 hard strikes) on rejected attempts. Same applies
  whenever the sops secret is rotated.
- Bulk historical imports beyond the PSD2 90-day window need interactive
  SCA approval per ~30-day chunk and cannot run from the timer; the
  daily 35-day rolling window stays inside the no-SCA region.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 18:58:45 +02:00
..
acme.nix feat(sgx): add firefly-iii personal finance manager 2026-04-26 14:09:40 +02:00
backup.nix fix(sgx): treat rsync exit code 24 as success in backup 2026-04-01 15:39:08 +02:00
default.nix feat(sgx): add firefly-iii personal finance manager 2026-04-26 14:09:40 +02:00
fileserver.nix chore: statix fix 2026-04-20 10:09:24 +02:00
firefly.nix feat(sgx): finish firefly-sparda-fetch — headless FinTS import 2026-05-01 18:58:45 +02:00
hardware-configuration.nix feat(nix): update SGX hardware configuration for x1 11th gen 2025-12-04 11:07:44 +01:00
mail.nix fix(nixos): correct typo in Postfix configuration 2025-12-03 10:03:29 +01:00
network.nix refactor: comment out resolved DNS customization 2025-02-25 08:44:50 +01:00
nginx.nix feat(sgx): add Uptime Kuma to monitor mx services independently 2026-03-24 17:06:35 +01:00
openwebui.nix chore: statix fix 2026-04-20 10:09:24 +02:00
searx.nix feat(nix): add supported search formats to Searx config 2026-02-06 13:45:18 +01:00
uptime-kuma.nix chore: statix fix 2026-04-20 10:09:24 +02:00
wyoming.nix chore: statix fix 2026-04-20 10:09:24 +02:00