mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-11-20 01:26:11 +00:00
* Ship third-party licences and point to the exact source of each build The light client links smoldot (GPL-3.0-or-later WITH Classpath-exception-2.0), and the app shipped no third-party notices at all. Releases are not tagged, so nothing told a user which source a given APK was built from. - Settings > About gets an "Open source licenses" row. It opens the licences page with the commit the build was made from (BuildConfig.LICENCES_URL, from git rev-parse HEAD). - assets/licences/rust-crates.txt lists the 430 Rust crates linked into the four native libraries, with their licence texts. scripts/licences/rust_notices.py writes it from the lockfiles, and a Code Quality job fails when it is stale. - assets/licences/native-libraries.txt covers the prebuilt libsqlcipher.so and libsr25519java.so. - The licensee plugin bundles the Android library list into the APK and fails the build on a licence outside the allowed set. - NOTICE names the Pezkuwi Wallet copyright and where these notices live. * Check Android library licences in Code Quality and keep the report The build job fails on a disallowed licence but does not say which library, and its workflow is taken from main. This job runs only the licence check on the PR branch and uploads the report naming each library and its licence. * Replace the GPL-3.0 NovaCrypto libraries and allow the reviewed licences substrate-sdk-android brings in NovaCrypto BIP39, Sha256, ToRuntime and SecureString, all GPL-3.0 without exception, which made the APK a GPL-3.0 combined work alongside Google's proprietary SDKs. The SDK uses four of their types, only in MnemonicCreator and EnglishWordList. common now provides those types under Apache-2.0 with the binary interface the SDK is compiled against (taken from its bytecode), and every configuration excludes the NovaCrypto groups. Bip39VectorsTest runs the SDK's MnemonicCreator on them against all 24 English BIP-0039 vectors, both directions, plus a round trip of each random mnemonic length. Checked outside Gradle against the SDK 2.11.0 classes: 24/24, and red when the checksum is broken. The licence policy now names each remaining library licensee rejected: permissive licences declared by URL, POMs without a licence (checked against each project's repository), Google's SDK terms for the Play build, and the EPL libraries one by one.