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
↓ 13 callers
Function
renderSettingsPage
()
src/__tests__/features/settings/SettingsPage.test.tsx:56
↓ 13 callers
Function
unlock_vault_with_recovery_key
Unlock an existing vault with a recovery key. Follows the same ceremony as [`unlock_vault`] but uses a recovery slot instead of a password slot, and
crates/verrou-vault/src/lifecycle.rs:653
↓ 13 callers
Function
useReveal
(options: UseRevealOptions<T>)
src/features/entries/useReveal.ts:106
↓ 12 callers
Function
copyCode
()
src/features/entries/useCopyOtp.ts:30
↓ 12 callers
Function
currentTheme
()
src/stores/preferencesStore.ts:78
↓ 12 callers
Function
delete_entry
Delete an entry by ID. Permanently removes the entry from the database. Confirmation is handled at the IPC caller level (frontend), not here. # Erro
crates/verrou-vault/src/entries.rs:828
↓ 12 callers
Function
derive_hardware_wrapping_key
Derive a 256-bit wrapping key from a hardware security token via HKDF-SHA256. The token is typically a random 32-byte secret stored in a hardware sec
crates/verrou-crypto-core/src/hardware_key.rs:80
↓ 12 callers
Function
flushAsync
Flush microtasks + small delay for crypto.subtle to resolve.
src/__tests__/features/entries/EntryCard.test.tsx:23
↓ 12 callers
Function
initPreferences
()
src/stores/preferencesStore.ts:113
↓ 12 callers
Function
makeReport
()
src/__tests__/features/import/ImportProgressStep.test.tsx:17
↓ 12 callers
Function
strength
()
src/features/credentials/PasswordGenerator.tsx:136
↓ 11 callers
Function
app_data_dir
Resolve the application data directory. This is the root directory that contains all VERROU runtime files. # Platform paths - macOS: `~/Library/App
src-tauri/src/paths.rs:63
↓ 11 callers
Method
as_str
(self)
crates/verrou-vault/src/health.rs:28
↓ 11 callers
Function
build_entry_data
Build the `EntryData` variant from the entry type and secret string. Validates that the secret format is appropriate for the entry type: - TOTP/HOTP:
src-tauri/src/commands/entries.rs:474
↓ 11 callers
Function
credential_params
(name: &str, password: &str)
crates/verrou-vault/tests/health_integration.rs:62
↓ 11 callers
Function
encode_recovery_key
(entropy: &[u8])
crates/verrou-vault/src/recovery.rs:227
↓ 11 callers
Function
findInputByLabel
Find an input element by its associated label text
src/__tests__/features/credentials/EditCredentialModal.test.tsx:68
↓ 11 callers
Function
make_vault_json
Build a minimal valid plaintext Aegis vault JSON.
crates/verrou-vault/tests/import_aegis.rs:71
↓ 11 callers
Function
random_key
Generate a random 32-byte key from `OsRng`.
crates/verrou-crypto-core/tests/integration/slot_roundtrip.rs:11
↓ 11 callers
Function
renderModal
( overrides: Partial<{ open: boolean; entryId: string; name: string; issuer: string; ent
src/__tests__/features/entries/ExportUriModal.test.tsx:44
↓ 11 callers
Function
renderModal
(overrides: Partial<typeof defaultProps> = {})
src/__tests__/features/entries/ConfirmDeleteModal.test.tsx:18
↓ 11 callers
Function
renderPage
()
src/__tests__/features/password-health/PasswordHealthPage.test.tsx:68
↓ 11 callers
Function
renderRecoveryPage
()
src/__tests__/features/vault/RecoveryPage.test.tsx:50
↓ 11 callers
Function
renderWithRouter
()
src/__tests__/features/vault/UnlockPage.test.tsx:53
↓ 11 callers
Function
renderWizard
()
src/__tests__/features/onboarding/OnboardingWizard.test.tsx:56
↓ 11 callers
Function
test_calibrated
Build a test-friendly `CalibratedPresets` with minimal memory.
crates/verrou-vault/tests/lifecycle_integration.rs:31
↓ 11 callers
Function
updatePreferences
(patch: Partial<PreferencesDto>)
src/stores/preferencesStore.ts:152
↓ 11 callers
Function
verify_vault_integrity
(vault_dir: &Path)
crates/verrou-vault/src/lifecycle.rs:1551
↓ 10 callers
Function
add_biometric_slot
Add a biometric slot to an existing vault. Creates a biometric `KeySlot` wrapping the master key with a key derived from the biometric token via HKDF
crates/verrou-vault/src/lifecycle.rs:906
↓ 10 callers
Method
as_db_str
(self)
crates/verrou-vault/src/entries.rs:43
↓ 10 callers
Function
buildOtpAuthUri
(input: OtpAuthBuildInput)
src/features/entries/otpauth.ts:141
↓ 10 callers
Function
byTestId
(id: string)
src/__tests__/features/export/ExportVaultModal.test.tsx:6
↓ 10 callers
Function
decode_recovery_key
Decode a human-readable recovery key string back to raw entropy bytes. Accepts: - Uppercase or lowercase input - With or without dashes - Leading/tra
crates/verrou-vault/src/recovery.rs:259
↓ 10 callers
Function
generate_hotp
( secret: &[u8], counter: u64, digits: OtpDigits, algorithm: OtpAlgorithm, )
crates/verrou-crypto-core/src/totp.rs:104
↓ 10 callers
Function
parse_migration_uri
Parse a Google Authenticator migration URI. URI format: `otpauth-migration://offline?data=<url-encoded-base64>` # Errors Returns `ImportError::Inva
crates/verrou-vault/src/import/google_auth.rs:111
↓ 10 callers
Function
renderModal
( overrides: Partial<{ open: boolean; onClose: () => void }> = {}, )
src/__tests__/features/export/PaperBackupModal.test.tsx:71
↓ 10 callers
Function
renderProtected
(content = "Protected Content")
src/__tests__/features/vault/LockVault.test.tsx:27
↓ 10 callers
Function
revealCodes
Open the re-auth prompt, enter a password and submit it (drives a real reveal).
src/__tests__/features/recovery/RecoveryCodeDetailModal.test.tsx:83
↓ 10 callers
Function
setup_vault
(dir: &Path)
crates/verrou-vault/tests/import_google_auth.rs:48
↓ 10 callers
Function
setup_vault
(dir: &Path)
crates/verrou-vault/tests/transfer_integration.rs:50
↓ 10 callers
Function
test_header_with_slots
Create a test header with 3 slots (one per type).
crates/verrou-crypto-core/src/vault_format.rs:708
↓ 10 callers
Function
validateEntryForm
(form: AddEntryFormState)
src/features/entries/validation.ts:42
↓ 10 callers
Function
validateUrl
(url: string)
src/features/credentials/url-utils.ts:30
↓ 10 callers
Function
validate_verrou_import
Validate and preview a `.verrou` import file. Decrypts the file (envelope or legacy raw format), checks format version compatibility, and detects dup
crates/verrou-vault/src/import/verrou_format.rs:140
↓ 10 callers
Function
vaultState
()
src/stores/vaultStore.ts:9
↓ 10 callers
Function
vault_header_file
Resolve the path to the vault header file (`vault.verrou`). This file contains the encrypted master-key slots and KDF parameters. Its existence is us
src-tauri/src/paths.rs:75
↓ 10 callers
Function
withRoot
* Run a body inside a Solid reactive root and dispose afterwards, returning the * disposer so tests can assert cleanup behavior explicitly.
src/__tests__/features/entries/useReveal.test.ts:18
↓ 9 callers
Function
build_payload
Build a protobuf payload from OTP parameters.
crates/verrou-vault/tests/import_google_auth.rs:68
↓ 9 callers
Function
clipboardAutoClearMs
()
src/stores/preferencesStore.ts:89
↓ 9 callers
Function
delay
(ms: number)
src/features/vault/ipc.ts:378
↓ 9 callers
Function
derive_attachment_key
Derive an entry-specific AES-256-GCM key for attachment encryption. Uses BLAKE3 in KDF mode with the master key as input keying material and a contex
crates/verrou-vault/src/attachments.rs:52
↓ 9 callers
Function
export_vault
Export the entire vault as an encrypted `.verrou` file wrapped in a post-quantum (`PQ-B`) envelope. # Flow 1. Re-authenticate by verifying the passw
crates/verrou-vault/src/export/verrou_format.rs:164
↓ 9 callers
Function
generate_passphrase
Generate a passphrase from the EFF large diceware wordlist. # Arguments `word_count` — Number of words (clamped to [`MIN_WORD_COUNT`]..=[`MAX_WORD_C
crates/verrou-crypto-core/src/password/mod.rs:197
↓ 9 callers
Function
generate_uuid
Generate a UUIDv4-like string using `OsRng`. Format: `xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx` where x is random hex and y is one of `{8, 9, a, b}`.
crates/verrou-vault/src/lifecycle.rs:1904
↓ 9 callers
Function
get_wordlist
(language: Bip39Language)
crates/verrou-crypto-core/src/bip39/wordlists.rs:75
↓ 9 callers
Function
makeFormState
(overrides: Partial<AddEntryFormState> = {})
src/__tests__/features/entries/validation.test.ts:8
↓ 9 callers
Function
parse_twofas_encrypted
Parse an encrypted 2FAS JSON backup export. Decrypts using the 2FAS encryption scheme: 1. PBKDF2-HMAC-SHA256 to derive key from password (10,000 iter
crates/verrou-vault/src/import/twofas.rs:176
↓ 9 callers
Function
passReAuth
* Drive the re-auth gate: wait for the prompt, enter a password, submit. * The export content (URI + QR) only appears after this succeeds.
src/__tests__/features/entries/ExportUriModal.test.tsx:72
↓ 9 callers
Function
setLocale
(code: Locale)
src/stores/i18nStore.ts:66
↓ 9 callers
Function
setup_vault
(dir: &Path)
crates/verrou-vault/tests/attachments_integration.rs:47
↓ 9 callers
Function
sidebarCollapsed
()
src/stores/sidebarStore.ts:15
↓ 9 callers
Function
update_entry
Update an existing entry. Only fields present in `updates` are changed. If `updates.data` is `Some`, the entry data is re-encrypted. The `updated_at`
crates/verrou-vault/src/entries.rs:679
↓ 9 callers
Function
useCopyOtp
( entryId: string, entryName: string, _period: number, )
src/features/entries/useCopyOtp.ts:22
↓ 9 callers
Function
useTotpCode
(entryId: string, period: number)
src/features/entries/useTotpCode.ts:14
↓ 9 callers
Function
vault_fingerprint
(verrou_bytes: &[u8])
crates/verrou-vault/src/recovery.rs:306
↓ 8 callers
Function
addEntry
( request: AddEntryRequest, )
src/features/entries/ipc.ts:312
↓ 8 callers
Function
analyze_password_health
( conn: &rusqlite::Connection, master_key: &SecretBytes<32>, )
crates/verrou-vault/src/health.rs:213
↓ 8 callers
Function
applyTheme
(theme: string)
src/stores/preferencesStore.ts:36
↓ 8 callers
Function
autoLockTimeoutMinutes
()
src/stores/preferencesStore.ts:81
↓ 8 callers
Function
credential_params
(name: &str)
crates/verrou-vault/tests/attachments_integration.rs:66
↓ 8 callers
Function
delay
(ms: number)
src/features/import/ipc.ts:17
↓ 8 callers
Function
encrypt_chunk
Encrypt a data chunk for QR transfer. Wire format of the output: ```text [2B chunk_index BE] [2B total_chunks BE] [12B nonce] [NB ciphertext] [16B ta
crates/verrou-crypto-core/src/transfer/mod.rs:175
↓ 8 callers
Function
extractTokens
Extract all CSS custom property declarations (--name: value) from text
src/__tests__/styles/design-tokens.test.ts:31
↓ 8 callers
Function
findButton
* Find a button by its text content (partial match).
src/__tests__/features/import/ExportGuideStep.test.tsx:51
↓ 8 callers
Function
findInputByLabel
Find an input element by its associated label text
src/__tests__/features/seed/EditSeedPhraseModal.test.tsx:51
↓ 8 callers
Function
getLeafKeys
Recursively extract all leaf keys from a nested object.
src/__tests__/i18n/keyParity.test.ts:8
↓ 8 callers
Function
makeSummary
(overrides?: Partial<ImportSummaryDto>)
src/__tests__/features/import/ImportProgressStep.test.tsx:37
↓ 8 callers
Function
openConfirmModal
Helper: show backup list, select first item, click restore button, then return the modal confirm button
src/__tests__/features/vault/CorruptionErrorPage.test.tsx:48
↓ 8 callers
Function
parse_single_entry
Parse a single `OtpParameters` into a categorized result.
crates/verrou-vault/src/import/google_auth.rs:183
↓ 8 callers
Function
random_key
Generate a random 32-byte key from `OsRng`.
crates/verrou-crypto-core/tests/integration/vault_format_roundtrip.rs:16
↓ 8 callers
Function
toggle_used
Simulate the toggle logic: if index is in `used`, remove it; otherwise add it.
src-tauri/src/commands/entries.rs:3403
↓ 8 callers
Function
unlock_vault
( password: String, vault_dir: String, app: tauri::AppHandle, vault_state: State<'_, ManagedVa
src-tauri/src/commands/vault.rs:69
↓ 8 callers
Function
unlock_vault_with_biometric
Unlock an existing vault with a biometric token. Follows the same ceremony as [`unlock_vault`] but: - Uses a biometric slot instead of a password slo
crates/verrou-vault/src/lifecycle.rs:779
↓ 7 callers
Function
asMock
(fn: unknown)
src/__tests__/features/quick-access/PopupApp.test.tsx:51
↓ 7 callers
Function
bip39_validate_phrase
( mut words: Vec<String>, language: String, )
src-tauri/src/commands/bip39.rs:117
↓ 7 callers
Function
bip39_validate_word
(mut word: String, language: String)
src-tauri/src/commands/bip39.rs:77
↓ 7 callers
Function
calibrate_for_vault
Calibrate Argon2id parameters against the current hardware. Delegates to [`kdf::calibrate`] and returns the result. The caller presents all 3 presets
crates/verrou-vault/src/lifecycle.rs:297
↓ 7 callers
Function
cancel_auto_clear
Cancel the currently scheduled auto-clear timer, if any.
src-tauri/src/platform/clipboard.rs:47
↓ 7 callers
Function
chunk_payload
Split payload data into chunks of at most `max_chunk_size` bytes. Each chunk is a standalone `Vec<u8>` suitable for individual encryption via [`encry
crates/verrou-crypto-core/src/transfer/mod.rs:290
↓ 7 callers
Function
combine_shared_secrets
Combine two 32-byte shared secrets via HKDF-SHA256 with domain separation. Input: `x25519_ss (32 bytes) || ml_kem_ss (32 bytes)` = 64 bytes IKM. Salt
crates/verrou-crypto-core/src/kem.rs:479
↓ 7 callers
Function
confirmGoogleAuthImport
( migrationData: string, skipIndices: number[], )
src/features/import/ipc.ts:95
↓ 7 callers
Function
constant_time_key_eq
Constant-time comparison for key material. Prevents timing side-channels when verifying recovered keys. The early return on length mismatch is accept
src-tauri/src/commands/entries.rs:661
↓ 7 callers
Function
delay
(ms: number)
src/features/entries/ipc.ts:536
↓ 7 callers
Function
delay
(ms: number)
src/features/recovery/ipc.ts:244
↓ 7 callers
Function
extract_name
Extract a display name from a 2FAS service entry. Priority: `otp.account` → `name` → "(unnamed)".
crates/verrou-vault/src/import/twofas.rs:358
↓ 7 callers
Function
findInputByPlaceholder
* Find an input element by placeholder.
src/__tests__/features/import/ExportGuideStep.test.tsx:62
↓ 7 callers
Function
getVaultDir
()
src/features/vault/ipc.ts:69
↓ 7 callers
Function
hex_to_bytes
(hex: &str)
crates/verrou-crypto-core/tests/kat_vectors/ed25519.rs:108
↓ 7 callers
Function
import_transfer_entries
Import entries from a transfer payload. Deserializes the JSON payload, verifies the BLAKE3 checksum, resolves (or creates) folders by name, and inser
crates/verrou-vault/src/transfer.rs:140
↓ 7 callers
Function
list_folders_with_counts
List all folders with their entry counts. Returns folders sorted by `sort_order`, then name. # Errors Returns [`VaultError::Database`] if the query
crates/verrou-vault/src/folders.rs:99
← previous
next →
101–200 of 2,342, ranked by callers