nostr:nevent1qqsxmzfxl8vwnzzfjels6mwk9gfefezmdm928l0uqd0apll923xn68spz3mhxue69uhhyetvv9ujumn8d96zuer9wcfhcalf PR-Author: greenart7c3 nostr:npub1w4uswmv6lu9yel005l3qgheysmr7tk9uvwluddznju3nuxalevvs2d0jr5 PR description: Armada (the Soapbox Nostr messenger, `nostr://soapbox.pub/relay.ngit.dev/armada`) asks remote signers to sign several event kinds that Amber had no human-readable label for, so approval dialogs showed the generic "Event kind N" fallback. Auditing every signing path in the Armada source found 17 signed kinds missing from `Permission.kt`'s `sign_event` translation table. This PR adds branches and localized labels for them, and gives NIP-29 group-management kinds 9008/9009/9010/9022 specific labels instead of falling through to the generic `in 9000..9030` "Group control events" range string: | Kind | Label | Armada usage | |---|---|---| | 20001 | Presence status | Buzz presence heartbeat | | 20002 | Typing indicator | Buzz typing signal | | 25742 | Push notification request | NIP-PUSH RPC | | 3314 | Community announcement | Discover listing | | 40003 | Message edit | Buzz stream edit | | 41010 | Open direct messages | hidden-channel DM open | | 45001 | Forum post | Buzz forum | | 45002 | Forum vote | Buzz forum | | 45003 | Forum comment | Buzz forum | | 9008 | Delete group | NIP-29 moderation | | 9009 | Create group invite | NIP-29 moderation | | 9010 | Update group pins | NIP-29 moderation | | 9022 | Leave group | NIP-29 membership | | 9450 | In-chat app data | webxdc state | | 24450 | In-chat app realtime data | webxdc realtime | | 13303 | Invite list | Concord (CORD-05) | | 33302 | Community list | Concord (CORD-02) | Deliberately excluded: rumor kinds Armada only ever seals inside 13/1059/21059/20013/20014 (all already translated), relay-signed kinds (40099, 13534, 28935, 44100/44101, 46001–46012), and render-only kinds with no signing path (43001–43006, 40008, 40100, 48100, 30620, 46020). 33301 invite bundles are signed by a local per-link keypair, not the remote signer. String resources were added to `values/` and translated in all 13 shipped locale files. Validation: `:app:compileFreeDebugKotlin`, `ktlintCheck`, `lint`, and `test` all pass; every `event_kind_N` string now has exactly one matching translation branch and vice versa.
Amber: Nostr event signer for Android
Amber is a nostr event signer for Android. It allows users to keep their nsec segregated in a single, dedicated app. The goal of Amber is to have your smartphone act as a NIP-46 signing device without any need for servers or additional hardware. "Private keys should be exposed to as few systems as possible as each system adds to the attack surface," as the rationale of said NIP states. In addition to native apps, Amber aims to support all current nostr web applications without requiring any extensions or web servers.
Current Features
- Offline
- Use nip-46 or make an addendum in nip-46
- Improve the ui (currently its showing a text with the raw json of the event)
- Check if we can use Amber to sign the events of web applications
- Change the sign button to just copy the signature of the event
- Use content provider to sign events in background when you checked the remember my choice option on android
- Support for multiple accounts
Download and Install
Contributing
Issues can be logged on: https://gitworkshop.dev/greenart7c3@greenart7c3.com/Amber
GitHub issues and pull requests here are also welcome. Translations can be provided by editing the strings.xml files under app/src/main/res/values-<locale>/ and opening a pull request.
You can also send patches through Nostr using GitStr to this nostr address
By contributing to this repository, you agree to license your work under the MIT license. Any work contributed where you are not the original author must contain its license header with the original author(s) and source.
Development with Codex Web
This repository includes reusable Codex Web environment scripts so cloud tasks can bootstrap the Android build without manual setup. In the Codex Web environment settings, use:
bash .codex/setup.sh
as the setup script, and optionally use:
bash .codex/maintenance.sh
as the maintenance script for cached containers. The setup script installs or verifies Java 21, bootstraps the Android command-line SDK, installs Android API 36/build-tools 36.0.0, accepts SDK licenses, and warms Gradle dependencies for the default free debug unit-test sources.
Security and Verification
🔐 All releases are cryptographically signed with GPG for your security.
Before installing any APK from our releases, we strongly recommend verifying its authenticity to ensure it hasn't been tampered with.
📋 View Release Verification Guide
The verification process involves:
- Importing our GPG public key
- Verifying the release manifest signature
- Checking file integrity with SHA256 hashes
GPG Key Details:
- Key ID:
44F0AAEB77F373747E3D5444885822EED3A26A6D - Fingerprint:
44F0 AAEB 77F3 7374 7E3D 5444 8858 22EE D3A2 6A6D - User ID:
greenart7c3 <greenart7c3@proton.me>
Quick verification:
# Import the signing key
gpg --keyserver hkps://keys.openpgp.org --recv-keys 44F0AAEB77F373747E3D5444885822EED3A26A6D
# Verify a release (example for v1.0.0)
gpg --verify manifest-v1.0.0.txt.sig manifest-v1.0.0.txt
⚠️ Security Notice: Only download releases from this official GitHub repository. If GPG verification fails, do not install the APK and report it as a security issue.
Verifying Reproducibility of Amber
To confirm that the Amber build is reproducible, follow these steps:
- Run the following command to build the image with no cache and specified version:
docker build -t amber-repro --progress=plain --no-cache --build-arg VERSION=v4.0.2 --build-arg APK_TYPE=free-arm64-v8a .
- After the image is built, run the container:
docker run --rm amber-repro
- You should see the following message indicating success:
APKs match!
Certificate fingerprint for AppVerifier
com.greenart7c3.nostrsigner
E8:AB:8C:69:33:3B:68:63:6D:D4:6C:E2:42:40:8C:79:55:3A:7F:D9:05:5D:05:4D:61:DA:AB:AB:AD:A5:3B:BF
fdroid
com.greenart7c3.nostrsigner
56:DC:63:19:96:A5:5C:22:84:79:04:48:C7:DC:9F:1D:D0:5D:F5:96:B2:CE:48:82:31:36:33:F5:60:2E:5F:E4
Usage
Check NIP 55 and NIP 46 for more information.


