Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,14 @@ Direct mode does not use SSH. It requires Imp's authenticated gateway behind a
publicly trusted TLS reverse proxy plus a pairing token.

Direct WSS is deliberately not enabled by the normal server installation.

See [VPS deployment](deploy/README.md#direct-wss-gateway-advancedmanual) for
gateway, TLS, and pairing setup.
Provision pairing with the installed bundle's
[`imp-direct-wss`](deploy/README.md#direct-wss-gateway-advanced) `setup`,
`rotate`, and `status` commands. The command prints a token only for deliberate
one-time terminal handoff; never capture or redirect that output.

See [VPS deployment](deploy/README.md#direct-wss-gateway-advanced) for the
supported service boundary, TLS/proxy operator responsibilities, bounded
public verification, and separately authorized live acceptance plan.

## What Imp provides

Expand Down
10 changes: 9 additions & 1 deletion apps/desktop/src/components/ConnectionDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,18 @@
/>
</label>

<p class="mode-help">
Obtain a token with <code>imp-direct-wss setup</code> on the server. Enter the public WSS URL and token
separately; never append the token to the URL.
</p>

<p class="mode-help">
{settings.hasPairingToken
? 'Leave the token blank to keep the currently stored credential.'
: 'Paste the 43-character pairing token supplied by the gateway operator.'}
: 'Paste the 43-character pairing token from the server setup command.'}
</p>
<p class="mode-help">
After server rotation, paste the replacement token. Save and restart Imp to use it.
</p>
{/if}

Expand Down
Loading