<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinos-server.git/lib, branch HEAD</title>
<subtitle>coinos server — legacy coinos.io backend (Lightning, on-chain, Liquid)</subtitle>
<id>https://git.coinos.io/coinos-server.git/atom?h=HEAD</id>
<link rel='self' href='https://git.coinos.io/coinos-server.git/atom?h=HEAD'/>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/'/>
<updated>2026-12-05T00:24:25Z</updated>
<entry>
<title>Admin only from Adam's addresses: the admin account's sessions and the admin password are refused from anywhere else.</title>
<updated>2026-12-05T00:24:25Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-05T00:24:25Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=d1db874a6e3c3c488331f3117f41b48480354f4e'/>
<id>urn:sha1:d1db874a6e3c3c488331f3117f41b48480354f4e</id>
<content type='text'>
After the 2026-12-04 desk breach the JWT secret was kept, so a copied or forged admin session must be useless off Adam's networks. config.adminIps lists exact addresses and IPv4 ranges; a request is judged by its Cloudflare client address (the app is only reachable through the tunnel and Caddy), and Tor pages never qualify. A global preHandler (after each route's auth) answers 403 to an admin session from elsewhere; the master-password login and freeze only accept adminpass from an allowed address. Unset or empty adminIps keeps the old behaviour.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
</content>
</entry>
<entry>
<title>Credit deposits to a retired hot wallet's addresses (legacyWallets).</title>
<updated>2026-12-04T21:49:12Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-04T21:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=dfe22eee4e698731c3e31420250bb158f2d4b2d5'/>
<id>urn:sha1:dfe22eee4e698731c3e31420250bb158f2d4b2d5</id>
<content type='text'>
2026-12-04: the bitcoin hot wallet's keys were stolen, so coinos moved to a new hot wallet. Users still pay the deposit addresses the old one handed out. With the old wallet loaded and named in config.bitcoin.legacyWallets, /confirm treats it like the hot wallet (credited by invoice address, not as an account wallet) and catchUp lists its receives too, posting its own wallet name. The coins themselves are swept to the new wallet by a host-side job.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
</content>
</entry>
<entry>
<title>app: recognise onion pages relayed by the UI without a client IP</title>
<updated>2026-12-04T04:27:00Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-04T04:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=ca538f2ab033560d7fcbc488cb3b16a56cd6f06b'/>
<id>urn:sha1:ca538f2ab033560d7fcbc488cb3b16a56cd6f06b</id>
<content type='text'>
Onion requests never pass Cloudflare, so the UI has no cf-connecting-ip to
forward when it relays them server-side, and they stopped being marked as
Tor. Password logins from the onion site then failed the captcha check.
Treat a request from the ui peer whose forwarded Host is an onion address as
Tor, and key it on the Tor gateway's address.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
</content>
</entry>
<entry>
<title>auth: write rejected logins of disabled accounts to an audit file</title>
<updated>2026-12-02T20:46:04Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-02T20:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=27e054deed4d7e897af7426e14eb1212c8de8644'/>
<id>urn:sha1:27e054deed4d7e897af7426e14eb1212c8de8644</id>
<content type='text'>
A script replaying tokens for many disabled accounts flooded the container
log with one line per request. Record each rejection (username, source IP,
how many repeats were suppressed) in logs/evicted-auth.jsonl instead,
still throttled per account to one entry every ten minutes, and keep
logs/ out of git.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
</content>
</entry>
<entry>
<title>auth: lock PIN checks after ten wrong PINs in an hour</title>
<updated>2026-12-02T20:45:56Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-02T20:45:56Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=c3e2e37e9b0186814a5d9cc04b9c728427e4f0cd'/>
<id>urn:sha1:c3e2e37e9b0186814a5d9cc04b9c728427e4f0cd</id>
<content type='text'>
Every PIN check answered right or wrong with no per-account limit (POST
/pin, the sends that require a PIN, and the settings update), so anyone
holding a stolen session could try every 6-digit PIN from rotating IPs.
checkPin() now counts wrong PINs per account in pinfail:&lt;id&gt;; after ten in
an hour every PIN check fails, the right PIN included, until the hour is
up. A missing PIN doesn't count, and the right PIN clears the count.
POST /pin answers 429 while locked.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
</content>
</entry>
<entry>
<title>register: cap account creation over Tor at five an hour</title>
<updated>2026-12-02T20:45:44Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-02T20:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=5b7881f3195d9c1479cfffc207014540a9db4d9a'/>
<id>urn:sha1:5b7881f3195d9c1479cfffc207014540a9db4d9a</id>
<content type='text'>
Onion clients all arrive from the Tor gateway's address, so the per-IP and
per-range signup caps either let them create unlimited accounts or would
count unrelated internal traffic. Mark requests that came through Tor
(including ones the UI's server-side rendering relays, which forward the
client address in cf-connecting-ip) with req.isTor, and give them one
shared quota of five new accounts an hour for /register and first-time
nostr logins. The recaptcha bypass for onion users now uses the same flag
instead of trusting the Host header.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
</content>
</entry>
<entry>
<title>users: stamp v3migrated when an account hands its name to v3</title>
<updated>2026-12-02T17:40:45Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-12-02T17:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=796999cb8a6fc7abbfb9dc2643e372795fed9882'/>
<id>urn:sha1:796999cb8a6fc7abbfb9dc2643e372795fed9882</id>
<content type='text'>
`migrated` has been set on every new account since 2023, so it can't tell
the names registrar whether an account actually handed its name over.
When the account's own session posts the hand-off, also record a
server-set `v3migrated` timestamp, and include it in the public user
fields so the registrar can require a fresh one before granting the name.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
</content>
</entry>
<entry>
<title>nwc: floor the default routing fee cap at 5 sats</title>
<updated>2026-11-25T16:25:18Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-25T16:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=9225b8ddea10c15487271a7e4a4c9b26598fc45b'/>
<id>urn:sha1:9225b8ddea10c15487271a7e4a4c9b26598fc45b</id>
<content type='text'>
1% rounds to zero below 50 sats, which rejected small zaps whose route
costs a sat. Unused fee is refunded.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SEnsbshZrUDtTsxAX
</content>
</entry>
<entry>
<title>names: ignore registrar records held by blocked keys</title>
<updated>2026-11-25T16:25:18Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-25T16:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=43b6d2a4e16f1991a02a77f2198bc83bb71deb04'/>
<id>urn:sha1:43b6d2a4e16f1991a02a77f2198bc83bb71deb04</id>
<content type='text'>
Names whose v3 record belongs to a key in names:blocked_holders are treated
as unclaimed: lightning address, NIP-05 and legacy forwarding stay with the
local account. Fails open if the registrar or db cannot answer.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SEnsbshZrUDtTsxAX
</content>
</entry>
<entry>
<title>remove the Shopify webhook integration; add a migration kill switch</title>
<updated>2026-11-25T16:25:18Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-25T16:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinos-server.git/commit/?id=e0ac891b4c3275b5bb228fd53b507d1c61ff88ea'/>
<id>urn:sha1:e0ac891b4c3275b5bb228fd53b507d1c61ff88ea</id>
<content type='text'>
Drop the /shopify route and the shopify user fields. POST /user with
`migrated` fails while migrate:disabled is set, which stops the UI
migration hand-off before the registrar grant is issued.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SEnsbshZrUDtTsxAX
</content>
</entry>
</feed>
