Skip to content

Airlock 0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 00:57
· 4 commits to main since this release
v0.4.0
dacfbab

Warning

Not ready for production, and not formally audited. This is a prototype that handles private keys and signs transactions. Do not use it to hold or move real funds. Read the disclaimer first.

Which file to download

Airlock is the online app: it holds a vault, builds and submits transactions, and answers the browser extension. Airlock Offline is for a second device kept off the network: it reviews and signs, and opens no connection of its own. Transactions go between the two as QR codes or pasted text.

For Download
Windows, Airlock airlock-0.4.0-windows-x64-setup.exe: the installer. It downloads WebView2 while installing if Windows has none
Windows, Airlock, on a machine that cannot download WebView2 airlock-0.4.0-windows-x64-setup-full.exe: the same, with WebView2 inside (about 190 MB more)
Windows, Airlock, without installing airlock-0.4.0-windows-x64-portable.zip: unzip and run airlock.exe
Windows, Airlock Offline airlock-offline-0.4.0-windows-x64-setup.exe needs WebView2 already, as Windows 11 has it. airlock-offline-0.4.0-windows-x64-setup-full.exe has it inside, for a machine that has never been online. airlock-offline-0.4.0-windows-x64-portable.zip runs without installing
Mac with Apple Silicon airlock-0.4.0-macos-arm64.dmg, airlock-offline-0.4.0-macos-arm64.dmg. Intel Macs are not built
Debian, Ubuntu and their kin, x86-64 airlock-0.4.0-linux-amd64.deb, airlock-offline-0.4.0-linux-amd64.deb
Other x86-64 Linux airlock-0.4.0-linux-x86_64.AppImage, airlock-offline-0.4.0-linux-x86_64.AppImage. The system needs WebKitGTK (libwebkit2gtk-4.1), as Ubuntu and Fedora desktops have
Android 14 and later, arm64 phones airlock-mobile-0.4.0-android-arm64.apk: online or offline, chosen in the app
Signing for websites in Chrome, Edge or Brave airlock-extension-0.4.0.zip, with Airlock on the same computer. See the browser extension
The browser bridge on its own bridge-host-0.4.0-windows-x64.exe, bridge-host-0.4.0-macos-arm64.tar.gz. Only if you need it apart from the app: Airlock's installers, portable zip, Mac app and Linux packages already have it
Checking the files SHA256SUMS.txt and airlock-0.4.0.sigstore.json. See checking a download
Licences of the IDL files the apps ship THIRD-PARTY-NOTICES.md

Opening it the first time

None of the apps is signed by a publisher Windows, macOS or Android knows, so each of them warns the first time.

  • Windows shows "Windows protected your PC" (SmartScreen). Choose More info, then Run anyway. If Airlock is already running, quit it from its tray icon before installing a new version: with Close to tray on, closing the window leaves it running.
  • macOS 15 and later says Apple could not verify the app is free of malware, and offers only Done and Move to Trash. Choose Done, then open System Settings → Privacy & Security, choose Open Anyway beside the app's name, and confirm with your password. Or, in Terminal: xattr -dr com.apple.quarantine "/Applications/Airlock.app". macOS asks for the camera again after each update. For the standalone bridge-host tarball, run xattr -d com.apple.quarantine bridge-host after unpacking it.
  • Android installs an APK from outside a store only once you allow it: when you open the file, Android asks to let the app you opened it from (your browser or file manager) install unknown apps. Allow it, go back, and install. A new version installs over the old one and keeps its data.
  • Linux: install the .deb with sudo apt install ./airlock-0.4.0-linux-amd64.deb. Make the AppImage executable (chmod +x) and run it. For a Ledger or Trezor, install the udev rules first: see hardware wallets on Linux.

The browser extension

The extension shows websites a Solana wallet and forwards their requests to Airlock on the same computer, which holds the keys and asks you. It is not in a store yet, so it is loaded from the zip:

  1. Install Airlock (the online app) on the computer. The Windows installer registers the browser bridge unless you untick it. Otherwise, or on a Mac or Linux, open Airlock and press Install the browser bridge on its Extension chip, beside the network chip in the sidebar.
  2. Unzip airlock-extension-0.4.0.zip into a folder you will keep: the browser loads the extension from that folder every time it starts.
  3. Open the browser's extensions page: chrome://extensions in Chrome, edge://extensions in Edge, brave://extensions in Brave.
  4. Turn on Developer mode.
  5. Choose Load unpacked, and select the folder you unzipped (the one with manifest.json in it).
  6. Restart the browser. Then start Airlock, unlock it and set it to Online.

To update it, unzip the new version over the same folder and press the extension's reload button on the extensions page. Firefox is not supported yet: the bridge registers itself for Firefox, but the zip is made for Chromium browsers, and Firefox keeps an unsigned extension only until it restarts.

Checking a download

SHA256SUMS.txt has the SHA-256 of every file. Compare it with the file you downloaded:

sha256sum airlock-0.4.0-linux-amd64.deb          # Linux
shasum -a 256 airlock-0.4.0-macos-arm64.dmg      # macOS
Get-FileHash airlock-0.4.0-windows-x64-setup.exe # Windows PowerShell

Each file also has a provenance attestation: a signed statement that it was built by this repository's workflow from the tagged commit. With GitHub's CLI:

