SWELL Secure

Home / SWELL Drive / How unlocking works

How unlocking works

What actually happens when you touch the sensor to open a drive, and when you lock it again. In plain terms, with the honest limits.

SWELL Drive is in beta. This page describes the Mac beta (version 0.1) as of December 2026. The drive format isn't final and hasn't had an outside review, so details may change before release.

The short answer

Each drive has its own unlocking key on your Mac, and that key lives inside the Secure Enclave, the separate security chip built into Apple silicon Macs. It never leaves the chip, and the chip uses it only after Touch ID (or your Mac password) confirms it's you.

The chip doesn't decrypt your files, though. It does one small, important step: it opens a sealed envelope stored with the drive. What comes out lets SWELL Drive rebuild the drive's main key, and SWELL Drive then decrypts and encrypts your files as you use them. So the key that unlocks the drive stays in the chip; the work on your files happens in the app.

The keys

The keys that open the sealed copies are post-quantum (ML-KEM-1024), and the files themselves are encrypted with AES-256-GCM. See Security for the algorithms.

Unlocking, step by step

You press Unlock

macOS asks for Touch ID, or your Mac password if Touch ID can't be used.

The chip checks you

Only after that check does the Secure Enclave use this Mac's key to open the drive's sealed envelope. The chip enforces this itself; an app can't skip it.

A one-time pass

SWELL Drive puts what came out of the envelope into a short-lived pass in the Mac's Keychain, kept on this Mac only and only while it's unlocked. The pass works for this one drive and expires after a minute.

The drive opens

macOS starts SWELL Drive's file system part, which can't show a Touch ID prompt itself. It takes the pass (taking it deletes it), rebuilds the drive's main key and checks the drive before mounting it.

You use it

The drive appears in Finder. Each time an app reads or saves a file, it's decrypted or encrypted on the spot. Nothing unencrypted is written into the drive's folder.

The pass never contains the drive's main key, and it can't open a different drive or an older copy of this one.

Locking

Locking (or ejecting the drive in Finder) unmounts it. SWELL Drive closes the drive, writes out anything waiting, and discards the keys it was holding in memory. Only the encrypted folder is left, and opening it again needs Touch ID or your Mac password again. When your Mac goes to sleep, an unlocked drive saves its changes and wipes its keys from memory, even if a file on it is still open.

While a drive is unlocked, its keys are in the memory of SWELL Drive's file system part on your Mac. That's how every encrypted disk works: files you've opened have to be readable.

Touch ID and your Mac password

Touch ID here isn't just a yes or no screen in the app. When SWELL Drive makes this Mac's key, it asks the Secure Enclave to require "the person is present" before every use, on this Mac only, and only while the Mac is unlocked. The chip checks that rule each time.

"Present" means Touch ID or your Mac login password. That's deliberate, so you aren't locked out when Touch ID is off or your finger isn't read. It also means anyone who knows your Mac password and is at your unlocked Mac can unlock your drives. If that matters to you, keep your Mac password private and lock your screen when you step away.

A new Mac, a reinstall, and the recovery phrase

Because this Mac's key can't leave its chip, it can't be backed up or moved. On a new Mac, after erasing your Mac, or if the key is otherwise lost, open the drive with its 24-word recovery phrase (or a YubiKey you added). SWELL Drive then makes a new key in the new Mac's Secure Enclave and adds it to the drive, so Touch ID works there from then on.

The phrase alone opens the drive on any Mac with SWELL Drive. No password or Touch ID is involved. Keep it like a house key: somewhere safe, and not on the same computer.

Encrypted .swell files

A .swell file is different from a drive. It's locked with a password you choose (and, if you like, YubiKeys), so it can be sent to someone else and opened on another device. SWELL Drive doesn't use Touch ID for these files: you type the password or use your YubiKey each time.

Who could do what

They couldn't

  • Read a drive from its folder alone, say from a copied cloud folder or a lost USB disk. They'd need your Mac's chip, the 24 words, or a YubiKey you added. There's no stored password to guess.
  • Pull the key out of a stolen Mac. The Secure Enclave won't use it without Touch ID or your Mac password, and won't hand it over at all.
  • Use the pass later. It's deleted when used and expires after a minute.

They could

  • See that the folder is a SWELL drive, roughly how much is in it, and when it changed.
  • Read drives you left unlocked, if they're at your unlocked Mac, like any open folder. Software running on your Mac as you could too.
  • Unlock another drive with your Mac password, if they know it and are at your unlocked Mac.
  • Open the drive anywhere with your 24 words. That's what the phrase is for.

These describe how the current beta behaves, not a guarantee. No encryption makes data impossible to reach for someone who has your Mac unlocked or your recovery phrase.

iPhone, iPad and Windows (in development)

iPhone and iPad work the same way as the Mac: a key in the device's Secure Enclave, Face ID or Touch ID with your passcode as the fallback. The app opens the drive itself.

Windows has no Secure Enclave. There, the PC's key for a drive is stored in a file locked to your Windows account and, on most PCs, also to Windows Hello, so it needs your face, fingerprint or PIN to open. On PCs where Windows Hello can't do that, SWELL Drive uses your Windows account's protection with a Windows Hello check before each use, and says so in the app.

See also the Drive guide for the buttons, and Security for the algorithms.