feat: complete Ancestor quote bot with production-ready Docker support

This commit is contained in:
unfunny
2026-09-13 14:14:38 -04:00
parent f2016da05a
commit fe7351a7dc
1145 changed files with 30890 additions and 97684 deletions

View File

@@ -1,18 +1,20 @@
import { type OlmMachine } from "@matrix-org/matrix-sdk-crypto-wasm";
import { type BootstrapCrossSigningOpts } from "../crypto-api/index.ts";
import { type Logger } from "../logger.ts";
import { type OutgoingRequestProcessor } from "./OutgoingRequestProcessor.ts";
import { type ServerSideSecretStorage } from "../secret-storage.ts";
import { OlmMachine } from "@matrix-org/matrix-sdk-crypto-wasm";
import { BootstrapCrossSigningOpts } from "../crypto-api";
import { OutgoingRequestProcessor } from "./OutgoingRequestProcessor";
import { ServerSideSecretStorage } from "../secret-storage";
/** Manages the cross-signing keys for our own user.
*
* @internal
*/
export declare class CrossSigningIdentity {
private readonly logger;
private readonly olmMachine;
private readonly outgoingRequestProcessor;
private readonly secretStorage;
constructor(logger: Logger, olmMachine: OlmMachine, outgoingRequestProcessor: OutgoingRequestProcessor, secretStorage: ServerSideSecretStorage);
/** Called if the cross signing keys are imported from the secret storage */
private readonly onCrossSigningKeysImport;
constructor(olmMachine: OlmMachine, outgoingRequestProcessor: OutgoingRequestProcessor, secretStorage: ServerSideSecretStorage,
/** Called if the cross signing keys are imported from the secret storage */
onCrossSigningKeysImport: () => void);
/**
* Initialise our cross-signing keys by creating new keys if they do not exist, and uploading to the server
*/