mirror of https://github.com/ospab/ostp.git
The Android jobs failed with "Get Key failed: Given final block not properly padded" once the store password was corrected - the keystore opened, but the KEY could not be decrypted. Cause: GitHub Actions substitutes an empty string, not an unset variable, for a secret that does not exist. ANDROID_KEY_PASSWORD is deliberately not set (our keystore is PKCS12, where the key password cannot differ from the store password), so OSTP_KEY_PASSWORD arrived as "". Kotlin's elvis operator only falls back on null, so `getenv(...) ?: storePassword` kept the empty string and used it as the literal key password. signingSetting() now maps blank to null, so the documented fallback actually happens. Applies to every signing field, not just the key password - the same trap would have hit any of them. |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| lib | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| README.md | ||
| analysis_options.yaml | ||
| android_icon.png | ||
| android_icon_backup.png | ||
| build.ps1 | ||
| build_android_jni.ps1 | ||
| devtools_options.yaml | ||
| ostp-client-release.apk | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| resize_icon.ps1 | ||
README.md
ostp_client
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.