20 Commits
Author SHA1 Message Date
waozi caf625df3c Confirm when Auth copies a code to the clipboard 2026-11-20 01:10:17 -03:00
waoziandClaude Opus 5.5 e5a723713b Pin Kryon 3f724419 with its Ziran e0367fa9
Kryon 3f724419 builds its vendored codecs with CMake 4 and pins Ziran
e0367fa9, which includes the Wasm record-copy fix (6a066abd) that
hosted bundles need in the browser. CSS, Plot, Game2D, Entity, Apps,
Auth and Workbook move to this pair together, so consumers keep one
Kryon copy.

Local tests: ziran lock and the package's own suite through build-queue,
on HEAD plus this change (other uncommitted work set aside, no local
overrides).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 00:40:55 -03:00
waoziandClaude Opus 5.5 13dc4a9ad5 Pin Kryon 9052a642 and its Ziran ebd19223
Kryon 9052a642 applies desktop camera offsets to Cairo painting and
pixel snapping; ebd19223 is the Ziran it pins. CSS, Plot, Game2D, Entity,
Apps and Auth move to this pair together, so consumers keep one Kryon
copy.

Local tests: ziran lock and the package's own suite through build-queue,
on HEAD plus this change (other uncommitted work set aside, no local
overrides).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 21:47:18 -03:00
waoziandClaude Opus 5.5 3a3f240cff Pin Kryon 0.4.0 and Ziran 0.6.0
Kryon f123e8ba is the v0.4.0 release commit and Ziran d17c7aa1 the v0.6.0
release commit, the same pair CSS, Plot, Game2D, Entity and Apps pin, so
Werkzeug resolves Auth against one Kryon copy.

Local tests: ziran lock and make test (locked, no overrides) through
build-queue: RFC 6238 codes, Base32, links, exports and the hosted card.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 20:37:53 -03:00
waozi 8a6be9f83e Align Auth with the current public UI toolchain 2026-11-16 03:54:11 -03:00
waozi 2a575a8828 Use public Kryon widgets for hosted Auth cards 2026-11-16 03:25:59 -03:00
waozi 8c8d0584f1 Copy the current Auth code from the whole card 2026-11-16 02:29:55 -03:00
waozi 52a9105fa3 Show grouped current and next codes on Auth cards 2026-11-16 01:34:37 -03:00
waozi 44e8b0f2a4 Pin Kryon Android file opening fix 2026-11-02 10:37:53 -03:00
waozi d721b8859b Pin Kryon dependency to published revision 2026-11-02 04:25:06 -03:00
waozi fbbffbc53e Auth as its own Ziran package: codes, links and exports in src with the app, tests beside them, the hashes from the crypto package 2026-10-24 23:37:22 -03:00
waozi f733bc1d14 Centre Auth's countdown and stop repeating Profile's missing account
Auth's seconds left now sit level with their code. Without an account,
Profile showed "No account connected" twice; Self's own explanation now
follows the title.
2026-10-19 17:49:31 -03:00
waozi 7cda4fb4b8 Run Werkzeug tools and external apps through the shared Kryon contract 2026-10-18 14:54:13 -03:00
waozi 84c7dc1281 Import an authenticator export file or a picture of its QR code in Auth
On the desktop, Auth's Import file asks zenity for a file and the host
reads its text, or decodes the QR codes of a PNG or JPEG, through the new
FileImport host call; phones and the browser report it unavailable and the
button stays hidden there. The GUI test chooses a fixture Aegis export
through a zenity stand-in.
2026-10-16 23:55:37 -03:00
waozi 2b7ad7ac96 Import authenticator exports into Auth, edit accounts, and run Auth without a window
Auth reads Google Authenticator export links (and their QR images from the
command), Aegis's unencrypted JSON and Ente Auth's list of otpauth links,
and refuses encrypted exports. Edit renames an account, keeps the websites
where it signs in and holds Remove. werk sync and werk auth create or join
the Daochi account, list accounts without secrets, print a current code,
and import, rename or remove accounts on devices without a screen.
2026-10-16 02:28:14 -03:00
waozi 4a4d783dd1 Keep the Werkzeug name, add its wrench logo and move to werk.waozi.xyz
Werkzeug stays the app's name; werk is its short form for the repository,
files, packages and the werk.waozi.xyz website. A new logo, a wrench with
a keyhole, replaces Pass's asterisk on every icon and image.
2026-10-13 15:17:37 -03:00
waozi e01535a82d Rename Werkzeug to Werk
The app, its window and launcher, packages, release files, website,
store listing, wordmarks and source now say Werk; the GitHub repository
is waozixyz/werk and the itch.io page waozi.itch.io/werk. Daochi keeps the
registered app id and record domains under the former name, and Android
keeps the package xyz.waozi.pass, so devices stay linked and installs
update in place.
2026-10-13 15:07:10 -03:00
waozi d63806f547 Sync Auth between the owner's devices through Daochi
Profile → Sync creates a Daochi account, or connects to the account of
another device with a 12-character code, and then keeps Auth's accounts
on every device.

