For several Macs there are two ways: an encrypted backup file that you transfer once, or continuous sync through iCloud Drive. Both are in Settings under Advanced.

Backup

Back Up Profiles … writes all profiles to a file that is encrypted with a password (at least 8 characters). The file is named Cavvy-YYYY-MM-DD.cavvybackup.

Restore Backup … reads such a file on another Mac. Cavvy only adds profiles whose name does not exist yet; existing ones stay as they are, and Cavvy tells you which ones it skipped.

The backup contains:

  • the configurations, including their private keys and embedded certificates,
  • names, groups, assigned DNS domains, kill switch and proxy,
  • network rules and remembered networks.

Not included are passwords and one-time-code secrets from the keychain, your scripts, the smart card assignment, the app’s settings, the license, and connections managed by macOS (IKEv2).

The file is encrypted with AES-256-GCM; the key is derived from your password (PBKDF2). Without the password it cannot be opened, not by us either. Since it contains private keys, still keep it as you would keep a key.

Sync through iCloud Drive

Sync profiles through iCloud Drive keeps the profiles on your Macs the same by itself: configurations, groups, network rules, kill switch and proxy.

  1. On the first Mac, set a password (at least 8 characters) and click Turn On Sync.
  2. On every further Mac, turn sync on and enter this password once.

Cavvy stores the profiles in iCloud Drive encrypted with your sync password. The password itself is then kept in the keychain of each Mac. Passwords and one-time-code secrets of the profiles are not synced; they stay in the keychain of the Mac where you entered them.

Under State you see whether everything is in sync and which Mac wrote last. Sync Now starts a sync by hand.

When two Macs disagree

  • If a profile changed only in iCloud, this Mac takes the version from there.
  • If you changed it on this Mac, this Mac’s version applies and goes to iCloud.
  • Cavvy applies a changed configuration only once the tunnel concerned is disconnected.
  • If a profile was deleted on another Mac, Cavvy asks before deleting it here too. If you keep it, it applies to all Macs again.

Requirements

iCloud Drive must be turned on on the Mac. If Cavvy reports that the state in iCloud Drive cannot be opened with the stored password, the password was changed on another Mac: turn sync off and on again.