gh attestation verify airlock-0.4.0-windows-x64-setup.exe --repo tiago18c/airlock

To check it with cosign instead, without a GitHub account, see releasing. Both prove where a file was built. Neither is what Windows, macOS or Android check before running it.

What's new in 0.4.0

Added

  • A Squads multisig's members and threshold follow the chain. Airlock reads every multisig again once each time you unlock it, and whenever you open its proposals, so its card, its Details and its Settings show who is in it now. Refresh in its Details reads it again at once and says what changed. Details also shows each member's permissions when they are not all three, the time lock, and the config authority or rent collector when the multisig has one. A wallet you chose to act for it, or to approve together, that is no longer a member stays chosen and is marked "not a member", until you choose another in Settings.
  • A Squads proposal shows who approved it, who rejected it and who has yet to vote. Open a proposal under Proposals to see each member by name, with the member you act as marked "you" and your other wallets marked "on this device", and who voted to cancel an approved one. Its row says how many rejections it has against the number that rejects it, and whether you approved, rejected or voted to cancel.
  • Squads proposals that read accounts from lookup tables can be read, approved and executed. Proposals made in the Squads app for swaps and other large transactions used to show only "cannot resolve"; Proposals now reads their tables and shows their instructions like any other. A proposal whose table was closed, or does not hold what it names yet, says so.
  • A proposal your member may not execute can be executed by another wallet of this device that may, from the same Execute button, when that wallet is one of those that approve together with it.
  • Reject a Squads proposal. An open proposal offers Reject beside Approve, also when Airlock cannot read what it holds, and also after you approved it, which takes your approval back. Like Approve, it opens the transaction in Review and Sign, and works for programmatic signers, Vector wallets and offline wallets.
  • Open a Squads draft for votes, and vote to cancel an approved proposal. A draft offers Open for votes to any member that may propose, not only the one that made it. An approved proposal offers Vote to cancel beside Execute, also while its time lock holds it, which is what the lock is for; once enough members vote to cancel it, it can never be executed. Squads does not let anyone cancel or reject a draft. Both work for programmatic signers, Vector wallets and offline wallets.
  • Squads proposals that change the multisig itself can be read, approved and executed. A proposal to add or remove members, change the threshold or time lock, add or remove a spending limit or set the rent collector used to say Airlock could not read it. Its row now lists each change in words on a card of its own. One that Squads would refuse to execute says why and is not offered. Review and Sign shows the same before you approve or execute, also on an offline device when the online one sends it in the context note. After it is executed, the multisig's card and Details show the new members and threshold at once. Policy changes on smart accounts are shown but not executed from Airlock yet.
  • Close a finished Squads proposal's accounts to get their rent back. An executed, rejected or cancelled proposal, and one that a change to the multisig left stale, offers Close accounts, and Proposals offers to close every one it has read in one transaction. The rent goes, on a Squads v4 multisig, to its rent collector, and on a smart account to whoever paid for each account. Closing removes the proposal and its record from the chain. No member signs a close, only the wallet paying the fee, so it works whatever kind of wallet acts for the multisig. A v4 multisig without a rent collector cannot have its proposals closed until one is set. Review and Sign now words a close as which proposal of which multisig it closes and where the rent goes.
  • Propose a change to a Squads multisig from its Settings: add or remove a member, change the threshold and, on Squads v4, set the rent collector that lets finished proposals be closed, all in one proposal. Settings refuses in one sentence a change Squads would not accept. Propose opens the transaction in Review and Sign, which lists the change in words; when your wallets here can approve it all, it is executed in the same transaction.
  • Simulate a Squads proposal. A draft, open or approved proposal has Simulate under its instructions, which shows what they would do if the vault ran them now: whether they succeed and which balances change, or the program's error. Review and Sign does the same for a transaction that creates a proposal without executing it, under "What the proposal would do", after the transaction's own simulation.
  • Rename a wallet from its card. The three dots on a wallet on Wallets now offer Rename. The wallet's address in the address book takes the new name too.

Changed

  • A programmatic signer's transaction reads shorter in Summary. Under "Authorized by … acting as …" it now lists what runs, without the "Runs once, when nonce … is next in line" block around it. Inspect still shows the nonce, its authority and its value.
  • A Vector wallet's address is now its account's system address, which works like any other wallet's: it can pay rent for the accounts it creates (its own token accounts, a new account it sends its first SOL to, an account a site or another program makes with it as payer), and its transfers run as the site built them. The account the key controls keeps only the key and its nonce. Fees are still paid by the wallet chosen to pay them. Vector wallets now show a new address: send their SOL and tokens there. Anything already held at the old address stays there, and Airlock does not move it out.
  • An address's card opens after the pointer has rested on the address for a second, and stays for a second after the pointer leaves, so passing over addresses no longer opens cards along the way. Moving on to another address starts the wait again. A click still opens the card at once.

Fixed

  • Executing a long Squads proposal no longer fails. An execution now asks for the memory a proposal of fifty or more instructions needs, and one that uses ephemeral signers, which the program signs for itself, no longer waits for their signatures. A proposal that names too many accounts for one transaction says so before anything is signed.
  • A time lock tells how long it holds a proposal, in minutes or hours, and Execute appears when it ends, without reopening Proposals.
  • An offline wallet executing or approving a proposal alone gets its durable nonce, so the trip through QR codes no longer outlives the transaction.