[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls error on Emacs for Android armeabi 7a
From: |
Takesi Ayanokoji |
Subject: |
Re: gnutls error on Emacs for Android armeabi 7a |
Date: |
Thu, 5 Sep 2024 22:17:49 +0900 |
Hello,
Termux-related packages are all free software, and can be build on Android
develop environment or even on Github Actions.
I built termux-widget on github using modified Termux's workflow file.
https://github.com/ayatakesi/emacs-compat-termux-widget/blob/my/master/.github/workflows/my_attach_debug_apk_to_release.yml
On the other git-base forge, it should be able to build termux-widget with
some modification to workflow file.
Thanks,
Takesi Ayanokoji
Email: ayanokoji.takesi@gmail.com
Github: https://github.com/ayatakesi
X(twitter): aya_takesi
2024年9月5日(木) 21:30 Lockywolf <
for_help-gnu-emacs_at_gnu_org_2023-11-30@lockywolf.net>:
>
> Po Lu <luangruo@yahoo.com> writes:
> > Generally speaking, it is redundant to generate a signing key and resign
> > both Termux and Emacs, as their default keys are available to the
> > public:
> >
> > https://git.savannah.gnu.org/cgit/emacs.git/tree/java/emacs.keystore
> >
> https://github.com/termux/termux-app/blob/master/app/testkey_untrusted.jks
> >
> > since, evidently, Android's policy of restricting program
> > interoperability to programs from a single publisher does not commend
> > itself to us or them.
> >
>
> How do I use Emacs' keystore to re-sign termux-widget?
>
> I downloaded termux-widget from
>
> https://github.com/termux/termux-widget/releases/download/v0.13.0/termux-widget_v0.13.0+github-debug.apk
>
> I tried both
>
> #+begin_src bash
> apksigner sign --v2-signing-enabled --ks ./emacs.keystore \
> -debuggable-apk-permitted --ks-pass pass:<see git> \
> termux-widget_v0.13.0+github-debug.apk
> #+end_src
>
> and
>
> #+begin_src bash
> jarsigner -storepass <see repo> -verbose -keystore ./emacs.keystore \
> termux-widget_v0.13.0+github-debug.apk 'emacs keystore'
> #+end_src
>
> but both seem to produce an apk that is rejected by Android.
> Am I missing something?
>
> Termux widget is quite useful, allows running sh commands from an
> android widget.
>
> --
> Your sincerely,
> Vladimir Nikishkin (MiEr, lockywolf)
> (Laptop)
>