Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Refactor dev and test settings (#2159)
Leendert de Borst1faf0ab7afed
diff --git a/apps/browser-extension/src/entrypoints/popup/components/Items/FolderPill.tsx b/apps/browser-extension/src/entrypoints/popup/components/Items/FolderPill.tsxindex 3eed0c25e..32376594a 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Items/FolderPill.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Items/FolderPill.tsx@@ -20,7 +20,7 @@ interface IFolderPillProps {* FolderPill component** Displays a folder as a compact pill/tag that can be clicked to navigate into.- * Designed to be displayed inline with other folder pills. Shared folders get a+ * Designed to be displayed inline with other folder pills. A folder of a shared manifest gets a* small people badge overlaid on the folder icon.*/const FolderPill: React.FC<IFolderPillProps> = ({ folder, onClick, isActive = false, optionId, isShared = false }) => {diff --git a/apps/browser-extension/src/platform/ExtensionPlatform.ts b/apps/browser-extension/src/platform/ExtensionPlatform.tsindex d48ccdabc..0fa03eeca 100644--- a/apps/browser-extension/src/platform/ExtensionPlatform.ts+++ b/apps/browser-extension/src/platform/ExtensionPlatform.ts@@ -93,7 +93,6 @@ export const extensionPlatform: IClientPlatform = {app: {version: EXTENSION_VERSION,clientName: detectClientName(),- isDevelopment: import.meta.env.DEV,},rustCore,sqlite: createRustSqliteEngine(rustCore),diff --git a/apps/browser-extension/tests/helpers/test-api.ts b/apps/browser-extension/tests/helpers/test-api.tsindex 4008134ee..1a90c33d7 100644--- a/apps/browser-extension/tests/helpers/test-api.ts+++ b/apps/browser-extension/tests/helpers/test-api.ts@@ -4,6 +4,7 @@* This module provides utilities for interacting with the AliasVault API during E2E tests.*/+import { WebApiService } from '@aliasvault/client/api/WebApiService';import { SrpAuthService } from '@aliasvault/client/auth/SrpAuthService';import { base64ToBytes } from '@aliasvault/client/utilities/Base64';import * as OTPAuth from 'otpauth';@@ -62,14 +63,20 @@ export async function registerTestUser(username: string,password: string): Promise<{ tokenModel: TokenModel; encryptionKey: Uint8Array }> {- const result = await SrpAuthService.registerUser(apiBaseUrl, username, password);- if (!result.success || !result.token || !result.derivedKey || !result.encryptionKey) {- throw new Error(result.error ?? 'Registration failed without an error message.');+ const prepared = await SrpAuthService.prepareRegistration(username, password);+ const response = await fetch(`${WebApiService.versionedBaseUrl(apiBaseUrl)}Auth/register`, {+ method: 'POST',+ headers: { 'Content-Type': 'application/json' },+ body: JSON.stringify(prepared.request),+ });+ if (!response.ok) {+ throw new Error(`Registration failed with status ${response.status}: ${await response.text()}`);}- await pushInitialVault(apiBaseUrl, result.token.token, username, base64ToBytes(result.encryptionKey));+ const tokenModel = await response.json() as TokenModel;+ await pushInitialVault(apiBaseUrl, tokenModel.token, username, base64ToBytes(prepared.keys.vaultEncryptionKey));- return { tokenModel: result.token, encryptionKey: base64ToBytes(result.derivedKey) };+ return { tokenModel, encryptionKey: base64ToBytes(prepared.derivedKey) };}/**diff --git a/apps/mobile-app/platform/MobilePlatform.ts b/apps/mobile-app/platform/MobilePlatform.tsindex a17508913..2f9beabcd 100644--- a/apps/mobile-app/platform/MobilePlatform.ts+++ b/apps/mobile-app/platform/MobilePlatform.ts@@ -1,5 +1,4 @@-import { setPlatform, TranslatableMessage } from '@aliasvault/client/platform';-import { unavailableService } from '@aliasvault/client/platform/InMemoryPlatform';+import { setPlatform, TranslatableMessage, unavailableService } from '@aliasvault/client/platform';import type { IClientPlatform, IKeyValueStore, ISqliteEngine } from '@aliasvault/client/platform';@@ -51,7 +50,6 @@ const mobilePlatform: IClientPlatform = {app: {version: MobileAppIdentity.VERSION,clientName: MobileAppIdentity.CLIENT_NAME,- isDevelopment: __DEV__,},rustCore: nativeRustCore,sqlite: unavailableService<ISqliteEngine>('SQLite engine'),diff --git a/apps/server/AliasVault.Api/Helpers/AuthHelper.cs b/apps/server/AliasVault.Api/Helpers/AuthHelper.csindex f9d638d28..a768e3d03 100644--- a/apps/server/AliasVault.Api/Helpers/AuthHelper.cs+++ b/apps/server/AliasVault.Api/Helpers/AuthHelper.cs@@ -1,4 +1,4 @@-//-----------------------------------------------------------------------+//-----------------------------------------------------------------------// <copyright file="AuthHelper.cs" company="aliasvault">// Copyright (c) aliasvault. All rights reserved.// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.csindex 21a0eb715..57640d22e 100644--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Client/Shard2/DbUpgradeTests.cs@@ -55,7 +55,7 @@ public class DbUpgradeTests : ClientPlaywrightTest{ManifestId = currentVault.ManifestId,OwnerUserId = user.Id,- StorageFormat = "sqlite-blob",+ StorageFormat = VaultManifestBase.LegacyStorageFormat,Version = "1.0.0",RevisionNumber = 2,CreatedAt = DateTime.UtcNow,diff --git a/apps/server/Tests/AliasVault.E2ETests/Tests/Extensions/VaultUpgradeTests.cs b/apps/server/Tests/AliasVault.E2ETests/Tests/Extensions/VaultUpgradeTests.csindex 84e541e61..e77807c09 100644--- a/apps/server/Tests/AliasVault.E2ETests/Tests/Extensions/VaultUpgradeTests.cs+++ b/apps/server/Tests/AliasVault.E2ETests/Tests/Extensions/VaultUpgradeTests.cs@@ -58,7 +58,7 @@ public class VaultUpgradeTests : BrowserExtensionPlaywrightTest{ManifestId = currentVault.ManifestId,OwnerUserId = user.Id,- StorageFormat = "sqlite-blob",+ StorageFormat = VaultManifestBase.LegacyStorageFormat,Version = "1.0.0",RevisionNumber = 2,CreatedAt = DateTime.UtcNow,diff --git a/apps/server/Tests/AliasVault.IntegrationTests/TestUserSeeder.cs b/apps/server/Tests/AliasVault.IntegrationTests/TestUserSeeder.csindex 04b0efe84..7aaeb1743 100644--- a/apps/server/Tests/AliasVault.IntegrationTests/TestUserSeeder.cs+++ b/apps/server/Tests/AliasVault.IntegrationTests/TestUserSeeder.cs@@ -49,7 +49,7 @@ public static class TestUserSeederdbContext.GroupMembers.Add(new GroupMember { Id = Guid.NewGuid(), GroupId = group.Id, UserId = user.Id, Role = GroupRole.Owner, CreatedAt = now, UpdatedAt = now });// The personal group owns a single manifest; email claims link to it and delivery keys scope to it.- var manifest = new VaultManifest { ManifestId = Guid.NewGuid(), OwnerGroupId = group.Id, StorageFormat = "sqlite-blob", RevisionNumber = 1, CreatedAt = now, UpdatedAt = now };+ var manifest = new VaultManifest { ManifestId = Guid.NewGuid(), OwnerGroupId = group.Id, StorageFormat = VaultManifestBase.LegacyStorageFormat, RevisionNumber = 1, CreatedAt = now, UpdatedAt = now };dbContext.VaultManifests.Add(manifest);// At most one primary delivery key exists per manifest (unique filtered index).diff --git a/apps/server/Tests/AliasVault.UnitTests/Vault/RetentionManager/GeneralRetentionTests.cs b/apps/server/Tests/AliasVault.UnitTests/Vault/RetentionManager/GeneralRetentionTests.csindex 2b09e7ffb..cbc2a414c 100644--- a/apps/server/Tests/AliasVault.UnitTests/Vault/RetentionManager/GeneralRetentionTests.cs+++ b/apps/server/Tests/AliasVault.UnitTests/Vault/RetentionManager/GeneralRetentionTests.cs@@ -30,15 +30,15 @@ public class GeneralRetentionTestsnow = new DateTime(2023, 6, 1, 12, 0, 0); // Set a fixed "now" date for testing: June 1, 2023, 12:00 PMtestVaults =[- new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 31, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 9 },- new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 31, 4, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 8 },- new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 30, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 7 }, // 2 days ago- new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 29, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 6 }, // 3 days ago- new VaultManifestsHistory { Version = "1.0.3", UpdatedAt = new DateTime(2023, 5, 28, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 5 }, // 4 days ago- new VaultManifestsHistory { Version = "1.0.3", UpdatedAt = new DateTime(2023, 5, 18, 12, 0, 0), Salt = "def", Verifier = "def", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 4 }, // 2 weeks ago- new VaultManifestsHistory { Version = "1.0.3", UpdatedAt = new DateTime(2023, 5, 11, 12, 0, 0), Salt = "def", Verifier = "def", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 3 }, // 3 weeks ago- new VaultManifestsHistory { Version = "1.0.2", UpdatedAt = new DateTime(2023, 5, 1, 12, 0, 0), Salt = "def", Verifier = "def", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 2 }, // 1 month ago- new VaultManifestsHistory { Version = "1.0.1", UpdatedAt = new DateTime(2023, 4, 1, 12, 0, 0), Salt = "ghi", Verifier = "ghi", VaultBlob = string.Empty, StorageFormat = "sqlite-blob", EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 1 }, // 2 months ago+ new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 31, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 9 },+ new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 31, 4, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 8 },+ new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 30, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 7 }, // 2 days ago+ new VaultManifestsHistory { Version = "1.1.0", UpdatedAt = new DateTime(2023, 5, 29, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 6 }, // 3 days ago+ new VaultManifestsHistory { Version = "1.0.3", UpdatedAt = new DateTime(2023, 5, 28, 12, 0, 0), Salt = "abc", Verifier = "abc", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 5 }, // 4 days ago+ new VaultManifestsHistory { Version = "1.0.3", UpdatedAt = new DateTime(2023, 5, 18, 12, 0, 0), Salt = "def", Verifier = "def", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 4 }, // 2 weeks ago+ new VaultManifestsHistory { Version = "1.0.3", UpdatedAt = new DateTime(2023, 5, 11, 12, 0, 0), Salt = "def", Verifier = "def", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 3 }, // 3 weeks ago+ new VaultManifestsHistory { Version = "1.0.2", UpdatedAt = new DateTime(2023, 5, 1, 12, 0, 0), Salt = "def", Verifier = "def", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 2 }, // 1 month ago+ new VaultManifestsHistory { Version = "1.0.1", UpdatedAt = new DateTime(2023, 4, 1, 12, 0, 0), Salt = "ghi", Verifier = "ghi", VaultBlob = string.Empty, StorageFormat = VaultManifestBase.LegacyStorageFormat, EncryptionType = string.Empty, EncryptionSettings = string.Empty, RevisionNumber = 1 }, // 2 months ago];}@@ -221,7 +221,7 @@ public class GeneralRetentionTestsvar newVault = new VaultManifest{VaultBlob = string.Empty,- StorageFormat = "sqlite-blob",+ StorageFormat = VaultManifestBase.LegacyStorageFormat,Version = string.Empty,Salt = string.Empty,Verifier = string.Empty,diff --git a/core/client/src/crypto/EncryptionUtility.crypto.test.ts b/core/client/src/crypto/EncryptionUtility.crypto.test.tsindex 54cc7978b..8b49193d0 100644--- a/core/client/src/crypto/EncryptionUtility.crypto.test.ts+++ b/core/client/src/crypto/EncryptionUtility.crypto.test.ts@@ -9,6 +9,15 @@ beforeEach(() => {EncryptionUtility.clearRsaPrivateKeyCache();});+/**+ * RSA-OAEP encrypts a string with a JWK public key, the way the server encrypts email keys.+ */+async function encryptWithPublicKey(plaintext: string, publicKey: string): Promise<string> {+ const key = await crypto.subtle.importKey('jwk', JSON.parse(publicKey), { name: 'RSA-OAEP', hash: 'SHA-256' }, false, ['encrypt']);+ const cipherBuffer = await crypto.subtle.encrypt({ name: 'RSA-OAEP' }, key, new TextEncoder().encode(plaintext));+ return Buffer.from(cipherBuffer).toString('base64');+}+/*** Creates a mailbox email with fields encrypted by the supplied RSA key pair. The decryption key references the key* by its position in the response-level public key table, mirroring what the API sends.@@ -35,7 +44,7 @@ async function createMailboxEmail(date: '2026-05-26T00:00:00Z',dateSystem: '2026-05-26T00:00:00Z',secondsAgo: id,- decryptionKeys: [{ keyIndex, encryptedSymmetricKey: await EncryptionUtility.encryptWithPublicKey(rawSymmetricKey, encryptionKey.PublicKey) }],+ decryptionKeys: [{ keyIndex, encryptedSymmetricKey: await encryptWithPublicKey(rawSymmetricKey, encryptionKey.PublicKey) }],};}@@ -59,7 +68,7 @@ async function createEmail(date: '2026-05-26T00:00:00Z',dateSystem: '2026-05-26T00:00:00Z',secondsAgo: 1,- decryptionKeys: [{ keyIndex: 0, encryptedSymmetricKey: await EncryptionUtility.encryptWithPublicKey(rawSymmetricKey, encryptionKey.PublicKey) }],+ decryptionKeys: [{ keyIndex: 0, encryptedSymmetricKey: await encryptWithPublicKey(rawSymmetricKey, encryptionKey.PublicKey) }],publicKeys: [encryptionKey.PublicKey],};}@@ -138,7 +147,7 @@ describe('generateRsaKeyPairNonExtractable', () => {it('round-trips: encrypt with JWK public key, decrypt with CryptoKey', async () => {const { publicKeyJwk, privateKey } = await EncryptionUtility.generateRsaKeyPairNonExtractable();- const ciphertext = await EncryptionUtility.encryptWithPublicKey('hello mobile login', publicKeyJwk);+ const ciphertext = await encryptWithPublicKey('hello mobile login', publicKeyJwk);const plaintextBytes = await EncryptionUtility.decryptWithPrivateKeyObject(ciphertext, privateKey);expect(new TextDecoder().decode(plaintextBytes)).toBe('hello mobile login');@@ -149,7 +158,7 @@ describe('generateRsaKeyPair (legacy JWK path, used by vault email decrypt)', ()it('still round-trips through the JWK-string decrypt path', async () => {const { publicKey, privateKey } = await EncryptionUtility.generateRsaKeyPair();- const ciphertext = await EncryptionUtility.encryptWithPublicKey('email body', publicKey);+ const ciphertext = await encryptWithPublicKey('email body', publicKey);const plaintextBytes = await EncryptionUtility.decryptWithPrivateKey(ciphertext, privateKey);expect(new TextDecoder().decode(plaintextBytes)).toBe('email body');diff --git a/core/client/src/crypto/EncryptionUtility.ts b/core/client/src/crypto/EncryptionUtility.tsindex 4efee44ab..660618219 100644--- a/core/client/src/crypto/EncryptionUtility.ts+++ b/core/client/src/crypto/EncryptionUtility.ts@@ -253,33 +253,6 @@ export class EncryptionUtility {};}- /**- * Encrypts data using RSA-OAEP asymmetric encryption with a public key- */- public static async encryptWithPublicKey(plaintext: string, publicKey: string): Promise<string> {- const publicKeyObj = await crypto.subtle.importKey(- "jwk",- JSON.parse(publicKey),- {- name: "RSA-OAEP",- hash: "SHA-256",- },- false,- ["encrypt"]- );-- const encodedPlaintext = new TextEncoder().encode(plaintext);- const cipherBuffer = await crypto.subtle.encrypt(- {- name: "RSA-OAEP"- },- publicKeyObj,- encodedPlaintext- );-- return bytesToBase64(new Uint8Array(cipherBuffer));- }-/*** Decrypts data using RSA-OAEP asymmetric encryption with a JWK private key*/diff --git a/core/client/src/platform/AppIdentity.ts b/core/client/src/platform/AppIdentity.tsindex d0075880c..d3bcd6ce4 100644--- a/core/client/src/platform/AppIdentity.ts+++ b/core/client/src/platform/AppIdentity.ts@@ -7,7 +7,4 @@ export interface IAppIdentity {/** The client name sent in the `X-AliasVault-Client` header, e.g. `chrome`, `ios`, `web`. */clientName: string;-- /** True for development builds; enables dev-only diagnostics such as stage timers. */- isDevelopment: boolean;}diff --git a/core/client/src/platform/InMemoryPlatform.ts b/core/client/src/platform/InMemoryPlatform.tsindex 3f92b64ce..e017d5c07 100644--- a/core/client/src/platform/InMemoryPlatform.ts+++ b/core/client/src/platform/InMemoryPlatform.ts@@ -1,3 +1,5 @@+import { unavailableService } from './UnavailableService';+import type { IClientPlatform } from './ClientPlatform';import type { IKeyValueStore, StorageKey } from './KeyValueStore';import type { ISqliteEngine } from './SqliteEngine';@@ -63,17 +65,6 @@ export class InMemoryKeyValueStore implements IKeyValueStore {}}-/**- * A platform service that refuses every call, for hosts that do not provide it.- * @param what - the service name, for the error message- */-export function unavailableService<T extends object>(what: string): T {- return new Proxy({} as T, {- /** Every member access yields a rejecting function. */- get: (_target, property): unknown => (): Promise<never> => Promise.reject(new Error(`No ${what} configured for this platform (${String(property)}).`)),- });-}-/*** A platform with in-memory storage and no-op logging, for unit tests. Override what the test needs (typically* the Rust core binding and the SQLite engine).@@ -90,7 +81,7 @@ export function createInMemoryPlatform(overrides: Partial<IClientPlatform> = {})/** Discard. */error: (): void => {},},- app: { version: '0.0.0-test', clientName: 'test', isDevelopment: false },+ app: { version: '0.0.0-test', clientName: 'test' },rustCore: unavailableService<IRustCore>('Rust core'),sqlite: unavailableService<ISqliteEngine>('SQLite engine'),/**diff --git a/core/client/src/platform/UnavailableService.ts b/core/client/src/platform/UnavailableService.tsnew file mode 100644index 000000000..5662b9b88--- /dev/null+++ b/core/client/src/platform/UnavailableService.ts@@ -0,0 +1,10 @@+/**+ * A platform service that refuses every call, for hosts that do not provide it.+ * @param what - the service name, for the error message+ */+export function unavailableService<T extends object>(what: string): T {+ return new Proxy({} as T, {+ /** Throws an error when the service is accessed. */+ get: (_target, property): unknown => (): Promise<never> => Promise.reject(new Error(`No ${what} configured for this platform (${String(property)}).`)),+ });+}diff --git a/core/client/src/platform/index.ts b/core/client/src/platform/index.tsindex 6fc42448a..523be5627 100644--- a/core/client/src/platform/index.ts+++ b/core/client/src/platform/index.ts@@ -4,4 +4,5 @@ export type { IKeyValueStore, StorageKey } from './KeyValueStore';export { devError, devLog, devWarn, type ILogger } from './Logger';export type { ISqliteDatabase, ISqliteEngine, SqliteRow, SqliteValue } from './SqliteEngine';export { TranslatableMessage } from './TranslatableMessage';+export { unavailableService } from './UnavailableService';export type { IRustCore } from '../rust/RustCoreBinding';diff --git a/core/client/src/sharing/MultiManifestRendering.ts b/core/client/src/sharing/MultiManifestRendering.tsindex e92278c2b..5fe6c11bd 100644--- a/core/client/src/sharing/MultiManifestRendering.ts+++ b/core/client/src/sharing/MultiManifestRendering.ts@@ -155,5 +155,3 @@ const subfolderRendering: MultiManifestRenderer = {* The rendering mode this build ships. Every caller goes through this, so the mode is decided here and nowhere else.*/export const multiManifestRendering: MultiManifestRenderer = subfolderRendering;--export default multiManifestRendering;diff --git a/core/rust/src/vault_codec/sharing_tests.rs b/core/rust/src/vault_codec/sharing_tests.rsindex 89e1ffd75..532a2e271 100644--- a/core/rust/src/vault_codec/sharing_tests.rs+++ b/core/rust/src/vault_codec/sharing_tests.rs@@ -30,8 +30,7 @@ fn spec(folder_id: &str) -> ManifestSpec {}}-/// A canonicalize input whose rows are stamped the way a real client writes them (see-/// [`super::tests::stamp_unstamped`]): fixtures declare the stamps that matter and this fills in the rest.+/// A canonicalize input whose rows are stamped the way a real client writes them.fn input_with_shares(tables: Vec<CodecTableData>, shared_manifests: Vec<ManifestSpec>) -> CanonicalizeInput {raw_input_with_shares(stamp_unstamped(tables, PERSONAL_M), shared_manifests)}