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
↓ 22 callers
Method
update
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/screens/database_recovery.rs:425
↓ 21 callers
Function
base_builder
()
src/executor/mock_orchestration_test.rs:29
↓ 21 callers
Method
close
Close the current overlay and return it, if any.
src/tui/screens/main/overlay/mod.rs:138
↓ 21 callers
Function
create_test_checkpoint
()
tests/sync_pipeline_test.rs:22
↓ 21 callers
Function
create_test_storage
()
tests/sync_pipeline_test.rs:12
↓ 21 callers
Function
create_valid_cloud_record
()
src/cloud/record.rs:407
↓ 21 callers
Method
current_state
(&self)
src/sync/state_machine.rs:72
↓ 21 callers
Method
decrypt_field
Decrypt and return a single field from a record. Unlike `get_decrypted_record`, this method provides fine-grained audit control: only `FieldSelector:
src/services/vault/record/field.rs:57
↓ 21 callers
Method
expose
Exposes the underlying 32-byte key.
src/crypto/db_page_key.rs:29
↓ 21 callers
Function
make_trash_record
(id: Uuid, name: &str, days_ago: i64)
src/tui/screens/main/list/tests.rs:1279
↓ 21 callers
Method
parse
( &self, path: &Path, password: Option<&SecureStr>, csv_mapping: Option<&CsvCo
src/services/import_export/parsers/csv.rs:27
↓ 21 callers
Method
result_tx
(mut self, tx: mpsc::Sender<Message>)
src/executor/builder.rs:146
↓ 21 callers
Method
shutdown_token
(mut self, token: CancellationToken)
src/executor/builder.rs:153
↓ 21 callers
Function
temp_config_dir
Helper: create a temporary config directory.
src/executor/config_impl/tests.rs:185
↓ 21 callers
Method
validate
Validates the cloud record for structural and logical correctness.
src/cloud/record.rs:174
↓ 21 callers
Method
zeroize
(&mut self)
src/types/recovery_words.rs:73
↓ 20 callers
Function
create_record_with_tags
Helper: create a Login record with the given tags.
src/services/vault/tag/tests.rs:26
↓ 20 callers
Function
generate_salt
()
src/crypto/argon2.rs:45
↓ 20 callers
Method
is_unlocked
(&self)
src/services/vault/mod.rs:244
↓ 20 callers
Method
reload_record_list_command
(&mut self)
src/tui/state/main_state/state.rs:791
↓ 20 callers
Function
render_screen
(screen: &ConfigScreen, width: u16, height: u16)
tests/snapshot_tests/screens/config_test.rs:18
↓ 20 callers
Method
save
(&self, config: &AppConfig, config_dir: &std::path::Path)
src/executor/config_impl/handler.rs:50
↓ 20 callers
Method
selected_record
Get a reference to the currently selected record, if any.
src/tui/state/list_state/state.rs:123
↓ 20 callers
Method
update
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/screens/password_generator.rs:301
↓ 20 callers
Function
vault_error
Helper: build a standard error CommandResult from a VaultError.
src/executor/record.rs:24
↓ 19 callers
Method
make_ctx
(&'a self, tx: &'a mpsc::Sender<Command>)
src/tui/screens/edit_record.rs:1184
↓ 19 callers
Function
make_screen
()
src/tui/screens/edit_record.rs:1158
↓ 19 callers
Function
upsert_record_health_state
Insert or update the health state for a single record.
src/db/queries/health_state.rs:63
↓ 18 callers
Method
enter_search
Enter search mode. Saves current list state as pre-search snapshot.
src/tui/state/list_state/state.rs:205
↓ 18 callers
Function
find_text
(buffer: &Buffer, needle: &str)
src/tui/screens/create_record_test.rs:47
↓ 18 callers
Method
get_decrypted_record
Retrieve and decrypt a record by ID, writing an audit entry for the access. Returns `VaultError::RecordNotFound` if no record with the given UUID exi
src/services/vault/record/crud.rs:189
↓ 18 callers
Method
get_metadata
Retrieve a metadata value by key. Returns `Ok(None)` if the key does not exist. Returns `VaultError::DatabaseError` if the query fails.
src/services/vault/metadata.rs:22
↓ 18 callers
Function
get_record
Fetch a single record by ID. Returns `None` if not found.
src/db/queries/record.rs:368
↓ 18 callers
Method
handle_welcome_key
( &mut self, key: KeyEvent, _ctx: &mut ScreenContext, )
src/tui/screens/onboarding/handlers.rs:195
↓ 18 callers
Function
key
(code: KeyCode)
src/tui/screens/database_recovery.rs:1243
↓ 18 callers
Method
on_mount
(&mut self, _ctx: &mut ScreenContext)
src/tui/screens/unlock.rs:380
↓ 18 callers
Function
recv_command_result
Receive the next non-background CommandResult, draining health-check and other background messages that interleave with command responses.
tests/e2e/sync_lifecycle_test.rs:335
↓ 18 callers
Function
render_buffer
(screen: &CreateRecordScreen, width: u16, height: u16)
src/tui/screens/create_record_test.rs:36
↓ 18 callers
Method
run
(&mut self)
src/app/mod.rs:110
↓ 18 callers
Method
update
(&mut self, msg: Message, ctx: &mut ScreenContext)
src/tui/screens/config_screen/screen.rs:33
↓ 17 callers
Function
calculate_layout
Calculate the three-panel layout based on terminal area and width tier. Layout structure (top to bottom): - Main content: sidebar (fixed width) | lis
src/tui/screens/main/layout.rs:40
↓ 17 callers
Method
clipboard
(mut self, clipboard: Arc<dyn Clipboard>)
src/executor/builder.rs:125
↓ 17 callers
Method
create_import_session
Create a new import session in `Created` status. Returns the session UUID for use in subsequent operations.
src/services/import_export/service.rs:193
↓ 17 callers
Method
get_password_history
Retrieve password history for a record. Returns up to 10 entries ordered by `changed_at` descending (newest first). The vault must be unlocked.
src/services/vault/history.rs:20
↓ 17 callers
Function
list_active_records
List all active (non-deleted) records, ordered by `updated_at` descending.
src/db/queries/record.rs:388
↓ 17 callers
Method
list_records
List records matching a filter, with decryption and sorting. Queries encrypted records from the database, decrypts name and subtitle for each record,
src/services/vault/record/list.rs:148
↓ 17 callers
Method
navigate_to
Navigate to a new screen, saving current screen state as a snapshot.
src/tui/state/screen_restore.rs:110
↓ 17 callers
Function
test_app
()
src/app/update.rs:986
↓ 16 callers
Method
_write_audit
Internal helper: write an audit log entry. Thin wrapper around `queries::insert_audit_entry` that maps `DbError` to `VaultError`.
src/services/vault/audit.rs:22
↓ 16 callers
Function
apply_pragmas
(conn: &Connection)
src/db/schema.rs:15
↓ 16 callers
Function
encrypt
(plaintext: &[u8], key: &[u8; 32])
src/crypto/xchacha20.rs:10
↓ 16 callers
Function
handle_key
Handle a key press while the confirmation dialog is active. Returns: - `Some(true)` — user confirmed - `Some(false)` — user cancelled - `None` — key
src/tui/screens/main/overlay/confirm.rs:87
↓ 16 callers
Function
make_ctx
Create a minimal ScreenContext backed by a bounded channel.
tests/integration/audit_sync_test.rs:27
↓ 16 callers
Function
make_detail_view_with_fields
(id: Uuid, is_favorite: bool)
src/tui/state/main_state/tests.rs:3156
↓ 16 callers
Function
map_opendal_error
Maps OpenDAL errors to SyncError variants.
src/cloud/storage.rs:382
↓ 16 callers
Function
populate_state
(state: &mut MainScreenState)
tests/snapshot_tests/screens/main_composition_test.rs:74
↓ 16 callers
Function
render_screen
( state: &MainScreenState, focused_panel: PanelId, width: u16, height: u16, )
tests/snapshot_tests/screens/main_composition_test.rs:139
↓ 16 callers
Function
start_transition
Start a transition effect on the given `AnimationState`. Each `EffectKind` variant maps to a predefined duration, interruptibility, and concrete tach
src/tui/animation/transitions.rs:36
↓ 15 callers
Method
compute_private_metadata_checksum
Computes a checksum over encrypted private metadata transport fields. This is a sync-detection signal for private metadata changes such as password-h
src/cloud/record.rs:278
↓ 15 callers
Function
create_test_metadata_with_records
( vault_token: &str, version: u64, records: Vec<(&str, u64)>, )
src/sync/pipeline_test.rs:51
↓ 15 callers
Method
expose
Exposes the underlying bytes as a slice.
src/security/memory.rs:217
↓ 15 callers
Method
list_tags
List all tags with their usage count. The usage count reflects the number of **non-deleted** records currently associated with each tag. Tags with ze
src/services/vault/tag/state.rs:21
↓ 15 callers
Method
lock
(&mut self)
src/crypto/crypto_manager.rs:46
↓ 15 callers
Function
make_key
(code: KeyCode)
src/tui/screens/config_screen/tests.rs:47
↓ 15 callers
Method
next_delay
Returns the next delay duration and increments the attempt counter.
src/sync/retry.rs:134
↓ 15 callers
Method
on_unmount
(&mut self)
src/tui/screens/unlock.rs:388
↓ 15 callers
Method
parse
( &self, path: &Path, _password: Option<&SecureStr>, _csv_mapping: Option<&Csv
src/services/import_export/parsers/onepassword.rs:121
↓ 15 callers
Function
recv_command_result
Helper to receive the next CommandCompleted message with timeout
tests/e2e/config_lifecycle_test.rs:81
↓ 15 callers
Method
register_service
(&mut self, service: Box<dyn ConfigReloadable>)
src/executor/config_impl/handler.rs:205
↓ 15 callers
Method
set_notes_text
Set the notes field text content.
src/tui/state/form_state.rs:281
↓ 15 callers
Method
update_strength
Re-evaluate password strength from the new password field.
src/tui/screens/set_password.rs:114
↓ 15 callers
Function
validate
Validate all required fields. Returns list of errors.
src/tui/screens/form/validation.rs:14
↓ 14 callers
Method
clear
(&mut self)
src/types/sensitive.rs:68
↓ 14 callers
Function
confirm_label_for
Determine the confirm button label for the given variant.
src/tui/screens/main/overlay/confirm.rs:125
↓ 14 callers
Function
create_valid_metadata
()
src/cloud/metadata.rs:175
↓ 14 callers
Function
detect_duplicates
Detects duplicates between parsed items and existing vault records. Returns a `Vec<bool>` with the same length as `items`. `true` at index *i means `
src/services/import_export/duplicate.rs:83
↓ 14 callers
Function
display_width
(text: &str)
src/tui/screens/main/list/items.rs:534
↓ 14 callers
Method
expand
Expand the panel.
src/tui/state/generator_state.rs:511
↓ 14 callers
Method
get_config
(&self)
src/executor/config_impl/handler.rs:61
↓ 14 callers
Function
handle_key
Handle a key event and return the action the caller should dispatch. The function mutates `state` in place for internal navigation (focus changes, cu
src/tui/screens/main/overlay/batch_tag.rs:289
↓ 14 callers
Method
is_searching
Whether the list is currently in search mode.
src/tui/state/list_state/state.rs:307
↓ 14 callers
Method
load_sync_status_map
Load all sync statuses from the `sync_state` table in a single query. Returns a map from record ID (as hyphenated string) to its `SyncStatus`. If the
src/services/vault/record/list.rs:344
↓ 14 callers
Function
make_test_record
(name: &str)
src/tui/screens/main/mod.rs:999
↓ 14 callers
Function
make_test_record
Build a test `StoredRecord` with minimal defaults (no tags).
src/db/queries_test.rs:341
↓ 14 callers
Function
nf_icon
(unicode: bool, nerd: &'a str, ascii: &'a str)
src/tui/screens/main/detail.rs:1250
↓ 14 callers
Method
open
Open an overlay. Returns `true` on success. Returns `false` if an overlay is already active (nesting is blocked).
src/tui/screens/main/overlay/mod.rs:118
↓ 14 callers
Method
recv_result
(&mut self)
tests/integration/change_master_password_test.rs:66
↓ 14 callers
Function
schedule_health_check_after_unlock
Schedule health check after a successful unlock. Reads the persisted `last_health_check_at` from metadata, evaluates `should_run`, and either: - Send
src/executor/vault.rs:100
↓ 14 callers
Method
set_metadata
Set a metadata key-value pair (upsert). Uses `INSERT OR REPLACE` semantics — if the key already exists, its value is overwritten.
src/services/vault/metadata.rs:33
↓ 14 callers
Function
setup_service
Helper: create an in-memory VaultService with schema initialized.
src/services/vault/metadata.rs:120
↓ 14 callers
Function
setup_service
Helper: create an in-memory VaultService with schema initialized.
src/services/vault/history.rs:175
↓ 14 callers
Method
take_secure
(&mut self)
src/types/sensitive.rs:89
↓ 14 callers
Method
validate_import_file
Parse, validate, and map the import file. Must be called when session is in `Created` status. On success the session transitions to `Validated` and a
src/services/import_export/service.rs:224
↓ 13 callers
Method
acquire
Attempts to acquire the distributed lock. Reads existing lock file: - If no lock exists or lock is expired -> creates new lock - If lock is held by t
src/sync/lock.rs:88
↓ 13 callers
Function
check_trigger
Check if rotation should be triggered based on config and current state.
src/services/rotation.rs:102
↓ 13 callers
Function
create_json_file
Helper: create a temporary JSON file with the given content.
src/services/import_export/parsers/bitwarden.rs:239
↓ 13 callers
Function
display_width
(text: &str)
src/tui/screens/config_screen/config/render.rs:725
↓ 13 callers
Method
encrypt
(&self, plaintext: &[u8], aad: &[u8])
src/crypto/crypto_manager.rs:50
↓ 13 callers
Method
focus_next
(&mut self)
src/tui/screens/key_recovery.rs:114
↓ 13 callers
Function
health_badge
Build a styled health badge span for a given `HealthIssue`. Priority: Compromised (red) > Weak (orange) > Duplicate (orange) > Expired (blue). Return
src/tui/screens/main/list/items.rs:118
← previous
next →
101–200 of 5,714, ranked by callers