Help › Stay safe

Confirm with Touch ID

Answer the questions Querlyn asks before a change on Production with Touch ID or your Mac's password instead of a click.

Querlyn 0.1.0 is not released yet. This help describes it ahead of release.

Querlyn asks before it changes a database where the connection's environment calls for it (see Confirm risky statements). A click answers such a question, and a click can be made by habit. With Confirm with Touch ID on for a risk level, the last click of each of those questions asks for your fingerprint instead, or for your Mac's password, which the system offers in the same prompt.

It is off until you turn it on, and only changes questions that Querlyn already asks: where nothing is asked today, nothing is asked with it on.

Turn it on

  1. Open Querlyn › Open Settings and find Confirm with Touch ID under Safety, under Ask before running statements.
  2. Choose On for the risk levels you want it for, usually High risk (Production) alone.

Each switch is also a command: Command Palette › Preferences: Confirmations (High Risk): Confirm with Touch ID, Command Palette › Preferences: Confirmations (Medium Risk): Confirm with Touch ID and Command Palette › Preferences: Confirmations (Low Risk): Confirm with Touch ID.

The choice stays on this computer: it is not synced, because it depends on whether this Mac has Touch ID.

What asks for Touch ID

On a connection whose risk level has it on:

What you doWhat asks for Touch ID
Run a statement Querlyn asks aboutRun in the question. Dry Run First and Cancel never ask.
Run a statement on several connectionsRun on N Connections, when one of them has it on
Apply row changes from the resultsApply in the review
Apply a structure change from the table designer, an ER diagram or schema compareApply Changes in the question
Import a fileImport in the question
Change users, roles or privilegesThe confirming button of the question before Apply. See Manage users, roles and privileges.
Copy tables into another connectionThe last question: Copy, or Replace Rows when rows are replaced
Restore a backupRestore, after you typed the database's name (or in the question on Local and Development)
End another session in Server ActivityTerminate Session
Commit a dry runCommit (or Keep Change) in the dry run, and the tab's own Commit while the dry run waits. See See a change before you commit it.
Commit what a run on several connections left openCommit All, and the tab's own Commit then
Close a tab, disconnect or quit with a dry run or such changes openCommit and Close (and the like)

Roll Back, Roll Back All and every Cancel never ask. Neither do questions that change nothing: reading a Production table whole to compare it, cancelling another session's query, or turning read-only off. Committing your own transaction in a tab does not ask either: its statements were asked about when they ran.

While Touch ID waits

The system's prompt names what Querlyn is about to do, for example "run DROP TABLE orders in Warehouse (Production)". With screen-share mode on, the names it hides are hidden in the prompt too.

Querlyn stays usable while the prompt is up. The question shows Waiting for Touch ID… and its button waits; a dry run's Commit and Commit All read Waiting for Touch ID…. Nothing runs until you confirm.

  • Cancel in the question, or ⎋ on macOS or Esc on Windows and Linux, closes the system's prompt, and nothing runs.
  • If you cancel the prompt, or your fingerprint or password is not recognized, nothing happens: the question stays open and says why. Choose its button again to try again.

Where Touch ID is not available

On a Mac without Touch ID, one whose sensor cannot be used now (a closed lid without a Touch ID keyboard, for example), one with no fingerprint set up, or on Windows and Linux, Querlyn cannot ask. The switch says so in Settings, and each question that would ask says so in a line above its buttons; its button then confirms as it always did. Querlyn never asks for the password alone instead.

If Touch ID stops being available between the question and your answer, nothing runs, the question says so, and choosing its button again confirms without Touch ID.

In the settings file

[safety.device_authentication]
high_risk = true

high_risk, medium_risk and low_risk are true or false, and start as false. See Settings reference.

Help for Querlyn 0.1.0. All help topics