tauri-apps / tauri-apps/tauri-docs

[RFC] Recommend apple-cryptokit-rs for App Store Export Compliance

Open
#3,490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
1.1k
Forks
887
Avg merge
2d 8h
Merged PRs (30d)
48

Description

Problem

Tauri apps using cryptography face export compliance challenges when submitting to the App Store. Apps must either use Apple-provided cryptographic algorithms or provide additional export documentation.

Solution

The apple-cryptokit-rs crate wraps Apple's native CryptoKit framework, providing:

  • App Store compliance: Qualifies for export compliance exemptions
  • System-level crypto: Uses only Apple-provided algorithms
  • Rust-friendly APIs: Memory-safe interfaces for Tauri apps
Usage Example
// Cargo.toml
[dependencies]
apple-cryptokit-rs = "0.1.0"

// In your Tauri app
use apple_cryptokit::hashing::sha256_hash;
use apple_cryptokit::symmetric::aes::{aes_gcm_encrypt, aes_gcm_decrypt};

#[tauri::command]
fn secure_hash(data: &str) -> String {
    let hash = sha256_hash(data.as_bytes());
    hex::encode(hash)
}
Benefits
  • ✅ No export compliance paperwork needed
  • ✅ Optimized Apple crypto implementations
  • ✅ Maintains Rust ecosystem compatibility
  • ✅ Reduces App Store review friction

This would help many Tauri developers avoid common App Store submission issues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the App Store export-compliance documentation and the Cargo.toml usage example described in the issue. Determine where a recommendation for apple-cryptokit-rs belongs, then document its Tauri usage and the export-compliance outcome described here.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, rust
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.