Skip to content

Android Cipher 2.2: Material 3, bounded crypto input and release automation - #4

Merged
koushik4475 merged 35 commits into
mainfrom
release/android-cipher-2.2.0
Nov 22, 2026
Merged

koushik4475 merged 35 commits into
mainfrom
release/android-cipher-2.2.0

Conversation

@koushik4475

Copy link
Copy Markdown
Owner

Android Cipher 2.2.0

Product and Android UI

  • Move the legacy Material Components theme to Material 3 Expressive.
  • Adopt AndroidX SplashScreen for consistent launch behavior from API 26+.
  • Improve edge-to-edge handling to include display cutouts and IME insets.
  • Keep the content column centered and readable on expanded windows.
  • Refresh the product copy for the 2.2 release and preserve dark/light color roles.

Security and robustness

  • Bound encrypted/decrypted messages to 1 MiB.
  • Reject oversized encoded envelopes before Base64 allocation/decoding.
  • Preserve AC2 version 1 decryption and version 2 creation/decryption.
  • Clear the password field as soon as the crypto operation starts; the worker uses a short-lived char array that is zeroed after use.
  • Clear only the active clipboard clip labelled as Android Cipher output when the user chooses Clear all.
  • Count Unicode code points rather than UTF-16 code units.

Build, testing and dependencies

  • Upgrade to AGP 9.5.2 and Gradle 9.9.1; update Material Components to 1.14.0 and AndroidX Core to 1.19.1.
  • Add Espresso UI smoke tests and run on API 26 and API 36 emulators.
  • CI builds debug/release APKs and an AAB, and runs unit tests and lint.
  • Add weekly Dependabot updates for Gradle and GitHub Actions.

Release automation

  • Add a signed GitHub release workflow. It requires the repository Actions secrets ANDROID_KEYSTORE_BASE64, ANDROID_KEYSTORE_PASSWORD, ANDROID_KEY_ALIAS, and ANDROID_KEY_PASSWORD.
  • The workflow deliberately skips publishing if signing secrets are missing. It will never publish an unsigned or debug-signed APK as a stable release.
  • It publishes APK and AAB assets to GitHub Releases after a versioned merge to main when signing is configured. It does not submit to Google Play.

Validation

CI must pass before merge. Physical-device performance benchmarking for the 600,000-iteration PBKDF2 KDF and independent cryptographic review remain release-readiness tasks.

@koushik4475
koushik4475 merged commit a808319 into main Nov 22, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant