Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenKeyring/oak-keyring
/ functions
Functions
5,714 in github.com/OpenKeyring/oak-keyring
⨍
Functions
5,714
◇
Types & classes
509
↓ 4 callers
Function
start_screen_in_transition
(state: &mut crate::tui::state::AppState)
src/app/update.rs:27
↓ 4 callers
Method
switch_tab
Switch to a different tab, resetting scroll and focus.
src/tui/state/config_state/state.rs:625
↓ 4 callers
Function
tag_display_rows
Calculate how many rows are needed to display tags within a given width.
src/tui/screens/main/overlay/batch_tag.rs:148
↓ 4 callers
Function
take_restore_master_password
( provided_password: Option<SecureStr>, cached_password: &mut Option<SecureStr>, )
src/executor/sync.rs:329
↓ 4 callers
Method
tick
Call each tick to decrement TTL and expire messages.
src/tui/state/notification.rs:127
↓ 4 callers
Method
to_bip39_language
(&self)
src/crypto/bip39.rs:29
↓ 4 callers
Method
to_error_context
(&self)
src/errors/mapping/import_export.rs:151
↓ 4 callers
Method
to_fallback_message
(&self)
src/errors/mapping/data.rs:57
↓ 4 callers
Method
to_health_state
(self)
src/db/models.rs:268
↓ 4 callers
Method
to_interpolation_map
Converts the context into a key-value map for message interpolation. # Exclusions The `record_id` field is excluded from the map because UUIDs are n
src/errors/context.rs:129
↓ 4 callers
Method
to_state
Convert back to the local `RecordHealthState`. The caller must supply `record_id` and `record_version` since those are not stored inside the health m
src/cloud/record.rs:53
↓ 4 callers
Method
toggle_mask
Toggle masking of sensitive fields on the currently focused side.
src/tui/screens/sync_conflict.rs:105
↓ 4 callers
Method
toggle_sort_direction
Toggle sort direction between Ascending and Descending.
src/tui/state/list_state/state.rs:184
↓ 4 callers
Function
top_padded_rect
(area: Rect, padding: u16)
src/tui/state/main_state/state.rs:2101
↓ 4 callers
Function
unwrap_key
( wrapped: &[u8], nonce: &[u8; 24], wrapping_key: &[u8; 32], )
src/crypto/keystore.rs:152
↓ 4 callers
Method
update_export_strength
(&mut self)
src/tui/screens/import_export/screen.rs:139
↓ 4 callers
Method
update_mtime
Update the stored mtime snapshot to the current file mtime. Call this after a successful reload to avoid repeated reload triggers.
src/executor/config_impl/handler.rs:114
↓ 4 callers
Method
upsert_record_health_state
( &mut self, state: &crate::types::health::RecordHealthState, )
src/executor/mod.rs:579
↓ 4 callers
Method
username_field
(&self)
src/tui/state/detail_state/state.rs:482
↓ 4 callers
Function
valid_password
()
src/services/import_export/export.rs:346
↓ 4 callers
Function
vault_db_paths
(vault_dir: &std::path::Path)
src/executor/mod.rs:695
↓ 4 callers
Function
vertical_chunks
(area: Rect, constraints: &[Constraint])
src/tui/screens/config_screen/config/render.rs:625
↓ 4 callers
Method
with_timeouts
Builder pattern for custom timeout values.
src/sync/lock.rs:69
↓ 4 callers
Method
word
(&self, index: usize)
src/types/recovery_words.rs:50
↓ 4 callers
Function
write_csv
Write the export payload as a UTF-8 BOM CSV file. The CSV includes all 15 columns for all credential types: `id, credential_type, name, username, pas
src/services/import_export/export.rs:194
↓ 4 callers
Function
zeroize_all
Zeroize all registered secrets. Called from crash handler. Uses try_lock() to avoid blocking in signal context. Re-entry safety: if `write_bytes` tri
src/security/crash_handler.rs:57
↓ 4 callers
Function
zeroize_words
(words: &mut [String])
src/types/recovery_words.rs:68
↓ 3 callers
Method
all_filled
Returns `true` if all editable words are non-empty.
src/tui/screens/recovery_key.rs:138
↓ 3 callers
Function
animation_effect_area
( state: &crate::tui::state::AppState, frame_area: ratatui::layout::Rect, kind: EffectKind, )
src/app/view.rs:113
↓ 3 callers
Function
apply_runtime_config
(app: &mut App, config: crate::config::AppConfig)
src/app/update.rs:38
↓ 3 callers
Method
apply_search_filter
Filter records using multi-term AND logic on name + subtitle. Each whitespace-separated term must appear (case-insensitive) in either the record name
src/tui/state/list_state/state.rs:345
↓ 3 callers
Function
assert_health_state_version
Helper: assert that a health state row exists at the given version.
src/services/vault/record/tests.rs:2482
↓ 3 callers
Function
assert_loaded_record_keeps_edit_type
( record: crate::types::record::DecryptedRecord, expected_type: CredentialType, )
src/tui/screens/edit_record.rs:1255
↓ 3 callers
Method
backspace
Delete the character before the cursor (backspace).
src/tui/state/tag_management.rs:87
↓ 3 callers
Method
batch_download_records
Downloads multiple records concurrently. Individual failures do not affect other downloads.
src/cloud/storage.rs:240
↓ 3 callers
Function
browser_command
Cross-platform browser opening. Return the platform-specific command to open a URL.
src/cloud/oauth2/browser.rs:4
↓ 3 callers
Function
build_cloud_record
Build a `CloudRecord` from a `StoredRecord` with optional health state. This is the upload-side bridge: the caller supplies the decrypted record name
src/cloud/record.rs:328
↓ 3 callers
Function
build_executor_with_sync
Build a CommandExecutor with a custom SyncService via ExecutorBuilder.
tests/e2e/sync_lifecycle_test.rs:93
↓ 3 callers
Method
build_items
Build the ordered list of sidebar items.
src/tui/state/main_state/state.rs:158
↓ 3 callers
Method
build_payload_snapshot
Build `EncryptedPayload` without consuming the visible form fields. Create/Edit screens use this while a queued save may be delayed by a long-running
src/tui/state/form_state.rs:928
↓ 3 callers
Method
cancel_rename
Cancel inline rename mode.
src/tui/state/tag_management.rs:159
↓ 3 callers
Function
centered_rect
Return a `Rect` of size `width x height` centred inside `area`.
src/tui/screens/main/overlay/help.rs:294
↓ 3 callers
Function
centered_rect
Return a `Rect` of size `width x height` centred inside `area`.
src/tui/screens/main/overlay/confirm.rs:392
↓ 3 callers
Method
checkpoint_wal
(&self)
src/services/vault/mod.rs:247
↓ 3 callers
Function
cleanup_audit_entries
Delete audit entries older than the given timestamp. Returns the number of deleted rows.
src/db/queries/audit.rs:117
↓ 3 callers
Method
cleanup_expired_trash
Permanently delete soft-deleted records whose `deleted_at` is older than `retention_days` days ago. Returns the count of expired records that were re
src/services/vault/trash.rs:112
↓ 3 callers
Method
clear_finished
(&mut self)
src/tui/state/animation.rs:79
↓ 3 callers
Method
clear_sensitive_fields
Clear sensitive fields. Called on screen unmount to ensure plaintext secrets don't persist in memory after the form is dismissed.
src/tui/state/form_state.rs:977
↓ 3 callers
Method
collapse
Collapse without filling.
src/tui/state/generator_state.rs:525
↓ 3 callers
Method
collect_recovery_words
( &self, )
src/tui/screens/recovery_key.rs:144
↓ 3 callers
Function
column_names
Collect column names for a given table via PRAGMA.
src/db/schema_test.rs:25
↓ 3 callers
Method
commit_search
Commit search: exit search mode, keeping filtered results but saving the pre-search snapshot so Esc can later restore the original list.
src/tui/state/list_state/state.rs:219
↓ 3 callers
Function
config_dir_from
(xdg_config_home: Option<PathBuf>, home_dir: Option<PathBuf>)
src/paths.rs:41
↓ 3 callers
Method
confirm
Confirm the edit. Returns the new name.
src/tui/state/tag_management.rs:125
↓ 3 callers
Function
connection_test_result_with_cancel
( cancel: tokio_util::sync::CancellationToken, fut: F, )
src/executor/config.rs:186
↓ 3 callers
Function
copy_record_health_state_version
Advance the `record_version` on an existing health state row. This is used when a record is updated *without* a password change (e.g. editing a note
src/db/queries/health_state.rs:177
↓ 3 callers
Function
create_fs_sync_service
()
tests/e2e/sync_lifecycle_test.rs:49
↓ 3 callers
Method
create_lock_data
Creates new lock data with current timestamp and TTL.
src/sync/lock.rs:232
↓ 3 callers
Method
create_login_item
Generate a test Login item with encrypted overview and details.
src/services/import_export/parsers/opvault/crypto_test.rs:227
↓ 3 callers
Function
create_login_record
(vault: &mut VaultService, name: &str)
tests/sync_health_closure_test.rs:51
↓ 3 callers
Function
create_login_record
( command_tx: &mpsc::Sender<Command>, result_rx: &mut mpsc::Receiver<Message>, name: &str, use
tests/e2e/sync_lifecycle_test.rs:252
↓ 3 callers
Method
create_opvault_dir
Create a complete minimal .opvault directory in the given path.
src/services/import_export/parsers/opvault/crypto_test.rs:333
↓ 3 callers
Function
create_records
( vault: &mut VaultServiceImpl, start: usize, count: usize, )
examples/sqlcipher_bench.rs:123
↓ 3 callers
Function
create_test_api_record
Helper: create an Api record and return its ID.
src/services/vault/record/tests.rs:2014
↓ 3 callers
Function
create_test_checkpoint
()
tests/sync_health_closure_test.rs:36
↓ 3 callers
Function
create_test_cloud_record
(id: &str, version: u64)
tests/sync_e2e_test.rs:38
↓ 3 callers
Function
create_test_metadata_with_private_checksum
( vault_token: &str, metadata_version: u64, record_id: &str, record_version: u64, private_
tests/sync_pipeline_test.rs:107
↓ 3 callers
Function
create_test_storage
()
tests/sync_health_closure_test.rs:26
↓ 3 callers
Function
create_test_stored_record
()
src/cloud/record.rs:959
↓ 3 callers
Method
cursor_right
Move cursor right by one character.
src/tui/state/tag_management.rs:113
↓ 3 callers
Function
data_dir_from
(xdg_data_home: Option<PathBuf>, home_dir: Option<PathBuf>)
src/paths.rs:77
↓ 3 callers
Method
decrypt_field_for_copy
Decrypt a field for an explicit clipboard copy operation. This records copy-specific audit events instead of a generic password view event, so audit
src/services/vault/record/field.rs:67
↓ 3 callers
Function
decrypt_record_name
Decrypt just the record name from a stored record for audit logging purposes.
src/services/vault/record/helpers.rs:165
↓ 3 callers
Function
default_sort
()
tests/integration/okb_sample_file_test.rs:400
↓ 3 callers
Function
delete_tag_by_name
Delete a tag by name. Cascade will remove associated `record_tags` entries via FK. Returns `true` if a row was deleted, `false` if the tag was not fo
src/db/queries/tag.rs:103
↓ 3 callers
Function
derive_keys
(password: &[u8], salt: &[u8], iterations: u32)
tools/opvault-rekey/src/main.rs:78
↓ 3 callers
Function
derive_keys
Derive encryption and HMAC keys from master password using PBKDF2-HMAC-SHA512.
src/services/import_export/parsers/opvault/crypto.rs:18
↓ 3 callers
Function
deserialize_metadata
(json: &str)
src/cloud/metadata.rs:162
↓ 3 callers
Function
document_dir
Returns the user's Documents directory (`~/Documents`). Returns `None` if home directory cannot be determined.
src/paths.rs:122
↓ 3 callers
Method
duplicate_for_command
(&self)
src/types/recovery_words.rs:62
↓ 3 callers
Function
encrypt_and_write_deterministic
Deterministic encrypt-and-write. Same input always produces identical bytes.
tools/okb-gen/src/main.rs:28
↓ 3 callers
Function
encrypt_with_aad
( plaintext: &[u8], aad: &[u8], key: &[u8; 32], )
src/crypto/xchacha20.rs:30
↓ 3 callers
Method
ensure_focused_visible
Ensure focused item is visible by adjusting scroll_offset. Each item is 1 row tall; +1 for the title row in each tab.
src/tui/state/config_state/state.rs:690
↓ 3 callers
Method
ensure_sidebar_selection_visible
(&mut self)
src/tui/state/main_state/state.rs:1966
↓ 3 callers
Method
error_rows_for
(&self, field_index: usize)
src/tui/screens/create_record.rs:1346
↓ 3 callers
Method
execute_pipeline
Executes the sync pipeline with the current context. When vault data is available (provided via `TriggerSync(data)`), the pipeline uses real local re
src/sync/task.rs:619
↓ 3 callers
Function
executor_with_vault
(unlocked: bool, file_backed: bool)
src/executor/timer_test.rs:74
↓ 3 callers
Function
extract_code_from_url
Extract authorization code from callback URL.
src/cloud/oauth2/callback_server.rs:15
↓ 3 callers
Method
field_count
Get the number of visible fields for current credential type.
src/tui/state/form_state.rs:577
↓ 3 callers
Function
fields_to_payload
Convert field map to EncryptedPayload based on credential type.
tests/integration/okb_sample_file_test.rs:365
↓ 3 callers
Function
find_buffer_row_text
(buffer: &ratatui::buffer::Buffer, needle: &str)
src/tui/screens/main/list/tests.rs:231
↓ 3 callers
Function
find_state
Helper: find a health state by record ID from the list.
tests/integration/health_test.rs:208
↓ 3 callers
Method
fixed_top_height
(&self)
src/tui/state/main_state/state.rs:223
↓ 3 callers
Function
fixed_width
(text: &str, width: usize)
src/tui/screens/config_screen/config/render.rs:693
↓ 3 callers
Method
focus_first_action
(&mut self)
src/tui/state/detail_state/state.rs:309
↓ 3 callers
Method
focus_next
Move focus to the next item in the current tab. Returns true if at the bottom boundary (focused was last item).
src/tui/state/config_state/state.rs:636
↓ 3 callers
Method
footer_render_height
(&self)
src/tui/state/main_state/state.rs:230
↓ 3 callers
Function
format_remaining_days
Format the remaining days string before automatic permanent deletion.
src/tui/state/list_state/state.rs:500
↓ 3 callers
Method
frame
(&self)
src/tui/state/loading.rs:23
↓ 3 callers
Function
generate_memorable_password
(word_count: usize)
src/crypto/password.rs:133
← previous
next →
801–900 of 5,714, ranked by callers