help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnutls error on Emacs for Android armeabi 7a


From: Lockywolf
Subject: Re: gnutls error on Emacs for Android armeabi 7a
Date: Thu, 05 Sep 2024 20:14:27 +0800
User-agent: mu4e 1.10.7; emacs 30.0.50

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)

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]