Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,205 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Q-Audion iOS

Post-quantum encrypted VoIP for iOS — the iPhone companion to Q-Audion Android.

Architecture

QAudionEngine/           Swift Package (standalone engine)
├── Crypto/              ML-KEM-1024 + AES-256-GCM + HKDF Double Ratchet
├── Transport/           Wire format, adaptive CBR padding, loopback
├── Audio/               Opus codec, AVAudioEngine capture/playback, jitter buffer
├── Core/                Engine facade, config, state machine, trust anchor
├── Deepfake/            LFCC + CoreML deepfake detection, speaker verification
├── Analysis/            Pitch, stress, formants, speech rate, voice health
├── Backend/             BCrypto WS + REST
├── Registry/            Backend selection, call routing
├── Integration/         Call integration, transport selector, KMS, OTA
├── Sovereign/           NFC read + QR PSK exchange
└── UI/                  SwiftUI (settings, enrollment, guardian overlay)

Build

Engine only (no Xcode needed)

cd QAudionEngine
swift build
swift test --parallel

Full iOS app

The Xcode project is generated by XcodeGen from QAudionApp/project.yml and is NOT committed to the repo.

brew install xcodegen
cd QAudionApp
xcodegen generate
open QAudionApp.xcodeproj

CI/CD

  • GitHub Actions (.github/workflows/ios-testflight.yml): full Xcode build + TestFlight upload on tag push v*. Runs on macos-latest with Xcode 26.x and uploads directly to TestFlight Internal group Q-Audion testers via xcrun altool. This is the only active iOS build pipeline.
  • Codemagic — decommissioned 2026-05-06; codemagic.yaml was removed from the repo. Some bash steps in ios-testflight.yml still reference the codemagic-cli-tools Python package, but that's just a CLI library for App Store Connect — not a hosted build service.
  • Xcode CloudXCODE_CLOUD_MIGRATION.md documents an evaluated migration that was never adopted. The ci_scripts/ directory is Xcode Cloud convention but those scripts are NOT executed by the current pipeline. Do not edit them expecting CI to pick the changes up.

Protocol Compatibility

Wire format is byte-identical to Q-Audion Android:

  • Frame: [Version][Flags][SeqNum BE][Timestamp BE][Nonce][Payload][Tag][DeepfakeScore]
  • HKDF info strings: q-audion-frame-key, q-audion-root-ratchet, q-audion-psk-mix, q-audion-next-chain
  • CBR padding: 256-byte constant frames with 2-byte BE length suffix

License

Proprietary — BCrypto / Q-Audion

About

IOS version of Q-Audion app

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages