Skip to content

First launch and unlock

KryoDesk keeps passwords, key passphrases and API tokens in an encrypted store (vault.kdbx, KeePass KDBX 4) in its configuration folder. The key of that store is a random 32-byte key file kept in the system key store. The app lock decides when KryoDesk may use the store: while the app is locked no secret is in memory, and open connections keep running.

Store: ~/Library/Application Support/pl.kryodesk/vault.kdbx. Key: macOS Keychain, service pl.kryodesk, item vault-key.

On the first start KryoDesk asks how it should unlock. The choice is saved in the store; it is asked again only for a new, empty store.

The first-launch screen with the unlock methods

Method What unlocks the app What runs underneath
Touch ID (macOS) Your fingerprint, a paired Apple Watch or, without either, the macOS account password. macOS LocalAuthentication, policy DeviceOwnerAuthentication. An authenticator code can be added later as a second step.
Authenticator app A 6-digit code from an authenticator app on your phone (Google or Microsoft Authenticator, 1Password, Bitwarden, …). TOTP (RFC 6238, SHA-1, 6 digits, 30 s) plus 10 one-time recovery codes. The code is the only unlock step.
Windows Hello (Windows) Face, fingerprint or the Windows Hello PIN. Windows UserConsentVerifier; a Windows Hello key pair (KeyCredentialManager, in the TPM or the Windows Hello container) signs a random challenge, and the signature gives the key that encrypts the vault key. An authenticator code can be added later as a second step.

Preparing Touch ID, Apple Watch or Windows Hello before this screen: Set up the app lock.

The tile of the other system is greyed out (“macOS only” / “Windows only”). A tile that cannot be used says why under its name, for example when Touch ID or Windows Hello is not set up.

The Touch ID tile

Click Touch ID. macOS shows its authentication dialog; after you confirm, the store is created and the app opens. Without a fingerprint reader and a paired Apple Watch, the same dialog asks for the macOS account password.

The authenticator app tile

Click Authenticator app. KryoDesk shows a QR code and the same secret as text.

Account and secret of the authenticator entry

Field Meaning
Account The name the entry gets in your authenticator app: KryoDesk: <user>@<computer>.
Secret The TOTP secret in Base32, for manual entry when the app cannot scan the QR code. Type: time-based, SHA-1, 6 digits, 30 s period.
  1. Scan the QR code with your authenticator app (or type the secret).
  2. Type the 6-digit code the app shows now and click Confirm.

The code field

  1. KryoDesk shows 10 recovery codes. Each code unlocks once, in place of the authenticator code, and they are shown only on this screen. Copy them (Copy) to a safe place and click I saved them, continue. New codes (the old ones stop working) are made in Settings → Security & Privacy → App Lock.

The recovery codes after the first code

← Other method returns to the choice of method.

After 5 wrong codes in a row KryoDesk makes you wait 30 s before the next try; each further run of wrong codes doubles the wait, up to 1 hour. The wait is kept in memory only: quitting and starting KryoDesk resets it.

After the first unlock Mr. Paperclip walks you through a few short steps, one bubble each, with the progress in its title (2/5). A step that points at part of the window dims the rest and rings that part; it stays clickable.

Step What it shows Moves on
Unlock method The first-start screen above (step 1 with the next row). A method chosen
Second factor Offered when Touch ID (or Windows Hello) alone unlocks: Set up… opens Settings → Security & Privacy → App Lock. Not shown when the authenticator code is already set up. Settings closed with the code set up, or Next
Connect The User sessions search (user@host, user@host:port or host, then Enter: connects without saving) and the Session toolbar button (saved sessions). An SSH tab logged in, or Next
Server files The SFTP window of that session. Next
Monitoring The bar under the SSH session: host, CPU, RAM, network, uptime, disks. Next
Done Where the tutorial comes back from. Finish

While the SSH tab logs in (host key, password) nothing covers the terminal. A failed or closed connection returns to the Connect step.

Skip tutorial, Esc, or sending Mr. Paperclip to the corner ends it; it does not come back at the next start. Help → Show Tutorial starts it again (without the second-factor step once the code is set up). Progress is kept in the window’s local storage (tutorial-progress).

Adding sessions by hand or importing them from MobaXterm or KeePass: the link in the empty User sessions window, or Import sessions.

Every start opens locked. With Touch ID or Windows Hello, click Unlock and confirm in the system dialog; with the authenticator app as a second step, the lock screen then asks for the code (step 2 of 2). With the authenticator app as the only method, click Enter code and type it. A recovery code works in the same field; the screen shows how many attempts are left.

Lock screen asking for the authenticator code

Set in Settings → Security & Privacy → App Lock:

Setting (as in the app) Default Meaning
Unlock lasts 60 minutes How long one unlock lasts (1–1440).
Lock after inactivity 0 (off) Lock after this many minutes without keyboard or mouse input (0–1440).
Lock on sleep, closed lid, display sleep and screen lock on Also a switch to another user (macOS) or a locked, disconnected or switched Windows session.
Code needed again after (Two-Factor Unlock) 0 With the authenticator as a second step: after a code, unlocks within this many minutes need only the first step; 0 = a code at every unlock.

Locking clears the secrets from memory. Open SSH, SFTP and other connections keep running; anything that needs a secret again (a new connection, a monitoring refresh, background notifications) waits until you unlock.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close