feat: rebranded from vpn-router to linux-manager.

This commit is contained in:
slawek committed 2026-11-22 09:51:07 +01:00
1 parent 8efe21bfa6
commit 85a1ffa21f
238 files changed
+5010 -3761

No files matched your search

+4 -4
View File
@@ -5,7 +5,7 @@ import {
import { useState, type FormEvent } from 'react'
import { ROUTER_TEMPLATES, type Pki } from './api.ts'
/** A request of POST /ca/certificates: a CSR to sign, or a subject and names for a key the router makes into a PFX file. */
/** A request of POST /ca/certificates: a CSR to sign, or a subject and names for a key the server makes into a PFX file. */
export type IssueRequest =
| { ca: string; template: string; csr: string }
| { ca: string; template: string; subject: string; sans: string[]; password: string }
@@ -20,9 +20,9 @@ function listOf(text: string) {
/**
* A dialog that issues a certificate from an active issuing CA with one of the templates it issues but those only the
* router issues: from a CSR, pasted or read from a file, or with a key the router makes for a subject and subject
* router issues: from a CSR, pasted or read from a file, or with a key the server makes for a subject and subject
* alternative names, returned once in a PFX file protected by a password. onSave sends the request and saves what the
* router answers; the dialog closes when it succeeds and shows the router's message when it fails.
* router answers; the dialog closes when it succeeds and shows the server's message when it fails.
*/
export default function CertificateDialog(props: { pki: Pki; onSave: (request: IssueRequest) => Promise<void>; onCancel: () => void }) {
const authorities = props.pki.status.authorities
@@ -135,7 +135,7 @@ export default function CertificateDialog(props: { pki: Pki; onSave: (request: I
type="password"
value={password}
autoComplete="new-password"
helperText="Protects the key in the PFX file; the router keeps no copy of the key."
helperText="Protects the key in the PFX file; the server keeps no copy of the key."
onChange={(event) => setPassword(event.target.value)}
/>
<TextField