Skip to content

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

@zibo-chen

Description

@zibo-chen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🪵 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions