Managed settings for Constly (IT administrators)
An organization can set four things for Constly through its device
management: macOS configuration profiles or Windows Group Policy. The first
three have been there since 4.13.0; LicenseKey is new in 4.21.0. Linux has no
managed settings.
| Key | Value | What it does |
|---|---|---|
UpdateFeedURL |
an https URL with no user name and no {{placeholders}} |
Constly checks this feed instead of https://downloads.constly.com/updater.json. |
ProxyURL |
http://host:port, with no user name or password |
Constly’s update, licence and Pandoc download requests go through this proxy. |
AutoUpdate |
off or notify |
off: no automatic update checks. notify: Constly checks on launch and every few hours, and asks before downloading. Either value locks “Check for updates automatically” in Settings, marked “Managed by your organization”. Check for Updates… works either way: Constly ▸ Check for Updates… on a Mac, ⚙ ▸ Check for Updates… on Windows. |
LicenseKey |
the licence key from your purchase email, starting constly-v1. |
Constly is licensed on this machine without anyone typing the key. |
All four are strings.
The licence key
LicenseKey is for a Business licence: one key for the whole order, set on
every machine that is to use it.
- Constly checks the key on the machine, with the same signature checks as a key someone types. It needs no network to do so.
- The licence panel (search “License” in the command palette) shows who the key is licensed to and the seats it was bought for, says “This key is set by your organization”, and has no Deactivate button. To remove the key, remove it from the policy.
- A copy running a Business key does not register the device with Constly’s server, at launch or at any other time. It still downloads the small signed list of refunded licences once per launch, which carries no key and no identifier.
- The key is not a password. Anyone who can read the policy can read it, as with the rest of a machine’s policy. It only says who bought the licence and for how many seats.
- On Linux there are no managed settings, so each person pastes the same key into the licence panel.
What these keys can’t do
They only change where Constly connects, whether it checks on its own, and
which licence key it uses.
No key turns off certificate checks, adds a trusted root, allows plain http
or skips the update’s signature check. Every update is still verified against
Constly’s own signing key. From the release after 4.13.0, that signature
also names the build’s version, and Constly installs an update only when it
is the version the feed announced, so a feed can’t pass an older genuine
build off as a newer one. Constly 4.13.0 and earlier take the feed’s version
at its word, and a feed can still withhold updates, so an UpdateFeedURL
should point at a feed your organization trusts. Your company root certificate
belongs in the system trust store, through your MDM’s certificate payload or
Group Policy; Constly trusts what the operating system trusts.
A Kerberos/Negotiate or NTLM proxy sign-in comes from the operating system,
so ProxyURL never carries credentials. Basic is different on each system:
- on a Mac, a Basic proxy gets a password only if one is already saved for it in the keychain; Constly doesn’t ask you for one;
- on Windows, the system has no Basic password to give. Constly answers
Basic only for a proxy named in
HTTPS_PROXY(orALL_PROXY) with a user name and password, and only to that proxy. A proxy set byProxyURL, or found in the system settings, that accepts nothing but Basic can’t be signed in to.
Without ProxyURL, Constly uses the HTTPS_PROXY (or ALL_PROXY)
environment variable if it is set, and otherwise the system’s own proxy
settings, including PAC and auto-discovery.
Consented web images fetched for an export don’t use these settings in 4.13.0.
A value that isn’t valid
Constly fails closed and says so:
- an invalid
UpdateFeedURLstops update checks. Constly does not fall back to its own feed; - an invalid
ProxyURLstops the requests that would have used it. They don’t go around the proxy; - an invalid
AutoUpdateis read asoff.
LicenseKey is the exception, because Constly never stops working over a
licence: a value that isn’t a valid key is ignored. The machine is then
licensed by a key typed on it, if there is one, and otherwise shows the
purchase reminder. A key that has the right shape but isn’t a genuine
licence, or has been refunded, is ignored in the same way and named in the
app log (Save Diagnostics… includes it).
Save Diagnostics… (Help ▸ Save Diagnostics… on a Mac, ⚙ ▸ Save
Diagnostics… on Windows) writes a --- network --- section with a
managed: line naming each key as no, set, or invalid with the reason. It shows hosts
only, never the value’s path, query or any user name, and never the licence key.
macOS
Constly reads the com.constly.app preference domain and only counts values
that macOS reports as forced, which means a configuration profile delivered
them. A user’s defaults write com.constly.app … is ignored.
com.constly.app.mobileconfig is a sample
profile. Remove the keys you don’t manage, set the values, give both
PayloadUUIDs new values (uuidgen), and deploy it through your MDM, or as a
custom settings payload for the com.constly.app domain.
Windows
Constly reads SOFTWARE\Policies\RunTheWall\Constly, value by value, from
HKEY_LOCAL_MACHINE first and then HKEY_CURRENT_USER. Each value is a
REG_SZ; a value of another type counts as invalid.
constly-policy.regis a sample of the registry values.admx/is a sketch of an ADMX template with its English ADML. CopyConstly.admxanden-US/Constly.admlintoPolicyDefinitions(or your central store). It hasn’t been through a Group Policy test lab yet, so check what it writes withreg querybefore you rely on it.
Constly reads the policy each time it makes a request, so a change applies
from the next update check without a restart. The automatic-check schedule
reads AutoUpdate when Constly starts, and Settings when it opens.
LicenseKey is read when Constly starts and when the licence panel opens.