- Tools keep small synced records through new host calls (RecordList,
  RecordRead, RecordWrite, RecordRemove, RecordsVersion). Auth stores
  each account as one, moving its old accounts.txt over once.
- The host seals each record with XChaCha20-Poly1305 under a random
  vault key. The sealed text holds the change time and whether the
  record was removed, and the seal covers the account, collection,
  record and key, so the server can neither read, forge nor reorder a
  change. The newest change wins.
- The ML-DSA-44 account key (liboqs) signs in and, with each device's
  own Ed25519 key, signs every sync (daochi-client, protocol 6, paged
  encrypted records).
- Connecting a device swaps X25519 keys through Daochi's link mailbox;
  the account and vault keys travel sealed with a key derived from the
  exchange and the code, so the node cannot open or replace them.
- The werkzeug app is registered on api.waozi.xyz with a signed
  manifest (scripts/register_daochi_app.py).
- scripts/sync_e2e_test.sh runs two devices against a local node:
  account, connected device, record and removal; the node never stores
  the test secret in plain text.

The Android build gains INTERNET for sync, liboqs and Monocypher. The
web build leaves sync out.
2026-10-13 02:46:48 -03:00
waozi 24931e43e6 Keep Werkzeug clear of Android's navigation bar, with Inbe's font
Tested on a Moto e6 play (Android 9, 32-bit, 3-button navigation):

- The app read no window insets, so the bottom of every screen sat under
  the navigation bar. It now reads them each frame through Kryon's
  PollAndroidWindowInsets and paints the bar strips, as Inbe does.
- Android 9 cannot name a system font and the APK's font did not load, so
  text used raylib's pixel font. The APK and the browser now carry Noto
  Sans, Inbe's font, cut from Kryon's copy to the characters Werkzeug
  draws (Latin, the secret mask, × ÷ −).
- Auth showed the code for 1970 on 32-bit phones; the locked Ziran reads
  the wall clock correctly there. Empty secret fields show their hint
  instead of dots.
- Calculator's delete key is an icon, since the font has no ⌫.
- The profile button shows the name, or Profile, beside the picture.

Locks Kryon f850a301 and Ziran 201be10.
2026-10-13 02:22:45 -03:00
waozi 8a654651e2 Turn Pass into Werkzeug: a home screen running separate tool apps
Werkzeug opens Pass, Auth, Calculator and Clock from a home screen.
Each tool is its own bundle in apps/, preinstalled with Werkzeug, and
keeps its files, assets and secret to itself. Pass keeps its LessPass
passwords, profiles and settings; the host derives its keys natively.
Auth shows two-factor codes from otpauth links or secret keys and
copies them for 30 seconds. The profile holds a name, a picture and the
appearance every tool shares. This commit brings the desktop app; the
Android and browser hosts follow.
2026-10-13 00:22:41 -03:00