MCPcopy Create free account

hub / github.com/OpenKeyring/oak-keyring / functions

Functions5,714 in github.com/OpenKeyring/oak-keyring

↓ 5 callersFunctionerror_line
(msg: &str)
src/tui/screens/form/render.rs:904
↓ 5 callersMethodexpected_version
Builder method: sets the expected version.
src/errors/context.rs:83
↓ 5 callersMethodexpose_mut
(&mut self)
src/types/sensitive.rs:15
↓ 5 callersFunctionfields_to_payload
Convert a HashMap of fields into an EncryptedPayload for the given credential type. This is a best-effort mapping that populates standard fields base
src/executor/import_export.rs:502
↓ 5 callersFunctionformat_days_since_deletion
Format "X days ago deletion" string from the deletion timestamp.
src/tui/state/list_state/state.rs:490
↓ 5 callersFunctionformat_relative_time
Format a `DateTime<Utc>` as a human-readable relative-time string.
src/tui/components/sync_indicator.rs:116
↓ 5 callersFunctionformat_relative_time
Format a UTC datetime as a human-readable relative time string. - Today -> HH:MM - Yesterday -> yesterday - < 7 days -> N days ago - < 30 days -> N w
src/tui/state/list_state/state.rs:411
↓ 5 callersFunctionfresh_db
()
src/db/models_test.rs:6
↓ 5 callersFunctiongenerate_random_password
(length: usize)
src/crypto/password.rs:16
↓ 5 callersMethodget_config
Get current rotation config from vault metadata.
src/services/rotation.rs:392
↓ 5 callersFunctionget_or_create_tag
Return an existing tag by name, or create it if missing.
src/db/queries/tag.rs:23
↓ 5 callersFunctionget_or_empty
Get the value at `idx` from the record, or an empty string if out of bounds.
src/services/import_export/parsers/csv.rs:158
↓ 5 callersFunctionget_password_history
Get password history for a record, ordered by `changed_at` descending.
src/db/queries/password_history.rs:45
↓ 5 callersMethodget_text
(&self)
src/services/clipboard.rs:69
↓ 5 callersMethodgo_back
Go back to the previous screen by restoring the last snapshot. Returns false if history is empty.
src/tui/state/screen_restore.rs:118
↓ 5 callersMethodhandle_command_result
(&mut self, result: CommandResult)
src/tui/screens/unlock.rs:482
↓ 5 callersMethodhandle_error
Handles sync errors with backoff.
src/sync/task.rs:808
↓ 5 callersFunctionhandle_execute_import
( executor: &mut CommandExecutor, session_id: Option<uuid::Uuid>, source: ImportSource, path:
src/executor/import_export.rs:73
↓ 5 callersFunctionhandle_key
Handle keyboard input for standalone generator.
src/tui/screens/main/overlay/generator.rs:55
↓ 5 callersFunctionhandle_key
Handle a key press in the password history overlay, returning the action to take.
src/tui/screens/main/overlay/password_history.rs:92
↓ 5 callersFunctionhandle_lock
(executor: &mut CommandExecutor)
src/executor/vault.rs:445
↓ 5 callersFunctionhash_content
SHA-256 hash for content comparison. Free function for use in spawned tasks.
src/services/clipboard.rs:599
↓ 5 callersMethodid
(&self)
src/types/record.rs:94
↓ 5 callersFunctioninit_and_unlock
(harness: &mut Harness, password: &str)
tests/integration/change_master_password_test.rs:105
↓ 5 callersMethodis_editable
Returns `true` if the word at `index` is editable in the current mode.
src/tui/screens/recovery_key.rs:79
↓ 5 callersMethodis_selectable
Whether this item can receive keyboard focus / be selected.
src/tui/state/main_state/state.rs:84
↓ 5 callersMethodis_textarea_field
Check if a field is the notes textarea field for the given credential type.
src/tui/state/form_state.rs:286
↓ 5 callersMethodlabel
(self)
src/tui/state/form_state.rs:79
↓ 5 callersMethodlist_all_stored_records
List all active (non-deleted) stored records. Returns raw `StoredRecord` without decryption. Used by health check which needs the full encrypted reco
src/services/vault/record/list.rs:307
↓ 5 callersFunctionlist_record_health_states
List all health states. Returns an empty vector when no rows exist.
src/db/queries/health_state.rs:39
↓ 5 callersMethodload_page
Dispatch a LoadAuditLog command with the current filter state.
src/tui/screens/audit_log/screen.rs:79
↓ 5 callersFunctionmake_config
(provider: SyncProvider, mode: SyncMode, interval_secs: u64)
src/executor/timer_test.rs:10
↓ 5 callersFunctionmake_login_data
()
src/tui/state/detail_state/tests.rs:8
↓ 5 callersFunctionmake_record_with_type
(id: Uuid, name: &str, cred_type: CredentialType)
src/tui/screens/main/list/tests.rs:42
↓ 5 callersFunctionmake_record_with_type
(id: Uuid, name: &str, cred_type: CredentialType)
tests/snapshot_tests/screens/list_test.rs:46
↓ 5 callersFunctionmake_state
(n_entries: usize, selected: usize)
src/tui/screens/main/overlay/password_history.rs:205
↓ 5 callersFunctionmake_stored_record
(expires_at: Option<DateTime<Utc>>)
src/services/health.rs:326
↓ 5 callersFunctionmake_trash_record
(id: Uuid, name: &str, days_ago: i64)
tests/snapshot_tests/screens/list_test.rs:68
↓ 5 callersFunctionmetadata_border_line
( cols: MetadataColumns, left: &str, middle: &str, right: &str, unicode: bool, )
src/tui/screens/main/detail.rs:800
↓ 5 callersFunctionmouse_click
(column: u16, row: u16)
src/tui/state/main_state/tests.rs:887
↓ 5 callersMethodon_search_input
(&mut self, text: String)
src/tui/screens/audit_log/filter.rs:17
↓ 5 callersMethodopen_password_generator
Open password generator with configured defaults.
src/tui/screens/main/overlay/mod.rs:127
↓ 5 callersFunctionplain_control
(value: &str)
src/tui/screens/config_screen/config/render.rs:602
↓ 5 callersMethodrelease
Releases the lock if held by this device. Idempotent: if no lock exists or lock is held by another device, this returns Ok without modifying anything
src/sync/lock.rs:165
↓ 5 callersMethodrename_tag
Rename a tag. Returns `VaultError::TagAlreadyExists` if the new name is already taken, or `VaultError::TagNotFound` if the old name does not exist.
src/services/vault/tag/state.rs:90
↓ 5 callersFunctionrender_field_opt
( chunks: &[Rect], fi: &mut u16, frame: &mut Frame, label: &str, value: &Option<String>,
src/tui/screens/config_screen/config/sync.rs:459
↓ 5 callersFunctionrender_onboarding
(screen: &OnboardingScreen, width: u16, height: u16)
src/tui/screens/onboarding/tests.rs:50
↓ 5 callersFunctionrender_section_title
(frame: &mut Frame, area: Rect, title: &str)
src/tui/screens/config_screen/config/render.rs:433
↓ 5 callersFunctionresolve_cas_conflict
CAS conflict resolution per R1-A1 §4.2. On CAS push failure, pulls cloud metadata and checks DEK version alignment. Returns Ok(cloud_dek_version) if
src/executor/rotation.rs:24
↓ 5 callersFunctionresolve_column
Find the index of `column_name` in `headers`, returning a descriptive `ParseError` if not found.
src/services/import_export/parsers/csv.rs:120
↓ 5 callersMethodresolve_keep_local
Resolves a conflict by keeping the local version. For KeepLocal: new_version = current_version + 1, action = ResolutionAction::KeepLocal. KeepLocal
src/sync/conflict.rs:161
↓ 5 callersMethodrestore_from
Restore navigation state from a previously captured restore state.
src/tui/state/audit_state.rs:167
↓ 5 callersFunctionrestore_test_record
(record_id: String, now: String)
src/services/sync.rs:743
↓ 5 callersMethodresume
Resumes sync processing. Sends `Resume` command and waits for `Resumed` event. # Errors Returns `SyncError` if timeout (10s) expires before `Resumed
src/services/sync.rs:545
↓ 5 callersFunctionrow_style
(focused: bool)
src/tui/screens/config_screen/config/render.rs:614
↓ 5 callersMethodsave
Saves checkpoint atomically: write to temp file then rename. This ensures no partial/corrupt file on crash.
src/sync/checkpoint.rs:103
↓ 5 callersFunctionsave_checkpoint
( vault: &mut dyn crate::services::vault::Vault, checkpoint: &RotationCheckpoint, )
src/services/rotation.rs:14
↓ 5 callersFunctionsensitive
(s: &str)
tests/snapshot_tests/screens/create_record_test.rs:14
↓ 5 callersFunctionserde_roundtrip_via_okb
Perform OKB serialization round-trip: serialize → encrypt → decrypt → parse → map. Returns the parsed items and corresponding original records for ve
tests/integration/okb_serialization_roundtrip_test.rs:129
↓ 5 callersMethodset_for_main
Set terminal title for main screen with an optional record name.
src/tui/state/main_state/state.rs:565
↓ 5 callersMethodset_prot
(&self, prot: libc::c_int)
src/security/memory.rs:239
↓ 5 callersFunctionsetup_executor_with_sync
( sync: Option<Box<dyn crate::services::sync::SyncService>>, )
src/executor/rotation.rs:372
↓ 5 callersFunctionsetup_unlocked_executor
Helper to initialize and unlock a vault for tests that need vault unlocked
tests/e2e/config_lifecycle_test.rs:54
↓ 5 callersFunctionshould_render_error_line
(msg: &str)
src/tui/screens/form/render.rs:911
↓ 5 callersMethodshutdown
Initiates graceful shutdown. Sends `Shutdown` command and waits for `ShutdownComplete` event. Then awaits the background task handle. # Errors Retur
src/services/sync.rs:568
↓ 5 callersFunctionsort_direction_label
Return the icon and label for a sort direction.
src/tui/screens/main/list/bar.rs:103
↓ 5 callersFunctionstart_initial_transition
( state: &mut crate::tui::state::AppState, config: &crate::config::AppConfig, )
src/app/update.rs:83
↓ 5 callersFunctionstatus_message_text
Format the status message as a display string, if present.
src/tui/screens/main/status_bar.rs:359
↓ 5 callersMethodsync_textarea_block
Update textarea border style to reflect current focus state.
src/tui/state/form_state.rs:653
↓ 5 callersFunctiontable_border_line
( cols: TableColumns, left: &str, middle: &str, right: &str, unicode: bool, )
src/tui/screens/main/detail.rs:1014
↓ 5 callersFunctiontest_storage_memory
()
src/cloud/storage.rs:434
↓ 5 callersMethodtick
(&mut self)
src/tui/state/loading.rs:19
↓ 5 callersFunctiontimestamp_to_datetime
Convert a Unix timestamp (seconds) to `DateTime<Utc>`.
src/db/models.rs:18
↓ 5 callersMethodto_restore_state
Capture reusable navigation state for this screen.
src/tui/state/audit_state.rs:157
↓ 5 callersMethodtoggle_select_current
In visual mode, toggle selection of the currently focused record. After toggling, automatically advance to the next record.
src/tui/state/list_state/state.rs:272
↓ 5 callersMethodtotal_steps
Total steps for the current path (including Welcome).
src/tui/screens/onboarding/screen.rs:200
↓ 5 callersFunctiontruncate_to_width
(value: &str, width: usize)
src/tui/components/text_input.rs:33
↓ 5 callersFunctiontype_into_field
(screen: &mut SetPasswordScreen, text: &str, ctx: &mut ScreenContext<'_>)
tests/snapshot_tests/screens/set_password_test.rs:43
↓ 5 callersMethodunlock_with_mnemonic
(&mut self, mnemonic: &Passkey)
src/services/vault/mod.rs:238
↓ 5 callersMethodupdate_strength
Re-evaluate password strength from the new password field.
src/tui/screens/change_master_password.rs:55
↓ 5 callersMethoduse_password
Use the generated password.
src/tui/state/generator_state.rs:531
↓ 5 callersMethodvault_db_file_backed
(mut self, backed: bool)
src/executor/builder.rs:104
↓ 5 callersFunctionwrap_key
( key_to_wrap: &[u8; 32], wrapping_key: &[u8; 32], )
src/crypto/keystore.rs:145
↓ 4 callersMethodall
()
src/crypto/bip39.rs:43
↓ 4 callersFunctionall_groups
()
src/tui/screens/main/overlay/help.rs:41
↓ 4 callersFunctionapply_process_protections
Applies process-level memory dump protections. This function should be called early in the application startup, before any sensitive data (keys, pass
src/security/process.rs:99
↓ 4 callersFunctionartifact_existed_before
(path: &std::path::Path)
src/executor/vault.rs:11
↓ 4 callersMethodas_slice
(&self)
src/types/recovery_words.rs:46
↓ 4 callersFunctionassert_plain_sqlite_schema_read_fails
(db_path: &Path)
tests/integration/sqlcipher_poc_test.rs:17
↓ 4 callersFunctionassert_service_error
(_: &E)
src/errors/mapping/sync.rs:388
↓ 4 callersFunctionbatch_hard_delete_records
Batch hard-delete multiple soft-deleted records (and cascading record_tags via FK). Only deletes records where `deleted = 1`. Returns the number of a
src/db/queries/record.rs:617
↓ 4 callersFunctionbatch_restore_records
Batch restore multiple soft-deleted records. Only restores records where `deleted = 1`. Returns the number of affected rows.
src/db/queries/record.rs:596
↓ 4 callersFunctionbitwarden_mapping
Default field mapping for Bitwarden .json exports.
src/services/import_export/mapping.rs:262
↓ 4 callersFunctionbuild_custom_notes
Build a string with custom (non-standard) fields formatted as "Custom: key = value", one per line.
src/services/import_export/parsers/keepass.rs:195
↓ 4 callersFunctionbuild_visual_bar
Build visual mode bar: ` 多选模式` in TEXT bold on BG_BAR + `(N 已选)` in TEXT on BG_BAR
src/tui/screens/main/list/bar.rs:74
↓ 4 callersMethodcan_insert_char_into_current_field
(&self, ch: char)
src/tui/state/form_state.rs:766
↓ 4 callersFunctioncell_at_text_start
( backend: &'a TestBackend, text: &str, )
tests/snapshot_tests/screens/config_test.rs:61
↓ 4 callersFunctionchar_at_boundary
(value: &str, cursor: usize)
src/tui/screens/import_export/screen.rs:359
↓ 4 callersFunctioncheckpoint_wal
(conn: &Connection)
src/db/schema.rs:50
↓ 4 callersMethodcommit_tag_input
Commit the current tag input as one trimmed tag. Returns true when a new tag was added. Empty and duplicate tags are cleared from the transient input
src/tui/state/form_state.rs:203
← previousnext →601–700 of 5,714, ranked by callers