alby-hub/api
frnandu 354099cbff
feat: encrypt xpub for auto swap outs (#1973)
* feat: encrypt xpub for auto swap out

* fix: include encryptionKey in the cache key (sha256)

* fix: make cache 2 level nested map

* chore: comment

* fix: missing import

* fix: use ValidateXpub

* fix: cleanup

* fix: cleanup

* fix: better name

* fix: cleanup

* fix: cleanup

* fix: cleanup

* fix: open dialog to ask password on autoswap xpub

* fix: reject extended private keys

* fix: fix amount comp

* chore: improve autoswap destination handling and form submission flow

* fix: clear cached xpub when enabling autoswaps

* fix: autoswap destination validation and xpub handling

* chore: add mutex for auto swap xpub

* chore: add copy icon for destination in auto swap info

---------

Co-authored-by: fmar <fmar@fmar.dev>
Co-authored-by: anon <anon@anon.com>
Co-authored-by: im-adithya <imadithyavardhan@gmail.com>
2026-03-25 22:28:16 +05:30
..
api.go feat: encrypt xpub for auto swap outs (#1973) 2026-03-25 22:28:16 +05:30
api_test.go feat: proposal: custom node commands (#1007) 2025-01-30 18:20:17 +07:00
apps_test.go Feat: NWA auth for self-hosted hubs (#1016) 2025-02-27 19:12:55 +07:00
backup.go fix: prevent LN client access during shutdown (#2096) 2026-02-27 15:45:09 +07:00
esplora.go chore: use NewRequestWithContext instead of NewRequest (#1677) 2025-09-02 19:52:30 +07:00
lsp.go fix: prevent LN client access during shutdown (#2096) 2026-02-27 15:45:09 +07:00
models.go feat: encrypt xpub for auto swap outs (#1973) 2026-03-25 22:28:16 +05:30
rebalance.go fix: prevent LN client access during shutdown (#2096) 2026-02-27 15:45:09 +07:00
transactions.go feat: add custom message support for subwallet transfers (#2069) 2026-02-28 13:25:23 +07:00