KyAuth for Linux manual
Authenticator codes and KyIdentity push approvals for Nura (postmarketOS) and Ubuntu Touch. Linux does not provide the Android account sign-on service or a passkey provider.
Start with Getting started, then Everyday tasks. Use Troubleshooting when something fails. Reference links the detailed configuration, recovery and security documents for this product.
This manual describes the checked-out product and its documented limits. Release availability, real-device support and production qualification must be checked for the version you install. Roadmap and design documents describe proposals unless the product documentation says they shipped.
Getting started
Install and unlock
On Ubuntu Touch, install the arm64 click package from this project’s releases. On Nura or a Linux desktop, use the signed Flatpak repository described in the product reference. Set a strong passphrase when creating the vault: Linux has no hardware keystore protecting it from offline guesses.
Connect KyIdentity
- On Nura, install a UnifiedPush distributor first. Ubuntu Touch uses Ubuntu Push.
- In KyIdentity, open Devices and create a pairing code.
- In KyAuth, open Settings, then Connect your account.
- On Ubuntu Touch, scan the QR code. On Nura, copy its text using another QR app, choose Enter code manually, then Paste and Pair.
Complete pairing within 90 seconds. Test a sign-in while you still have an alternative way into the account.
Everyday tasks
Codes
Add a TOTP account using its otpauth://totp/ link; Ubuntu Touch can also scan its QR code. Duplicate accounts are refused. Select a code to copy it; the clipboard is cleared after 30 seconds. Keep each service’s recovery codes separately from this phone.
Sign-in approvals
Unlock KyAuth when a request arrives. Check that you started the sign-in, then enter the two digits shown on the browser’s sign-in screen. Deny an unexpected request. The app locks whenever it leaves the foreground.
Changing phones
Enrol the replacement using KyIdentity and re-enrol TOTP accounts using each service’s recovery process. Verify the replacement before revoking the old device. Do not treat a copy of vault.json as a qualified cross-device migration.
TOTP setup keys
Setup keys need at least 10 decoded bytes (80 bits). An issuer-provided key between 80 and 127 bits is accepted with a short-key warning. A retained account below 80 bits is unavailable for code generation; use the issuing service to replace its secret. Preserve its record until recovery is verified.
Troubleshooting
- No push on Nura: check that a UnifiedPush distributor is installed and running. With several distributors,
UNIFIEDPUSH_DISTRIBUTORselects one; otherwise the alphabetically first is used. - No camera scanner: Qt 6 builds do not have the Qt 5 QZXing camera filter. Paste the pairing text instead.
- Pairing expired: create a new code in KyIdentity and retry within 90 seconds.
- Codes rejected: check the phone’s clock and the account’s TOTP settings before deleting anything.
- Forgotten passphrase: stop guessing. Five consecutive wrong passcodes erase local data. Recover access through the enrolled services and KyIdentity.
When reporting a problem, include the product version, platform, failed task and a redacted error. Exclude pairing links, device secrets, recovery codes, custodian shares and private content.
Reference and security
Product reference
The repository README links the current installation commands, environment reference and supported deployment/distribution paths. Read the version matching your installation. The links below open repository documents and need network access.
Detailed product guides
Privacy and vulnerability reports
Read SECURITY.md for this product’s security model, known limits and private reporting route. Follow that policy for suspected vulnerabilities. Do not publish credentials or private data in a public issue.
Versions
Use the release record and, where present, the repository changelog. A successful build is not proof of a published or qualified release.
Development and documentation
Contributing
Read CONTRIBUTING.md before changing the product. It owns the contribution process, build prerequisites and required product checks. Read the repository’s AGENTS.md chain when working with an agent. Native builds and tests require their documented operating systems, SDKs and devices.
Build this manual
Install mdBook 0.5.4 and Python 3. From the repository root:
mdbook build docs
python3 docs/check-links.py
Open docs/book/index.html to read the generated manual. Search and the printable
whole-book view are built in. Run the same two commands after editing chapters or links.
The generated docs/book/ directory is ignored; commit the Markdown sources and configuration.
Documentation checks
The documentation workflow builds the book, checks generated local links and anchors,
then uploads the complete book as a documentation-book artifact. It does not publish
a public website. After extracting the artifact, open index.html.
Add chapters to docs/src/SUMMARY.md. Keep user instructions consistent with current
behavior and update the related reference guides when a workflow changes. External
reference URLs are not fetched by the local-link check.
Licence
Read the project’s licence text. Third-party components keep their own licences; consult the repository and application acknowledgements for their notices.