MCPcopy Create free account

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

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

↓ 4 callersFunctioncomposite_key_from_material
Derive a composite key pair from decrypted key material via SHA-512.
src/services/import_export/parsers/opvault/crypto.rs:31
↓ 4 callersFunctioncompute_password_strength
Compute password strength based on the credential type. - Login: evaluates the `password` field - API: evaluates the `secret_key` field - SSH: return
src/executor/record.rs:280
↓ 4 callersFunctionconfig_dir
Returns the XDG config directory for oak-keyring. Follows `$XDG_CONFIG_HOME` environment variable with fallback to `~/.config/oak-keyring/`. Returns
src/paths.rs:34
↓ 4 callersFunctioncount_audit_entries
Count audit entries matching the given filters. Uses the same filter parameters as `list_audit_entries_filtered`.
src/db/queries/audit.rs:128
↓ 4 callersFunctioncount_record_tags
Count the number of tag associations for a given record.
src/services/vault/tag/state.rs:233
↓ 4 callersFunctioncreate_login_record
Helper: create a Login record and return its UUID.
src/executor/vault_test.rs:41
↓ 4 callersFunctioncreate_login_record_with_tags
( command_tx: &mpsc::Sender<Command>, result_rx: &mut mpsc::Receiver<Message>, name: &str, use
tests/e2e/sync_lifecycle_test.rs:262
↓ 4 callersFunctioncreate_metadata
( vault_token: &str, version: u64, records: Vec<(&str, u64, &str)>, )
tests/sync_health_closure_test.rs:115
↓ 4 callersFunctioncreate_test_checkpoint
()
tests/sync_e2e_test.rs:33
↓ 4 callersFunctioncreate_test_cloud_record_with_health
( id: &str, version: u64, weak: Option<bool>, dup_size: Option<u32>, )
src/sync/pipeline_test.rs:706
↓ 4 callersFunctioncreate_test_ssh_record
Helper: create an Ssh record and return its ID.
src/services/vault/record/tests.rs:2032
↓ 4 callersFunctionctrl
(ch: char)
src/tui/screens/edit_record.rs:1162
↓ 4 callersMethodcurrent_mtime
(&self)
src/executor/config_impl/handler.rs:87
↓ 4 callersMethodcursor_left
Move cursor left by one character.
src/tui/state/tag_management.rs:101
↓ 4 callersMethodcycle
Cycle to the next sort order: Frequency -> Alphabetical -> RecentlyUsed -> Frequency
src/tui/state/tag_management.rs:22
↓ 4 callersFunctiondata_dir
Returns the XDG data directory for oak-keyring. Follows `$XDG_DATA_HOME` environment variable with fallback to `~/.local/share/oak-keyring/`. Returns
src/paths.rs:70
↓ 4 callersFunctiondecrypt_opdata01_b64
(b64: &str, key: &[u8; 32], mac_key: &[u8; 32])
tools/opvault-rekey/src/main.rs:134
↓ 4 callersFunctiondecrypt_with_aad
( encrypted: &EncryptedData, aad: &[u8], key: &[u8; 32], )
src/crypto/xchacha20.rs:54
↓ 4 callersMethoddelete
Delete a token file. Returns `true` if deleted, `false` if not found.
src/cloud/oauth2/token_store.rs:105
↓ 4 callersFunctiondelete_metadata
Delete a metadata entry by key. Returns `true` if a row was deleted, `false` if the key was not found.
src/db/queries/metadata.rs:32
↓ 4 callersMethoddelete_raw
Low-level raw delete. Idempotent - returns Ok even if file doesn't exist.
src/cloud/storage.rs:367
↓ 4 callersMethoddelete_record
Deletes a record. Idempotent - deleting non-existent record returns Ok.
src/cloud/storage.rs:313
↓ 4 callersMethoddelete_tag
Delete a tag and cascade-remove all `record_tags` associations. Returns `VaultError::TagNotFound` if no tag with the given name exists.
src/services/vault/tag/state.rs:116
↓ 4 callersFunctionderive_index_key
(kek: &[u8; 32])
src/crypto/hkdf.rs:32
↓ 4 callersFunctiondetect_system_locale
Detect the system locale using sys-locale crate.
src/tui/i18n/mod.rs:49
↓ 4 callersMethoddisplay_password
Return the display text for the given password string.
src/tui/screens/set_password.rs:125
↓ 4 callersFunctiondissolve
Create a dissolve effect for brand transitions (unlock to main). Returns None if animation level is None.
src/tui/animation/effects.rs:10
↓ 4 callersFunctiondummy_ctx
()
tests/snapshot_tests/screens/set_password_test.rs:24
↓ 4 callersMethodeditable_indices
Returns the indices of editable word slots based on the current mode.
src/tui/screens/recovery_key.rs:67
↓ 4 callersFunctionevaluate_rule
Evaluates a single rule against a field value.
src/services/import_export/validation.rs:413
↓ 4 callersMethodexpand_from_config
Expand the panel using configured generator defaults.
src/tui/state/generator_state.rs:518
↓ 4 callersFunctionexport_input_paragraph
( value: &str, placeholder: &str, cursor: usize, focused: bool, width: u16, )
src/tui/screens/import_export/export_views.rs:275
↓ 4 callersFunctionextract_keys
Extracts duplicate-detection keys from a slice of [`ParsedItem`] values. Useful for building the `existing_keys` set from previously imported items o
src/services/import_export/duplicate.rs:97
↓ 4 callersFunctionfilter_tags
Filter existing tags by input prefix.
src/tui/components/tag_input.rs:136
↓ 4 callersFunctionfixed_past_ts
Fixed timestamp in 2024 — always renders as a date string (stable across runs).
tests/snapshot_tests/screens/main_composition_test.rs:31
↓ 4 callersMethodfocus_order
Get tab focus order for current style.
src/tui/state/generator_state.rs:303
↓ 4 callersMethodfocus_section_down
Move focus to the next section (down arrow). Sections: StyleSelector → LengthSlider → Options → Buttons → wrap.
src/tui/state/generator_state.rs:387
↓ 4 callersMethodfocus_section_up
Move focus to the previous section (up arrow).
src/tui/state/generator_state.rs:398
↓ 4 callersMethodform_row_map
(&self)
src/tui/screens/create_record.rs:1260
↓ 4 callersFunctiongenerate_pkce
Generate PKCE code_verifier and code_challenge (S256). - verifier: 32 bytes random → Base64URL no-pad (43 chars) - challenge: SHA256(verifier) → Base
src/cloud/oauth2/pkce.rs:10
↓ 4 callersFunctionhandle_check_rotation_trigger
(executor: &mut CommandExecutor)
src/executor/rotation.rs:293
↓ 4 callersMethodhandle_key_for_test
(&mut self, key: KeyEvent)
src/tui/screens/key_recovery.rs:202
↓ 4 callersMethodhandle_key_inner
(&mut self, key: KeyEvent, ctx: &mut ScreenContext)
src/tui/screens/key_recovery.rs:176
↓ 4 callersFunctionhandle_restore_database_from_cloud
Restore vault.db from cloud sync (pull-only, never pushes empty local state). Creates a file-backed vault.db, unlocks it with the cached or provided
src/executor/sync.rs:603
↓ 4 callersFunctioninsert_health_state
Helper: insert a health state via the VaultService wrapper.
src/executor/vault_test.rs:62
↓ 4 callersMethodis_credential_type_editable
Whether the credential type dropdown is interactive.
src/tui/state/form_state.rs:822
↓ 4 callersFunctionis_path_word_separator
(ch: char)
src/tui/screens/import_export/screen.rs:363
↓ 4 callersFunctionkey
(code: crossterm::event::KeyCode)
src/tui/screens/import_export/tests.rs:18
↓ 4 callersFunctionkey_event_with_modifiers
( code: crossterm::event::KeyCode, modifiers: crossterm::event::KeyModifiers, )
src/tui/state/main_state/tests.rs:864
↓ 4 callersFunctionlazy_migrate_record
Check if a record's DEK version is current and lazily migrate if needed. Called after decrypting a record during normal read operations. Returns Ok(()
src/services/rotation.rs:161
↓ 4 callersMethodlist_records_page
( &self, filter: &RecordFilter, sort: &RecordSort, limit: usize, offse
src/services/vault/record/list.rs:97
↓ 4 callersMethodload_record_data
( &mut self, name: String, url: String, username: Option<String>, pass
src/tui/screens/edit_record.rs:965
↓ 4 callersFunctionmake_executor_with_clipboard
(timeout: u64)
src/executor/config.rs:316
↓ 4 callersFunctionmake_record
(id: &str, ct: CredentialType)
tests/integration/db_lifecycle_test.rs:18
↓ 4 callersFunctionmake_record_with_expired
(id: Uuid, name: &str)
src/tui/screens/main/list/tests.rs:130
↓ 4 callersFunctionmake_record_with_weak
(id: Uuid, name: &str)
src/tui/screens/main/list/tests.rs:63
↓ 4 callersFunctionmake_ssh_detail_view
(id: Uuid, is_favorite: bool)
src/tui/state/main_state/tests.rs:3191
↓ 4 callersFunctionmake_test_executor
()
src/executor/import_export.rs:733
↓ 4 callersFunctionmake_test_record_with_name
(id: Uuid, name: &str)
src/tui/state/main_state/tests.rs:4271
↓ 4 callersFunctionmake_test_token
()
src/cloud/oauth2/token_store.rs:126
↓ 4 callersFunctionmake_test_tui_record
Create a [`TuiRecord`] with minimal test data.
tests/integration/main_pipeline_test.rs:70
↓ 4 callersMethodmark_record_list_index_clean
(&self)
src/services/vault/record/list.rs:25
↓ 4 callersMethodmark_record_list_index_dirty
(&self)
src/services/vault/record/list.rs:20
↓ 4 callersMethodmax_tag_scroll_offset
Maximum item offset for the scrollable tag area.
src/tui/state/main_state/state.rs:246
↓ 4 callersMethodmove_down
Move selection down by one. Clamps at the last record.
src/tui/state/list_state/state.rs:128
↓ 4 callersMethodmove_focus_spatially
(&mut self, col_delta: i8, row_delta: i8)
src/tui/screens/recovery_key.rs:117
↓ 4 callersFunctionnext_focus
Advance focus to the next zone in cycle order.
src/tui/screens/main/overlay/batch_tag.rs:299
↓ 4 callersFunctionnormalize_locale
Normalize a raw system locale string to a supported locale identifier. Rules: 1. Strip encoding/modifiers (everything after first `.` or `@`) 2. Repl
src/tui/i18n/mod.rs:12
↓ 4 callersFunctionokb_mapping
Default field mapping for OpenKeyring Backup (.okb) exports.
src/services/import_export/mapping.rs:371
↓ 4 callersMethodon_mount
(&mut self, ctx: &mut ScreenContext)
src/tui/state/main_state/state.rs:1298
↓ 4 callersMethodpassword_field
(&self)
src/tui/state/detail_state/state.rs:451
↓ 4 callersFunctionprev_char_boundary
(value: &str, cursor: usize)
src/tui/screens/import_export/screen.rs:341
↓ 4 callersMethodpreview_expose
(&self, f: impl FnOnce(&str) -> R)
src/tui/state/generator_state.rs:435
↓ 4 callersFunctionpush_markdown_buffer
( spans: &mut Vec<Span<'static>>, buffer: &mut String, bold: bool, italic: bool, code: boo
src/tui/screens/main/detail.rs:994
↓ 4 callersFunctionreconstruct_passkey
Reconstruct a Passkey from pre-generated recovery words. Tries English first, then Chinese Simplified.
src/executor/vault.rs:700
↓ 4 callersMethodrecord_id
Builder method: sets the record ID.
src/errors/context.rs:53
↓ 4 callersFunctionrecovery_words_fixture
()
src/tui/screens/onboarding/tests.rs:16
↓ 4 callersMethodremove_focused_tag
(&mut self)
src/tui/state/form_state.rs:258
↓ 4 callersFunctionrename_tag
Rename a tag. Returns `true` if a row was updated, `false` if the old name was not found.
src/db/queries/tag.rs:92
↓ 4 callersFunctionrender_dropdown
Render a dropdown field (collapsed).
src/tui/components/dropdown.rs:11
↓ 4 callersFunctionrender_help
Render the Help Cheatsheet overlay, centred within `area`.
src/tui/screens/main/overlay/help.rs:229
↓ 4 callersFunctionrender_notification_bar
(msg: &StatusMessage)
tests/snapshot_tests/components/notification_test.rs:9
↓ 4 callersFunctionrender_onboarding_buffer
(screen: &OnboardingScreen, width: u16, height: u16)
src/tui/screens/onboarding/tests.rs:54
↓ 4 callersFunctionrender_screen
(screen: &KeyRecoveryScreen, width: u16, height: u16)
tests/snapshot_tests/screens/key_recovery_test.rs:9
↓ 4 callersFunctionrender_tag_input
Render the tag input area.
src/tui/components/tag_input.rs:28
↓ 4 callersFunctionrender_text_line
(frame: &mut Frame, area: Option<Rect>, text: &str)
src/tui/screens/config_screen/config/about.rs:80
↓ 4 callersFunctionreplace_record_health_states
Replace all health states in a single transaction. Deletes every existing row, then inserts the provided slice. Use this after a full health-check pa
src/db/queries/health_state.rs:94
↓ 4 callersFunctionrequired
(value: Option<T>, field: &'static str)
src/executor/builder.rs:29
↓ 4 callersMethodresolve_conflict
Resolves a single conflict by record ID. Sends `ResolveConflict` command and waits for `ConflictResolved` event. # Errors Returns `SyncError` if: -
src/services/sync.rs:347
↓ 4 callersFunctionrestore_record
Restore a soft-deleted record: set `deleted = 0` and `deleted_at = NULL`.
src/db/queries/record.rs:417
↓ 4 callersFunctionretry_quit_state
(focused: usize)
src/tui/screens/main/overlay/error_dialog.rs:190
↓ 4 callersFunctionrun_with_backup
Runs `work` against `conn`, snapshotting the database to `backup_path` first and restoring on failure. On success: the backup is removed. On failure:
src/db/schema.rs:105
↓ 4 callersFunctionsample_export_records
()
src/services/import_export/tests.rs:479
↓ 4 callersFunctionsample_payload
()
src/services/import_export/export.rs:321
↓ 4 callersMethodscroll_log_list
(&mut self, delta: isize)
src/tui/screens/audit_log/screen.rs:287
↓ 4 callersFunctionselected_list_item
(text: String, area_width: u16, focused: bool)
src/tui/screens/main/sidebar.rs:395
↓ 4 callersFunctionsensitive
(s: &str)
src/tui/screens/unlock.rs:526
↓ 4 callersMethodset_current_limit_error
(&mut self)
src/tui/state/form_state.rs:783
↓ 4 callersMethodset_trash_context
Set the trash context for the current detail view.
src/tui/state/detail_state/state.rs:233
↓ 4 callersMethodstart_clear_timer
(&self)
src/services/clipboard.rs:401
← previousnext →701–800 of 5,714, ranked by callers