MCPcopy Create free account

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

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

↓ 13 callersFunctioninit_db
(path: &Path)
src/db/schema.rs:54
↓ 13 callersFunctionkey
(code: KeyCode)
src/tui/screens/create_record_test.rs:96
↓ 13 callersMethodlist_trash
List all soft-deleted records, decrypting name and subtitle for TUI display. Returns `VaultError::NotUnlocked` if the vault is locked.
src/services/vault/trash.rs:20
↓ 13 callersFunctionmake_conflict
Build a test conflict display with two fields.
tests/integration/audit_sync_test.rs:56
↓ 13 callersMethodnext_word
Move focus to the next editable word (wraps around).
src/tui/screens/recovery_key.rs:87
↓ 13 callersFunctionrender_screen
(screen: &ImportExportScreen, width: u16, height: u16)
tests/snapshot_tests/screens/import_export_test.rs:25
↓ 13 callersMethodselect_category
Select a specific category by setting `selected_index` to its position.
src/tui/state/main_state/state.rs:333
↓ 13 callersFunctionsend_key
Send a [`KeyEvent`] message to the state and return the [`ScreenResult`].
tests/integration/main_pipeline_test.rs:41
↓ 13 callersMethodset_style
Switch generation style and regenerate.
src/tui/state/generator_state.rs:199
↓ 13 callersFunctionsetup_service
Helper: create an in-memory VaultService with schema initialized.
src/services/vault/audit.rs:168
↓ 13 callersFunctionshortcuts_text
Return the shortcut hint string based on the focused panel and trash state.
src/tui/screens/main/status_bar.rs:211
↓ 13 callersMethodsync
(mut self, sync: Option<Box<dyn SyncService>>)
src/executor/builder.rs:111
↓ 13 callersFunctiontest_context
(tx: &'a mpsc::Sender<Command>, config: &'a AppConfig)
src/tui/screens/config_screen/tests.rs:10
↓ 13 callersFunctiontest_storage_fs
(temp_dir: &TempDir)
src/cloud/storage.rs:441
↓ 13 callersFunctionvalidate_item
Evaluates the given field map against the provided rules. Returns one `FieldValidation` per rule. Fields are looked up in the `fields` map by their l
src/services/import_export/validation.rs:301
↓ 13 callersFunctionvalidate_len
(field: &'static str, value: &str, max: usize)
src/types/record_limits.rs:95
↓ 12 callersMethodcmp
(&self, other: &Self)
src/tui/state/notification.rs:23
↓ 12 callersFunctioncreate_csv_file
(content: &str)
src/services/import_export/tests.rs:30
↓ 12 callersFunctioncreate_csv_file
Helper: create a temporary CSV file with the given content.
src/services/import_export/parsers/csv.rs:190
↓ 12 callersMethodcreate_operator
(&self, config: &ProviderConfig)
src/cloud/provider.rs:68
↓ 12 callersFunctiondefault_csv_mapping
()
src/services/import_export/tests.rs:18
↓ 12 callersFunctionderive_kek
(sk: &[u8; 32])
src/crypto/hkdf.rs:6
↓ 12 callersMethoddetect_conflicts
Detects conflicts between local and remote versions. # Detection Rules - `local_sync_status == Pending AND remote_version > local_version` → `Conflic
src/sync/conflict.rs:100
↓ 12 callersFunctiondropdown_control
(value: &str)
src/tui/screens/config_screen/config/render.rs:598
↓ 12 callersMethodfocus_prev
(&mut self)
src/tui/screens/key_recovery.rs:128
↓ 12 callersFunctiongenerate_test_key
()
src/crypto/xchacha20.rs:77
↓ 12 callersMethodget_mut
Look up a mutable reference to the parser for `source`.
src/services/import_export/parser.rs:182
↓ 12 callersMethodhard_delete_record
Permanently delete a record and all associated data. Cascade-deletes `record_tags` and `password_history` via FK constraints. Writes an audit entry w
src/services/vault/record/crud.rs:523
↓ 12 callersFunctionheader_rows
Header rows: wide = LOGO_HEIGHT + 1 gap, narrow = 1 brand + 1 separator.
src/tui/screens/onboarding/views_setup.rs:48
↓ 12 callersFunctionimport_sources
()
src/tui/screens/import_export/types.rs:54
↓ 12 callersFunctioninsert_password_history
Insert a password history entry for a record.
src/db/queries/password_history.rs:22
↓ 12 callersMethodlist_record_health_states
List all persisted health states from the `record_health_state` table. Returns an empty vector when no rows exist.
src/services/vault/health_state.rs:26
↓ 12 callersFunctionmake_health_state
(record_id: &Uuid, record_version: u64)
src/db/queries_test.rs:361
↓ 12 callersFunctionmake_trash_detail_data
()
src/tui/screens/main/detail.rs:1583
↓ 12 callersMethodmark_record_synced
Mark a single record as fully synchronized with cloud state.
src/services/vault/health_state.rs:95
↓ 12 callersMethodopen_dropdown
(&mut self, field: DropdownField)
src/tui/screens/config_screen/handlers.rs:308
↓ 12 callersMethodparse
( &self, path: &Path, _password: Option<&SecureStr>, _csv_mapping: Option<&Csv
src/services/import_export/parsers/bitwarden.rs:84
↓ 12 callersFunctionpush_len_error
(errors: &mut Vec<ValidationError>, field_index: usize, value: &str, max: usize)
src/tui/screens/form/validation.rs:171
↓ 12 callersFunctionrandom_from_slice
(choices: &[u8])
src/crypto/password.rs:11
↓ 12 callersMethodrecord_name
Builder method: sets the record name.
src/errors/context.rs:59
↓ 12 callersFunctionrender_screen
(screen: &DatabaseRecoveryScreen, width: u16, height: u16)
tests/snapshot_tests/screens/database_recovery_test.rs:20
↓ 12 callersFunctionrender_to_snapshot
( state: &ListPanelState, width: u16, height: u16, focused: bool, unicode: bool, filte
tests/snapshot_tests/screens/list_test.rs:79
↓ 12 callersFunctionreplace_str
Replace a string value at a given key if it matches the old value.
tools/1pux-sanitize/src/main.rs:228
↓ 12 callersFunctionserialize_metadata
(metadata: &CloudMetadata)
src/cloud/metadata.rs:153
↓ 12 callersMethodvalidate_config
(&self, config: &ProviderConfig)
src/cloud/provider.rs:80
↓ 12 callersMethodvisual_selected_ids
Return the IDs of records selected in visual mode.
src/tui/state/list_state/state.rs:317
↓ 11 callersFunctionbuild_record_item
Build a single two-line list item with blank separator. Line 1 (title): ` [Type] Name [badge] timestamp ◀` Line 2 (subtitle): ` subtitle` Line 3
src/tui/screens/main/list/items.rs:177
↓ 11 callersFunctioncreate_1pux_file
Create a temporary .1pux (ZIP) file containing the given JSON as `export.data`.
src/services/import_export/parsers/onepassword.rs:427
↓ 11 callersFunctioncreate_cloud_storage
Creates a CloudStorage instance from SyncConfig. Matches on `config.provider` and delegates to the corresponding adapter. Implemented providers** (a
src/cloud/provider.rs:140
↓ 11 callersMethodcreate_export_session
Create a new export session in `Created` status. Validates password length (>= 8) and output path extension (.okb). Returns the session UUID for use
src/services/import_export/service.rs:605
↓ 11 callersFunctioncreate_test_metadata_with_records
( vault_token: &str, version: u64, records: Vec<(&str, u64)>, )
tests/sync_pipeline_test.rs:54
↓ 11 callersMethoddecrypt
( &self, ciphertext: &[u8], nonce: &[u8; 24], aad: &[u8], dek_version:
src/crypto/crypto_manager.rs:57
↓ 11 callersFunctionderive_key
(password: &str, salt: &[u8; 16])
src/crypto/argon2.rs:52
↓ 11 callersMethoddownload_record
Downloads and deserializes a record. Returns Ok(None) if record does not exist.
src/cloud/storage.rs:192
↓ 11 callersFunctionencrypt_opdata01_b64
(plaintext: &[u8], key: &[u8; 32], mac_key: &[u8; 32])
tools/opvault-rekey/src/main.rs:216
↓ 11 callersMethodenqueue_pending
Enqueue pending sync data (only while editing).
src/tui/state/sync_ui_state.rs:151
↓ 11 callersMethodexit_visual
Exit visual mode back to normal browsing. Clears selection.
src/tui/state/list_state/state.rs:266
↓ 11 callersFunctionextract_command
Unwrap a [`ScreenResult::Command`] into its inner [`Command`]. # Panics Panics if `result` is not `ScreenResult::Command`.
tests/integration/main_pipeline_test.rs:62
↓ 11 callersMethodfiltered_entries
Returns entries filtered by the selected operation category.
src/tui/screens/audit_log/screen.rs:357
↓ 11 callersFunctionfresh_db
Helper: create a fully-initialized in-memory database.
src/db/schema_test.rs:6
↓ 11 callersFunctionget_record_health_state
Get the health state for a single record. Returns `None` if no health state row exists for the given `record_id`.
src/db/queries/health_state.rs:16
↓ 11 callersMethodhandle_key
(&mut self, key: KeyCode)
src/tui/screens/sync_conflict.rs:58
↓ 11 callersFunctionhandle_trigger_rotation
(executor: &mut CommandExecutor)
src/executor/rotation.rs:241
↓ 11 callersFunctionmake_health_state
(record_version: u64, compromised: Option<bool>)
src/executor/health_test.rs:1685
↓ 11 callersFunctionmake_key
Convenience: build an `ExistingRecordKey`.
src/services/import_export/duplicate.rs:123
↓ 11 callersFunctionmake_unlocked_executor
Create a basic unlocked executor with no records.
src/executor/record.rs:575
↓ 11 callersMethodmark_changed
Mark that a change has been made.
src/tui/state/config_state/state.rs:659
↓ 11 callersMethodmark_records_pending_sync
Mark a batch of records as pending sync in the `sync_state` table. For each record, upserts a row with `sync_status = Pending` and `local_updated_at
src/services/vault/health_state.rs:87
↓ 11 callersMethodmove_down
Move selection down to next selectable item.
src/tui/state/main_state/state.rs:341
↓ 11 callersMethodnotify_config_change
( &self, config: &AppConfig, changed_fields: &[&str], )
src/executor/config_impl/handler.rs:177
↓ 11 callersFunctionredact_sensitive_values
Redacts credential-bearing fields before text reaches UI notifications or logs.
src/security/redaction.rs:7
↓ 11 callersFunctionrender_header
Render the logo (wide) or brand text + separator (narrow) into the given area. Returns the number of rows consumed: `LOGO_HEIGHT + 1` for wide, `2` fo
src/tui/screens/onboarding/views_setup.rs:17
↓ 11 callersFunctionrun_migrations
Runs all pending migrations on the given connection. - Reads current version from metadata table. - Executes each pending migration in order. - Updat
src/db/migrations/runner.rs:58
↓ 11 callersMethodsave
(&self, config_dir: &std::path::Path)
src/config/mod.rs:75
↓ 11 callersFunctionsend_result
Send a [`CommandResult`] message to the state and return the [`ScreenResult`].
tests/integration/main_pipeline_test.rs:50
↓ 11 callersFunctionsensitive
(s: &str)
src/tui/screens/import_export/tests.rs:10
↓ 11 callersMethodset_last_health_check_at
Set the timestamp of the last successful health check. The timestamp is stored as UTC RFC 3339.
src/services/vault/metadata.rs:77
↓ 11 callersMethodset_text
(&self, text: &str)
src/services/clipboard.rs:60
↓ 11 callersMethodset_uploads
Sets the records to upload.
src/sync/pipeline.rs:154
↓ 11 callersFunctionsimple_csv_content
()
src/services/import_export/tests.rs:40
↓ 11 callersFunctionsimulate_health_check_completed
Helper: simulate what `execute_internal(HealthCheckCompleted)` does — persist the report, update metadata, and return the result for assertion.
src/executor/health_test.rs:1278
↓ 11 callersFunctiontest_storage
Creates a CloudStorage instance backed by in-memory storage.
src/sync/lock.rs:274
↓ 11 callersMethodto_seed
(&self, passphrase: Option<&str>)
src/crypto/bip39.rs:107
↓ 11 callersFunctionunlock_service
Helper: unlock the VaultService with a fresh mnemonic.
src/services/vault/history.rs:181
↓ 10 callersMethodadd_device
(&mut self, device: DeviceInfo)
src/cloud/metadata.rs:132
↓ 10 callersFunctionbuild_empty_state_variant
Build the appropriate empty state variant based on list mode and filter.
src/tui/screens/main/list/empty.rs:21
↓ 10 callersFunctionbuild_list_item
Build a single `ListItem` from a `SidebarItem`.
src/tui/screens/main/sidebar.rs:163
↓ 10 callersFunctionbuild_trash_item
Build a trash-specific list item with deletion metadata and progressive warnings. Line 1 (title): ` [Type] Name ◀` Line 2 (metadata): ` X 天前删除
src/tui/screens/main/list/items.rs:386
↓ 10 callersFunctionchar_count
(value: &str)
src/types/record_limits.rs:17
↓ 10 callersFunctioncreate_login
Create a Login record and return its ID.
tests/integration/vault_service_test.rs:53
↓ 10 callersFunctioncreate_test_cloud_record
(id: &str, version: u64)
src/sync/pipeline_test.rs:28
↓ 10 callersMethoddecrement_length
Decrement length (clamp to min).
src/tui/state/generator_state.rs:241
↓ 10 callersFunctionderive_dek
(kek: &[u8; 32], version: u32)
src/crypto/hkdf.rs:14
↓ 10 callersMethoddownload_metadata
Downloads and deserializes metadata. Returns Ok(None) if metadata file does not exist.
src/cloud/storage.rs:67
↓ 10 callersMethodformat
(&self)
src/services/import_export/parser.rs:271
↓ 10 callersFunctionget_metadata
Get a metadata value by key. Returns `None` if the key does not exist.
src/db/queries/metadata.rs:6
↓ 10 callersMethodincrement_length
Increment length (clamp to max).
src/tui/state/generator_state.rs:224
↓ 10 callersFunctioninsert_optional
Insert an optional value into the fields map only when it is `Some`.
src/services/import_export/parsers/okb.rs:188
↓ 10 callersFunctionlist_deleted_records
List all soft-deleted records, ordered by `deleted_at` descending.
src/db/queries/record.rs:537
↓ 10 callersFunctionlogin_payload
Create a Login-type EncryptedPayload with the given name and password.
tests/integration/vault_service_test.rs:42
← previousnext →201–300 of 5,714, ranked by callers