Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arnaultpascual/Verrou
/ functions
Functions
2,342 in github.com/arnaultpascual/Verrou
⨍
Functions
2,342
◇
Types & classes
360
↓ 7 callers
Function
preferencesLoaded
()
src/stores/preferencesStore.ts:75
↓ 7 callers
Function
renderAppLayout
(content?: string)
src/__tests__/features/layout/AppLayout.test.tsx:15
↓ 7 callers
Function
searchEntries
(query: string)
src/features/entries/ipc.ts:607
↓ 7 callers
Function
setup_vault
Create and unlock a vault, returning the DB connection and master key.
crates/verrou-vault/tests/export_integration.rs:52
↓ 7 callers
Function
setup_vault
(dir: &Path)
crates/verrou-vault/tests/health_integration.rs:43
↓ 7 callers
Function
useMediaQuery
(query: string)
src/hooks/useMediaQuery.ts:3
↓ 6 callers
Function
assemble_chunks
Reassemble decrypted chunks into the original payload. Chunks are provided as `(chunk_index, plaintext)` pairs and are sorted by index. Returns the c
crates/verrou-crypto-core/src/transfer/mod.rs:313
↓ 6 callers
Function
buildMockReport
(entryCount: number)
src/features/import/ipc.ts:31
↓ 6 callers
Function
calibrate
Benchmark the current hardware and return achievable Argon2id presets. First finds the achievable memory ceiling (512 MB → 256 MB → 128 MB) by trial
crates/verrou-crypto-core/src/kdf.rs:238
↓ 6 callers
Function
change_master_password
Change the master password from the Settings screen. The vault must be unlocked. The user re-authenticates with their current password (using `sensit
crates/verrou-vault/src/lifecycle.rs:1343
↓ 6 callers
Function
clearSearch
()
src/stores/searchStore.ts:13
↓ 6 callers
Function
decode_hex
Decode a hex-encoded string to bytes.
crates/verrou-vault/src/import/aegis.rs:453
↓ 6 callers
Function
extract_issuer
Extract an issuer from a 2FAS service entry. Priority: `otp.issuer` → `name` (if different from extracted name) → None.
crates/verrou-vault/src/import/twofas.rs:376
↓ 6 callers
Function
flushAsync
Flush microtasks + delay for getEntry() mock delay + crypto.subtle to resolve.
src/__tests__/features/entries/useTotpCode.test.ts:6
↓ 6 callers
Function
generate_transfer_keypair
Generate a transfer key and verification phrase. Returns `(TransferKey, phrase)` where `phrase` is 4 space-separated EFF diceware words (~51 bits of
crates/verrou-crypto-core/src/transfer/mod.rs:109
↓ 6 callers
Function
getTemplateById
(id: string)
src/features/credentials/templates.ts:87
↓ 6 callers
Method
kem_keypair
Return a reference to the session's hybrid KEM keypair. The keypair is deterministically derived from the master key and can be used for encapsulatio
crates/verrou-vault/src/lifecycle.rs:185
↓ 6 callers
Function
list_backups
List available vault backups, sorted newest first. Scans `{vault_dir}/backups/` for `.verrou` files matching the `vault-{timestamp}.verrou` pattern a
crates/verrou-vault/src/lifecycle.rs:1682
↓ 6 callers
Function
list_entries
( vault_state: State<'_, ManagedVaultState>, )
src-tauri/src/commands/entries.rs:728
↓ 6 callers
Function
parse_aegis_encrypted
Parse an encrypted Aegis JSON vault export. Decrypts using the Aegis encryption scheme: 1. scrypt KDF to derive slot key from password 2. AES-256-GCM
crates/verrou-vault/src/import/aegis.rs:224
↓ 6 callers
Function
persist_header
Persist an updated header to the `.verrou` file.
crates/verrou-vault/src/lifecycle.rs:1830
↓ 6 callers
Function
platformLoaded
()
src/stores/platformStore.ts:48
↓ 6 callers
Function
readCss
Read a CSS file relative to src/styles/
src/__tests__/styles/design-tokens.test.ts:23
↓ 6 callers
Method
save
Persist preferences to `{data_dir}/preferences.json`. Uses an atomic write pattern (write to `.tmp`, then rename) to prevent corruption from partial
crates/verrou-vault/src/preferences.rs:143
↓ 6 callers
Function
setSidebarCollapsed
(value: boolean)
src/stores/sidebarStore.ts:19
↓ 6 callers
Function
setup_vault
Create + unlock a vault in `dir`, returning the open database.
crates/verrou-vault/tests/folders_integration.rs:38
↓ 6 callers
Method
signing_keypair
Return a reference to the session's hybrid signing keypair. The keypair is deterministically derived from the master key and can be used for signing
crates/verrou-vault/src/lifecycle.rs:194
↓ 6 callers
Function
suggest_words
(prefix: &str, language: Bip39Language, max: usize)
crates/verrou-crypto-core/src/bip39/wordlists.rs:131
↓ 6 callers
Function
totp_params
(name: &str, secret: &str)
crates/verrou-vault/tests/export_integration.rs:70
↓ 6 callers
Function
update_codes_logic
Simulate the `update_recovery_codes` index adjustment algorithm. Removes codes at given indexes (highest-first), adjusts used indexes.
src-tauri/src/commands/entries.rs:3485
↓ 6 callers
Function
update_tray_state
Update the tray icon, menu, and tooltip to reflect vault lock state. Called after vault lock/unlock operations to keep the tray in sync.
src-tauri/src/platform/tray.rs:172
↓ 6 callers
Function
validateWord
( word: string, language: string, )
src/features/seed/ipc.ts:52
↓ 5 callers
Function
bip39_suggest_words
( mut prefix: String, language: String, max: Option<usize>, )
src-tauri/src/commands/bip39.rs:94
↓ 5 callers
Function
build_encrypted_backup
Build an encrypted 2FAS backup with known content for testing.
crates/verrou-vault/tests/import_twofas.rs:103
↓ 5 callers
Function
build_encrypted_vault
Build an encrypted Aegis vault with known content for testing.
crates/verrou-vault/tests/import_aegis.rs:305
↓ 5 callers
Function
build_test_envelope
Build a full, signed envelope around a given inner blob using a master-key-derived KEM + signing keypair (mirrors the real export flow).
crates/verrou-vault/src/export/envelope.rs:361
↓ 5 callers
Function
check_cooldown
Check if brute-force cooldown is active. Returns `Some(remaining_ms)` if the user must wait, or `None` if they can proceed.
crates/verrou-vault/src/lifecycle.rs:1805
↓ 5 callers
Function
clearError
(field: string)
src/features/credentials/AddCredentialModal.tsx:157
↓ 5 callers
Function
create_backup
Create a timestamped backup of both `.verrou` and `.db` files. Copies `vault.verrou` → `backups/vault-{timestamp}.verrou` and `vault.db` → `backups/v
crates/verrou-vault/src/lifecycle.rs:1635
↓ 5 callers
Function
create_biometric_provider
()
src-tauri/src/platform/biometric.rs:392
↓ 5 callers
Function
create_folder_under
Create a new folder, optionally nested under `parent_id`. The folder is appended after its existing siblings (sort order = current sibling max + 1),
crates/verrou-vault/src/folders.rs:48
↓ 5 callers
Function
create_vault
( mut password: String, preset: String, app: tauri::AppHandle, vault_state: State<'_, ManagedV
src-tauri/src/commands/onboarding.rs:168
↓ 5 callers
Function
decrypt_chunk
Decrypt a QR transfer chunk. Parses the wire format, verifies the authentication tag, and returns `(chunk_index, total_chunks, plaintext)`. # Errors
crates/verrou-crypto-core/src/transfer/mod.rs:231
↓ 5 callers
Function
delay
(ms: number)
src/features/folders/ipc.ts:79
↓ 5 callers
Function
delay
(ms: number)
src/features/seed/ipc.ts:194
↓ 5 callers
Function
doMove
( folderId: string, parentId: string | undefined, position: number, )
src/features/folders/FolderSection.tsx:186
↓ 5 callers
Function
extract_issuer
Extract an issuer from an Aegis entry.
crates/verrou-vault/src/import/aegis.rs:444
↓ 5 callers
Function
extract_name
Extract a display name from an Aegis entry.
crates/verrou-vault/src/import/aegis.rs:435
↓ 5 callers
Function
formatDate
(iso: string)
src/features/credentials/CredentialDetailModal.tsx:40
↓ 5 callers
Function
generate_biometric_enrollment_token
Generate a random biometric enrollment token. During enrollment, a random 32-byte secret is generated and stored in the OS keychain with biometric ac
crates/verrou-crypto-core/src/biometric.rs:105
↓ 5 callers
Function
generate_hardware_token
()
crates/verrou-crypto-core/src/hardware_key.rs:112
↓ 5 callers
Function
getDialog
()
src/__tests__/features/entries/ConfirmDeleteModal.test.tsx:30
↓ 5 callers
Function
get_entry_secret_for
The gate logic used inside `get_entry`: `SeedPhrase` and `RecoveryCode` entries must return an empty secret; all other types must still return the sec
src-tauri/src/commands/entries.rs:3765
↓ 5 callers
Function
get_entry_type
Get the entry type for an entry without decrypting its data. Lightweight query for when only the type discriminator is needed (e.g., to construct the
crates/verrou-vault/src/entries.rs:801
↓ 5 callers
Function
initI18n
(savedLanguage?: string)
src/stores/i18nStore.ts:166
↓ 5 callers
Function
initPlatformCapabilities
()
src/stores/platformStore.ts:74
↓ 5 callers
Function
inner_blob
Extract the inner `vault_format` blob from a PQ export envelope. Export now wraps the raw `vault_format` blob in a `VRENV1` envelope; tests that insp
crates/verrou-vault/tests/export_integration.rs:111
↓ 5 callers
Method
is_available
(&self)
src-tauri/src/platform/biometric.rs:157
↓ 5 callers
Method
len
(&self)
crates/verrou-crypto-core/src/kem.rs:82
↓ 5 callers
Method
len
(&self)
crates/verrou-crypto-core/src/signing.rs:85
↓ 5 callers
Method
position
Current cursor offset (used to delimit the signed portion).
crates/verrou-vault/src/export/envelope.rs:172
↓ 5 callers
Function
providerName
()
src/features/settings/BiometricSettings.tsx:128
↓ 5 callers
Function
read_u32_le
Read a u32 from `data` at `cursor` in little-endian order, advancing `cursor`.
crates/verrou-crypto-core/src/vault_format.rs:647
↓ 5 callers
Function
recover_export_key
Recover the master key from export .verrou bytes using a password.
crates/verrou-vault/tests/export_integration.rs:119
↓ 5 callers
Function
renderPageAtUrl
(url: string)
src/__tests__/features/entries/EntriesPage.test.tsx:371
↓ 5 callers
Function
renderProtected
(content = "Protected Content")
src/__tests__/features/layout/ProtectedLayout.test.tsx:16
↓ 5 callers
Function
revealRecoveryCodes
( entryId: string, password: string, )
src/features/recovery/ipc.ts:53
↓ 5 callers
Function
serialize_entries_for_transfer
Serialize selected entries for transfer. Fetches and decrypts each entry, resolves folder IDs to names, builds a `TransferPayload` with a BLAKE3 chec
crates/verrou-vault/src/transfer.rs:73
↓ 5 callers
Function
setup_vault
(dir: &Path)
crates/verrou-vault/tests/import_aegis.rs:48
↓ 5 callers
Function
setup_vault
(dir: &Path)
crates/verrou-vault/tests/import_twofas.rs:48
↓ 5 callers
Function
suggestWords
( prefix: string, language: string, max?: number, )
src/features/seed/ipc.ts:70
↓ 5 callers
Function
validateAegisImport
( data: string, password?: string, )
src/features/import/ipc.ts:120
↓ 5 callers
Function
validateTwofasImport
( data: string, password?: string, )
src/features/import/ipc.ts:167
↓ 4 callers
Function
add_recovery_slot
Generate a recovery key and add a recovery slot to the vault. Performs: 1. Generate 128-bit random entropy (CSPRNG) 2. Encode as human-readable strin
crates/verrou-vault/src/recovery.rs:120
↓ 4 callers
Function
assemble_signed_portion
Build the **signed portion** of the envelope: `MAGIC | VERSION | fields | inner`. This is the exact byte sequence that must be signed and, at import
crates/verrou-vault/src/export/envelope.rs:216
↓ 4 callers
Function
black_box_validate
( secret: &[u8], time: u64, code: &str, digits: OtpDigits, period: u32, algorithm: Otp
crates/verrou-crypto-core/tests/security/timing_sidechannel.rs:36
↓ 4 callers
Method
cancel
Signal the background thread to stop.
src-tauri/src/state.rs:138
↓ 4 callers
Function
checkEmpty
(obj: Record<string, unknown>, file: string, prefix = "")
src/__tests__/i18n/keyParity.test.ts:67
↓ 4 callers
Function
clear
Clear the clipboard. # Errors Returns an error string if the clipboard clear fails.
src-tauri/src/platform/clipboard.rs:77
↓ 4 callers
Function
confirmAegisImport
( data: string, password?: string, skipIndices?: number[], )
src/features/import/ipc.ts:140
↓ 4 callers
Function
createInitialState
(wordCount = 12)
src/features/seed/AddSeedPhraseForm.tsx:61
↓ 4 callers
Function
create_test_vault
Create a temporary vault and return the directory path.
crates/verrou-vault/src/lifecycle.rs:2241
↓ 4 callers
Function
current_epoch_secs
Get the current time as seconds since Unix epoch.
crates/verrou-vault/src/lifecycle.rs:1841
↓ 4 callers
Method
default_params
(self)
crates/verrou-crypto-core/src/kdf.rs:99
↓ 4 callers
Function
detect_platform_capabilities
()
src-tauri/src/platform/mod.rs:98
↓ 4 callers
Function
eff_large
()
crates/verrou-crypto-core/src/password/wordlist.rs:24
↓ 4 callers
Function
flushAsync
Flush microtasks + small delay for crypto.subtle (live TOTP) to resolve.
src/__tests__/features/entries/TotpDetailModal.test.tsx:34
↓ 4 callers
Function
focusCard
(index: number)
src/features/entries/EntryList.tsx:28
↓ 4 callers
Function
folder_to_dto
(f: &verrou_vault::Folder)
src-tauri/src/commands/folders.rs:40
↓ 4 callers
Function
formatDate
(date: Date | string | number)
src/stores/i18nStore.ts:117
↓ 4 callers
Function
hkdf_compute
Helper: compute HKDF-SHA256(ikm, empty salt, info).
crates/verrou-crypto-core/tests/kat_vectors/hkdf_kem.rs:18
↓ 4 callers
Function
hotpToggle
()
src/__tests__/features/entries/AddEntryModal.test.tsx:398
↓ 4 callers
Function
isExpanded
(id: string)
src/features/folders/FolderSection.tsx:89
↓ 4 callers
Function
isLastCharset
(current: boolean, ...others: boolean[])
src/features/credentials/PasswordGenerator.tsx:139
↓ 4 callers
Function
isUsed
()
src/features/recovery/RecoveryCodeDetailModal.tsx:249
↓ 4 callers
Function
isValidCode
Validate 4 space-separated words.
src/features/export/QrTransferReceiveModal.tsx:31
↓ 4 callers
Method
is_sorted_for_binary_search
(self)
crates/verrou-crypto-core/src/bip39/mod.rs:59
↓ 4 callers
Function
launchOnBoot
()
src/stores/preferencesStore.ts:93
↓ 4 callers
Function
list_attachments
List attachment metadata for an entry (no encrypted content). Returns metadata only — the BLOB column is not read. # Errors Returns [`VaultError::D
crates/verrou-vault/src/attachments.rs:144
↓ 4 callers
Function
makeMockReport
(overrides?: Partial<ValidationReportDto>)
src/__tests__/features/import/ExportGuideStep.test.tsx:28
← previous
next →
201–300 of 2,342, ranked by callers