Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSecretCloud/opensecret
/ functions
Functions
1,278 in github.com/OpenSecretCloud/opensecret
⨍
Functions
1,278
◇
Types & classes
392
↓ 2 callers
Function
validate_path
Helper function to validate a derivation path
src/web/protected_routes.rs:303
↓ 2 callers
Function
validate_project_name
(name: &str)
src/web/responses/conversation_projects.rs:122
↓ 2 callers
Method
verify_new_password_seed_wrapping_for_user
( &self, user: &User, decrypted_password_verifier: &str, plaintext_seed: &[u8]
src/main.rs:1017
↓ 2 callers
Method
with_name
(mut self, name: String)
src/models/users.rs:176
↓ 2 callers
Method
with_overrides
(self, temperature: Option<f32>, top_p: Option<f32>)
src/model_config.rs:31
↓ 2 callers
Function
writeProxyError
(c *gin.Context, status int, message string)
tinfoil-proxy/main.go:119
↓ 1 callers
Method
Write
(p []byte)
tinfoil-proxy/main.go:34
↓ 1 callers
Method
accept_invite_transaction
( &self, invite: &InviteCode, new_membership: NewOrgMembership, )
src/db.rs:1761
↓ 1 callers
Method
active_id
(&self)
src/web/responses/handlers.rs:2316
↓ 1 callers
Method
append_bytes
(&mut self, value: &[u8])
src/encrypt.rs:177
↓ 1 callers
Method
append_i16
(&mut self, value: i16)
src/encrypt.rs:181
↓ 1 callers
Function
apply_reasoning_history_strategy
(chat_request: &mut Value, model: &str)
src/web/responses/handlers.rs:80
↓ 1 callers
Method
as_apple
(&self)
src/oauth.rs:461
↓ 1 callers
Method
as_github
(&self)
src/oauth.rs:403
↓ 1 callers
Method
as_google
(&self)
src/oauth.rs:432
↓ 1 callers
Function
assistant_turn_finished_with_tool_call
( saw_tool_calls: bool, tools_enabled: bool, finish_reason: Option<&str>, )
src/web/responses/handlers.rs:291
↓ 1 callers
Method
batch_update_conversation_project
( &self, conversation_uuids: &[Uuid], user_id: Uuid, target_project_id: Option
src/db.rs:2267
↓ 1 callers
Method
billing_api_key
(mut self, billing_api_key: Option<String>)
src/main.rs:604
↓ 1 callers
Method
billing_server_url
(mut self, billing_server_url: Option<String>)
src/main.rs:609
↓ 1 callers
Method
brave_api_key
(mut self, brave_api_key: Option<String>)
src/main.rs:624
↓ 1 callers
Function
build_context_and_check_billing
Phase 2: Build context and check billing Read-only phase that builds conversation context and validates billing quota before any database writes occu
src/web/responses/handlers.rs:1907
↓ 1 callers
Method
build_output_items
(&self)
src/web/responses/handlers.rs:1518
↓ 1 callers
Function
build_tool_choice_value
(tool_choice: &Option<String>)
src/web/responses/handlers.rs:196
↓ 1 callers
Method
can_user_chat
(&self, user_id: Uuid)
src/billing.rs:76
↓ 1 callers
Method
can_user_chat_api
(&self, user_id: Uuid)
src/billing.rs:82
↓ 1 callers
Method
cancel_response
(&self, uuid: Uuid, user_id: Uuid)
src/db.rs:2459
↓ 1 callers
Function
canonicalize_tinfoil_model
(model: &str)
src/proxy_config.rs:14
↓ 1 callers
Method
check_user_chat_with_tokens
( &self, user_id: Uuid, is_api: bool, input_tokens: i32, )
src/billing.rs:88
↓ 1 callers
Function
collect_forbidden_legacy_seed_matches
( path: &Path, forbidden_patterns: &[&str], findings: &mut Vec<String>, )
src/security_invariants.rs:705
↓ 1 callers
Function
collect_pattern_matches
(path: &Path, pattern: &str, findings: &mut Vec<String>)
src/security_invariants.rs:737
↓ 1 callers
Function
collect_schema_tables_with_encrypted_columns
(schema_source: &str)
src/security_invariants.rs:763
↓ 1 callers
Method
complete_destructive_password_reset
( &self, user: &User, reset_request: &PasswordResetRequest, new_password_enc:
src/db.rs:1005
↓ 1 callers
Method
confirm_account_deletion
( &self, user_id: Uuid, confirmation_code: String, plaintext_secret: String,
src/main.rs:2049
↓ 1 callers
Method
confirm_platform_password_reset
( &self, email: String, alphanumeric_code: String, plaintext_secret: String,
src/main.rs:1817
↓ 1 callers
Method
continuum_flag_key_for_completion_model
( &self, requested_model: &str, )
src/provider_routing.rs:195
↓ 1 callers
Function
copy_attacker_password_verifier_to_victim
(app_state: &AppState, attacker: &User, victim: &User)
src/aead_db_tamper_tests.rs:1431
↓ 1 callers
Function
copy_victim_kv_rows_to_attacker
(app_state: &AppState, victim: &User, attacker: &User)
src/aead_db_tamper_tests.rs:1455
↓ 1 callers
Function
copy_victim_password_verifier_to_attacker
(app_state: &AppState, victim: &User, attacker: &User)
src/aead_db_tamper_tests.rs:1443
↓ 1 callers
Function
copy_victim_seed_wrap_ciphertext_to_attacker
( app_state: &AppState, victim: &User, attacker: &User, )
src/aead_db_tamper_tests.rs:1586
↓ 1 callers
Method
create_account_deletion_request
( &self, user_id: Uuid, hashed_secret: String, project_id: i32, )
src/main.rs:1983
↓ 1 callers
Method
create_assistant_message
Assistant messages
src/db.rs:2821
↓ 1 callers
Method
create_conversation
Conversations
src/db.rs:2167
↓ 1 callers
Method
create_conversation_project
( &self, new_project: NewConversationProject, )
src/db.rs:2175
↓ 1 callers
Function
create_cose_sign1
(payload: Vec<u8>, signature: Vec<u8>)
src/web/attestation_routes.rs:333
↓ 1 callers
Method
create_ephemeral_key
(&self, nonce: String)
src/main.rs:1484
↓ 1 callers
Method
create_invite_code
Invite code implementations
src/db.rs:1439
↓ 1 callers
Function
create_mock_attestation_document
( data: Arc<AppState>, user_data: Option<ByteBuf>, nonce: Option<ByteBuf>, public_key: Option<
src/web/attestation_routes.rs:162
↓ 1 callers
Function
create_mock_certificate
(_data: Arc<AppState>)
src/web/attestation_routes.rs:225
↓ 1 callers
Function
create_new_encryption_key
( aws_region: &str, aws_key_id: &str, aws_secret_key: &str, aws_session_token: &str, aws_k
src/encrypt.rs:387
↓ 1 callers
Function
create_oauth_wrapped_user
( app_state: &AppState, project_id: i32, email: String, provider_name: &str,
src/web/oauth_routes.rs:1695
↓ 1 callers
Method
create_org_project
Org project implementations
src/db.rs:1282
↓ 1 callers
Method
create_org_with_owner
(&self, new_org: NewOrg, owner_id: Uuid)
src/db.rs:1746
↓ 1 callers
Method
create_password_seed_wrap_for_user
( &self, user: &User, decrypted_password_verifier: &str, plaintext_seed: &[u8]
src/main.rs:1046
↓ 1 callers
Method
create_platform_password_reset_request
( &self, email: String, hashed_secret: String, )
src/main.rs:1745
↓ 1 callers
Method
create_platform_user
Platform user methods
src/db.rs:1516
↓ 1 callers
Function
create_provider_connection
( app_state: &AppState, user: &User, provider_id: i32, provider_user_id: String, access_to
src/web/oauth_routes.rs:1473
↓ 1 callers
Function
create_reasoning_item
( db: &Arc<dyn DBConnection + Send + Sync>, conversation_id: i64, response_id: i64, user_id: U
src/web/responses/storage.rs:137
↓ 1 callers
Method
create_reasoning_item
Reasoning items
src/db.rs:2864
↓ 1 callers
Method
create_response
Responses (job tracker) implementations
src/db.rs:2422
↓ 1 callers
Method
create_token_usage
(&self, new_usage: NewTokenUsage)
src/db.rs:1207
↓ 1 callers
Method
create_tool_call
Tool calls / outputs
src/db.rs:2882
↓ 1 callers
Method
create_tool_output
(&self, new_output: NewToolOutput)
src/db.rs:2892
↓ 1 callers
Method
create_user_instruction
( &self, new_instruction: NewUserInstruction, )
src/db.rs:2587
↓ 1 callers
Method
create_user_message
User messages
src/db.rs:2789
↓ 1 callers
Method
create_user_with_oauth_seed_wrap
( &self, new_user: NewUser, provider_id: i32, provider_name: &str, pro
src/main.rs:1153
↓ 1 callers
Method
create_user_with_password_seed_wrap
( &self, new_user: NewUser, decrypted_password_verifier: &str, plaintext_seed:
src/main.rs:1062
↓ 1 callers
Method
create_wav_from_samples
( &self, original_header: &[u8], samples: &[u8], )
src/web/audio_utils.rs:310
↓ 1 callers
Method
decrypt_metadata
Decrypt conversation metadata # Returns Option<Value> containing decrypted metadata, or None if no metadata exists # Errors Returns ApiError if decr
src/web/responses/conversations.rs:93
↓ 1 callers
Method
decrypt_name
(&self)
src/web/responses/conversation_projects.rs:57
↓ 1 callers
Method
decrypt_session_data
( &self, session_id: &Uuid, encrypted_data: &str, )
src/main.rs:1506
↓ 1 callers
Function
default_os_flags_base_url
(app_mode: &AppMode)
src/main.rs:2392
↓ 1 callers
Function
delete_all
( pool: &diesel::r2d2::Pool<diesel::r2d2::ConnectionManager<PgConnection>>, user_id: Uuid, )
src/kv.rs:122
↓ 1 callers
Method
delete_all
(&self, user_id: Uuid)
src/main.rs:1460
↓ 1 callers
Method
delete_all_conversations
(&self, user_id: Uuid)
src/db.rs:2411
↓ 1 callers
Method
delete_conversation_project
(&self, project_id: i64, user_id: Uuid)
src/db.rs:2416
↓ 1 callers
Method
delete_email_verification
(&self, verification: &EmailVerification)
src/db.rs:920
↓ 1 callers
Method
delete_invite_code
(&self, invite: &InviteCode)
src/db.rs:1506
↓ 1 callers
Method
delete_membership_with_owner_check
( &self, membership: &OrgMembership, )
src/db.rs:1705
↓ 1 callers
Method
delete_org
(&self, org: &Org)
src/db.rs:1272
↓ 1 callers
Method
delete_org_project
(&self, project: &OrgProject)
src/db.rs:1359
↓ 1 callers
Method
delete_org_project_secret
(&self, secret: &OrgProjectSecret)
src/db.rs:1429
↓ 1 callers
Method
delete_platform_email_verification
( &self, verification: &PlatformEmailVerification, )
src/db.rs:1949
↓ 1 callers
Method
delete_response
(&self, uuid: Uuid, user_id: Uuid)
src/db.rs:2464
↓ 1 callers
Method
delete_user_api_key_by_name
(&self, name: &str, user_id: Uuid)
src/db.rs:2079
↓ 1 callers
Method
delete_user_instruction
(&self, id: i64, user_id: Uuid)
src/db.rs:2662
↓ 1 callers
Function
derive_key_with_salt
( input_key: &[u8], salt: &[u8], info: &[u8], )
src/encrypt.rs:91
↓ 1 callers
Function
deserialize
(deserializer: D)
src/models/org_memberships.rs:110
↓ 1 callers
Function
determine_needed_message_ids
Determine which message IDs are needed based on truncation logic Runs the same middle-truncation algorithm as `build_prompt_from_chat_messages`, but
src/web/responses/context_builder.rs:391
↓ 1 callers
Function
ensure_stream_usage
(body: &mut serde_json::Map<String, Value>)
src/web/openai.rs:1085
↓ 1 callers
Function
evict_expired
(inner: &mut HashMap<UserFlagsCacheKey, UserFlagsCacheEntry>, now: Instant)
src/os_flags.rs:237
↓ 1 callers
Function
execute_brave_search
Execute web search using Brave Search API
src/web/responses/tools.rs:50
↓ 1 callers
Function
execute_tool_call_and_wait
Phase 5: Let the model request tool use (optional) Persist and emit a single requested tool call, then wait for storage to confirm the tool output is
src/web/responses/handlers.rs:2135
↓ 1 callers
Function
extractPublicKey
* Extract public key from different formats * @param {string} publicKeyString - Base64-encoded public key * @returns {Object} Public key object
pcr_verify.js:38
↓ 1 callers
Function
extract_sse_frame
Helper to extract SSE frame from buffer Returns the data portion of "data: <content>" frames, None if no complete frame available
src/web/openai.rs:1151
↓ 1 callers
Method
fallback_completion_route
( &self, proxy_router: &ProxyRouter, requested_model: &str, )
src/provider_routing.rs:296
↓ 1 callers
Function
fetch_apple_user
( app_state: &AppState, id_token: &str, client_id: &str, )
src/web/oauth_routes.rs:1058
↓ 1 callers
Function
fetch_github_user
( access_token: &str, github_provider: &GithubProvider, )
src/web/oauth_routes.rs:899
↓ 1 callers
Function
fetch_google_user
( access_token: &str, google_provider: &GoogleProvider, )
src/web/oauth_routes.rs:1013
↓ 1 callers
Function
fetch_models_directly
Helper function to fetch models directly without caching
src/web/health_routes.rs:113
↓ 1 callers
Function
fetch_provider_models
(proxy_config: &ProxyConfig)
src/web/openai.rs:1323
← previous
next →
301–400 of 1,278, ranked by callers