MCPcopy Create free account

hub / github.com/arnaultpascual/Verrou / functions

Functions2,342 in github.com/arnaultpascual/Verrou

↓ 1,082 callersFunctiont
(key: string, ...args: unknown[])
src/stores/i18nStore.ts:91
↓ 311 callersMethodconnection
(&self)
crates/verrou-vault/src/db.rs:116
↓ 167 callersMethodlen
(&self)
crates/verrou-crypto-core/src/memory.rs:135
↓ 143 callersMethodfrom
(r: verrou_vault::PasswordHealthReport)
src-tauri/src/commands/entries.rs:2799
↓ 119 callersMethodexpose
(&self)
crates/verrou-crypto-core/src/memory.rs:129
↓ 95 callersFunctionadd_entry
Add a new entry to the vault. Generates a UUID, encrypts the entry data (Layer 2), and inserts into the `entries` table. Returns the full `Entry` wit
crates/verrou-vault/src/entries.rs:476
↓ 47 callersFunctionderive
Derive a 256-bit key from a password and salt using Argon2id. Returns a [`SecretBuffer`] containing 32 bytes. The intermediate buffer is zeroized aft
crates/verrou-crypto-core/src/kdf.rs:153
↓ 47 callersFunctionunwrap_slot
Unwrap a [`KeySlot`] to recover the master key. The wrapping key and slot type's AAD tag must match what was used in [`create_slot`]. The returned [`
crates/verrou-crypto-core/src/slots.rs:160
↓ 45 callersFunctionerr_json
(code: &str, message: &str)
src-tauri/src/commands/auth_utils.rs:27
↓ 44 callersMethodis_empty
(&self)
crates/verrou-crypto-core/src/memory.rs:141
↓ 44 callersFunctionparse_twofas_json
Parse a plaintext 2FAS JSON backup export. # Errors Returns `ImportError::InvalidFormat` if the JSON structure is invalid. Returns `ImportError::Uns
crates/verrou-vault/src/import/twofas.rs:147
↓ 44 callersFunctionuseToast
()
src/components/useToast.ts:16
↓ 42 callersFunctioncreate_test_vault
Create a vault in a temp directory with the given password and preset.
crates/verrou-vault/tests/lifecycle_integration.rs:52
↓ 42 callersFunctionserialize
Serialize a vault into the `.verrou` binary format. Produces: magic + header-len + header-json + sealed-len + sealed-json + random-padding. The outpu
crates/verrou-crypto-core/src/vault_format.rs:265
↓ 41 callersFunctioncreate_slot
Wrap a master key into a new [`KeySlot`]. The master key is encrypted with AES-256-GCM using the wrapping key and the slot type's AAD tag for domain
crates/verrou-crypto-core/src/slots.rs:118
↓ 40 callersMethodexpose
(&self)
src-tauri/src/platform/biometric.rs:76
↓ 39 callersFunctionencrypt
Encrypt plaintext using AES-256-GCM with a random 96-bit nonce. Returns a [`SealedData`] containing the nonce, ciphertext, and authentication tag. Th
crates/verrou-crypto-core/src/symmetric.rs:131
↓ 37 callersFunctionrenderEditModal
( overrides: Partial<{ open: boolean; entryId: string; onClose: () => void; onSuccess: () =>
src/__tests__/features/entries/EditEntryModal.test.tsx:32
↓ 36 callersFunctionparse_aegis_json
Parse a plaintext Aegis JSON vault export. # Errors Returns `ImportError::InvalidFormat` if the JSON structure is invalid. Returns `ImportError::Uns
crates/verrou-vault/src/import/aegis.rs:188
↓ 35 callersFunctionmap_vault_error
Map vault errors to user-friendly IPC error strings.
src-tauri/src/commands/entries.rs:705
↓ 35 callersFunctionunlock_vault
Unlock an existing vault with a master password. Performs the full unlock ceremony: 1. Read `.verrou` file and parse header (no decryption needed) 2.
crates/verrou-vault/src/lifecycle.rs:434
↓ 34 callersFunctionparse_header_only
Parse the vault header from `.verrou` file bytes without decrypting the payload. This is used during unlock to read KDF params, slot info, and brute-
crates/verrou-crypto-core/src/vault_format.rs:551
↓ 32 callersFunctiondecrypt
Decrypt AES-256-GCM authenticated ciphertext. Returns the plaintext as a [`SecretBuffer`] (zeroized on drop). The intermediate decryption buffer is z
crates/verrou-crypto-core/src/symmetric.rs:186
↓ 32 callersFunctionsetup_vault
Create and unlock a vault, returning the DB connection and master key.
crates/verrou-vault/tests/import_verrou_integration.rs:59
↓ 31 callersFunctionget_entry
Get a single entry by ID, decrypting its data. # Errors - [`VaultError::EntryNotFound`] if no entry matches the ID - [`VaultError::Crypto`] if decry
crates/verrou-vault/src/entries.rs:545
↓ 31 callersFunctionlist_entries
List all entries (metadata only — no decryption). Returns [`EntryListItem`] structs with only plaintext columns. This is efficient for 500+ entries (
crates/verrou-vault/src/entries.rs:609
↓ 30 callersFunctionparseOtpAuthUri
(uri: string)
src/features/entries/otpauth.ts:37
↓ 27 callersFunctiondeserialize
Deserialize a `.verrou` binary back into header + payload. Validates magic bytes, format version, and decrypts the payload. Padding bytes are silentl
crates/verrou-crypto-core/src/vault_format.rs:349
↓ 27 callersFunctiongenerate_totp
( secret: &[u8], time: u64, digits: OtpDigits, period: u32, algorithm: OtpAlgorithm, )
crates/verrou-crypto-core/src/totp.rs:156
↓ 27 callersFunctionrenderMarkdown
(source: string)
src/features/notes/renderMarkdown.ts:115
↓ 26 callersFunctionencapsulate
Encapsulate a shared secret for the recipient's hybrid public key. Generates a fresh ephemeral X25519 key pair, performs ECDH with the recipient's X2
crates/verrou-crypto-core/src/kem.rs:377
↓ 26 callersFunctionsetVaultState
(value: VaultState)
src/stores/vaultStore.ts:13
↓ 26 callersFunctionsetup_vault
Create and unlock a vault, returning the DB connection and master key.
crates/verrou-vault/tests/entries_integration.rs:49
↓ 26 callersFunctionsign
Produce a hybrid Ed25519 + ML-DSA-65 signature over a message. The Ed25519 key pair is reconstructed from the stored seed. ML-DSA-65 signs with fresh
crates/verrou-crypto-core/src/signing.rs:368
↓ 26 callersFunctionverify
Verify a hybrid Ed25519 + ML-DSA-65 signature. Both Ed25519 and ML-DSA-65 signatures must be valid for verification to succeed. Ed25519 is checked fi
crates/verrou-crypto-core/src/signing.rs:423
↓ 25 callersFunctionrenderModal
(overrides: Partial<{ open: boolean; onClose: () => void; onSuccess: () => void; initialData: { name?: string;
src/__tests__/features/entries/AddEntryModal.test.tsx:26
↓ 24 callersFunctionderive_keypair
Deterministically derive a hybrid X25519 + ML-KEM-1024 key pair from input key material. Unlike [`generate_keypair`] (which draws fresh CSPRNG random
crates/verrou-crypto-core/src/kem.rs:297
↓ 24 callersFunctionmake_backup_json
Build a minimal valid plaintext 2FAS backup JSON.
crates/verrou-vault/src/import/twofas.rs:506
↓ 23 callersFunctionupdateEntry
( request: UpdateEntryRequest, )
src/features/entries/ipc.ts:372
↓ 23 callersFunctionvalidate_phrase
Validate a BIP39 mnemonic phrase: word count, word membership, and checksum. # Arguments `words` — slice of words in the mnemonic (12, 15, 18, 21, o
crates/verrou-crypto-core/src/bip39/mod.rs:107
↓ 22 callersFunctionparse_header
(verrou_bytes: &[u8])
crates/verrou-vault/tests/lifecycle_integration.rs:69
↓ 21 callersFunctiongetEntry
(entryId: string)
src/features/entries/ipc.ts:350
↓ 21 callersFunctionget_entry
( entry_id: String, vault_state: State<'_, ManagedVaultState>, )
src-tauri/src/commands/entries.rs:853
↓ 21 callersFunctionrenderPage
()
src/__tests__/features/entries/EntriesPage.test.tsx:21
↓ 20 callersFunctioncreate_vault_with_recovery
Helper: create a vault and add a recovery slot, returning the result along with the master key for further verification.
crates/verrou-vault/tests/lifecycle_integration.rs:782
↓ 20 callersFunctionderive_signing_keypair
Deterministically derive a hybrid Ed25519 + ML-DSA-65 signing key pair from input key material. Unlike [`generate_signing_keypair`] (which draws fres
crates/verrou-crypto-core/src/signing.rs:287
↓ 20 callersFunctionfilterEntries
( entries: EntryMetadataDto[], query: string, )
src/features/entries/filterEntries.ts:103
↓ 20 callersFunctiongenerate_keypair
Generate a hybrid X25519 + ML-KEM-1024 key pair. Both private key components are stored in [`SecretBuffer`] (mlocked, zeroized on drop). The ML-KEM k
crates/verrou-crypto-core/src/kem.rs:222
↓ 20 callersFunctionlistEntries
()
src/features/entries/ipc.ts:297
↓ 20 callersFunctionr
()
src/features/password-health/PasswordHealthPage.tsx:273
↓ 20 callersFunctiontest_header_no_slots
Create a minimal test header with no slots.
crates/verrou-crypto-core/src/vault_format.rs:684
↓ 19 callersFunctionrenderHeader
Render Header inside a MemoryRouter so useNavigate() works.
src/__tests__/features/layout/Header.test.tsx:14
↓ 18 callersMethodas_str
(&self)
src-tauri/src/platform/mod.rs:29
↓ 18 callersFunctioncreate_folder
Create a new top-level folder. # Errors Returns [`VaultError::Database`] if the SQL INSERT fails.
crates/verrou-vault/src/folders.rs:35
↓ 18 callersFunctiongenerate_signing_keypair
Generate a hybrid Ed25519 + ML-DSA-65 signing key pair. The Ed25519 key pair is created from a random 32-byte seed via `ring::signature::Ed25519KeyPa
crates/verrou-crypto-core/src/signing.rs:205
↓ 18 callersMethodlen
(&self)
crates/verrou-crypto-core/src/transfer/mod.rs:90
↓ 18 callersMethodlen
(&self)
crates/verrou-crypto-core/tests/kat_vectors/hkdf_kem.rs:12
↓ 18 callersMethodto_bytes
(&self)
crates/verrou-crypto-core/src/symmetric.rs:60
↓ 18 callersFunctiontotp_params
(name: &str, issuer: &str, secret: &str)
crates/verrou-vault/tests/import_verrou_integration.rs:93
↓ 17 callersFunctioncopyToClipboard
(text: string)
src/features/entries/ipc.ts:626
↓ 17 callersFunctiondecapsulate
Recover the shared secret using the recipient's hybrid private key. Performs X25519 ECDH with the sender's ephemeral public key and ML-KEM-1024 decap
crates/verrou-crypto-core/src/kem.rs:437
↓ 17 callersFunctionderive_transfer_key
Derive a transfer key from a verification phrase. Uses HKDF-SHA256 with a fixed salt (`verrou-qr-transfer-v1`) and info (`aes-key`) to produce a dete
crates/verrou-crypto-core/src/transfer/mod.rs:136
↓ 17 callersFunctionexport_vault_bytes
Export a vault and return the raw .verrou bytes.
crates/verrou-vault/tests/import_verrou_integration.rs:78
↓ 17 callersFunctionimport_entries
Import entries into the vault within a single transaction. Entries at indices in `skip_indices` are excluded (e.g., user-confirmed duplicates to skip
crates/verrou-vault/src/import/mod.rs:228
↓ 17 callersFunctionmakeReport
(overrides?: Partial<ValidationReportDto>)
src/__tests__/features/import/ValidationReportStep.test.tsx:30
↓ 17 callersFunctionmake_vault_json
Build a minimal valid plaintext Aegis vault JSON.
crates/verrou-vault/src/import/aegis.rs:541
↓ 17 callersFunctionparse_migration_payload
Parse a raw protobuf migration payload. This is the lower-level entry point — use `parse_migration_uri` for full URI handling. # Errors Returns `Im
crates/verrou-vault/src/import/google_auth.rs:142
↓ 16 callersFunctionderive_biometric_wrapping_key
Derive a 256-bit wrapping key from a biometric token via HKDF-SHA256. The token is typically a random 32-byte secret stored in the OS keychain with b
crates/verrou-crypto-core/src/biometric.rs:69
↓ 16 callersFunctiongeneratePassword
( request: GeneratePasswordRequest, )
src/features/credentials/ipc.ts:51
↓ 16 callersFunctiongenerateTotpCode
(entryId: string)
src/features/entries/ipc.ts:430
↓ 16 callersFunctionparseUnlockError
(errorStr: string)
src/features/vault/ipc.ts:78
↓ 16 callersFunctionrecover_master_key_from_password
Recover the master key from a vault using the password and header data. Uses the salt stored in `slot_salts[0]` and `session_params` from the header
crates/verrou-vault/tests/lifecycle_integration.rs:82
↓ 16 callersFunctionsetSearchQuery
(value: string)
src/stores/searchStore.ts:9
↓ 16 callersFunctiontotp_params
(name: &str, secret: &str)
crates/verrou-vault/tests/entries_integration.rs:68
↓ 15 callersFunctioncreate_vault
Create a new vault with a master password. Performs the full key hierarchy ceremony: 1. Check for existing vault files (refuse if already present) 2.
crates/verrou-vault/src/lifecycle.rs:324
↓ 15 callersFunctiondetectPasteType
(input: string)
src/features/entries/paste-detection.ts:15
↓ 15 callersFunctiongenerateHotpCode
(entryId: string)
src/features/entries/ipc.ts:470
↓ 15 callersFunctionisValidBase32
(secret: string)
src/features/entries/validation.ts:35
↓ 15 callersFunctionopen_temp_vault
Create a fresh `VaultDb` in a temp directory with a random key.
crates/verrou-vault/tests/db_integration.rs:15
↓ 15 callersFunctionrenderImportStep
()
src/__tests__/features/onboarding/ImportStep.test.tsx:42
↓ 14 callersFunctionmake_backup_json
Build a minimal valid plaintext 2FAS backup JSON.
crates/verrou-vault/tests/import_twofas.rs:71
↓ 14 callersFunctionmake_error
Build a JSON-encoded error string matching `UnlockErrorResponse`.
src-tauri/src/commands/biometric.rs:337
↓ 14 callersFunctionparse_envelope
Parse an envelope's structure **without** verifying the signature or decrypting anything. The caller is responsible for verifying [`ParsedEnvelope::s
crates/verrou-vault/src/export/envelope.rs:283
↓ 14 callersFunctionrenderCorruptionPage
(overrides?: { message?: string; onRestored?: () => void })
src/__tests__/features/vault/CorruptionErrorPage.test.tsx:39
↓ 14 callersFunctionrenderModal
( overrides: Partial<{ open: boolean; onClose: () => void }> = {}, )
src/__tests__/features/export/QrTransferSendModal.test.tsx:109
↓ 14 callersFunctionrenderSidebar
(collapsed = false, onToggle = vi.fn())
src/__tests__/features/layout/Sidebar.test.tsx:6
↓ 14 callersFunctionsearchQuery
()
src/stores/searchStore.ts:5
↓ 14 callersFunctionvalidate_totp
( secret: &[u8], time: u64, code: &str, digits: OtpDigits, period: u32, algorithm: Otp
crates/verrou-crypto-core/src/totp.rs:191
↓ 13 callersFunction_resetMockStore
()
src/features/entries/ipc.ts:722
↓ 13 callersFunctionadd_attachment
( conn: &rusqlite::Connection, master_key: &SecretBytes<32>, entry_id: &str, filename: &str,
crates/verrou-vault/src/attachments.rs:74
↓ 13 callersFunctioncheck_duplicates
Check for duplicates against existing vault entries. Matches by lowercase (issuer + name) pair. Returns info about each duplicate found. # Errors R
crates/verrou-vault/src/import/mod.rs:177
↓ 13 callersFunctiondeleteEntry
(entryId: string)
src/features/entries/ipc.ts:408
↓ 13 callersFunctionextractDomain
(url: string)
src/features/credentials/url-utils.ts:13
↓ 13 callersFunctionformatTotpCode
(code: string, digits: number)
src/features/entries/formatCode.ts:2
↓ 13 callersFunctiongenerate_random_password
Generate a random password of the given `length` using the specified charsets. At least one character from each enabled charset is guaranteed. The re
crates/verrou-crypto-core/src/password/mod.rs:125
↓ 13 callersFunctionimport_verrou_file
Import entries, folders, and attachments from a `.verrou` file. # Flow 1. Re-decrypt the import file (stateless re-parse) 2. Create a backup of the
crates/verrou-vault/src/import/verrou_format.rs:197
↓ 13 callersFunctionmake_totp_entry
Build a TOTP entry JSON value.
crates/verrou-vault/tests/import_aegis.rs:85
↓ 13 callersFunctionmake_totp_service
Build a single TOTP service JSON value.
crates/verrou-vault/tests/import_twofas.rs:83
↓ 13 callersFunctionnow_iso8601
Return the current UTC time as an ISO 8601 string. Uses `std::time::SystemTime` to avoid pulling in `chrono`.
crates/verrou-vault/src/lifecycle.rs:1925
↓ 13 callersFunctionrenderModal
( overrides: Partial<{ open: boolean; onClose: () => void }> = {}, )
src/__tests__/features/export/QrTransferReceiveModal.test.tsx:63
next →1–100 of 2,342, ranked by callers