How do I sign a click package after building it?
-
I ssh'd into my phone and created a package:
phablet@ubuntu-phablet:~/Downloads$ click build voipmssmsnotifier/ Successfully built package in './voipmssmsnotifier.yourname_1.0.0_armhf.click'. phablet@ubuntu-phablet:~/Downloads$ pkcon install-local voipmssmsnotifier.yourname_1.0.0_armhf.click Installing files [=========================] Finished [=========================] Installing files [=========================] Starting [=========================] Finished [=========================] Fatal error: /home/phablet/Downloads/voipmssmsnotifier.yourname_1.0.0_armhf.click failed to install. Cannot install /home/phablet/Downloads/voipmssmsnotifier.yourname_1.0.0_armhf.click: Signature verification error: debsig: Origin Signature check failed. This deb might not be signed.However, shown in the above output, it won't install because the click package is not signed. I don't see anything about it in the docs here.
-
Apparently you can install it via:
pkcon install-local --allow-untrusted something.clickI learned this from the matrix chat:
#ut_appdev:matrix.org
#ubad_discussion:matrix.org
-
@tahayassen I'm not sure, I will have to search a bit to validate.
But signed apps are available from the OpenStore, I don't remember doing anything else than allowing developer mode to test my apps.Do you use a private/public key to authenticate via SSH ?
[Edit] You can also use clickable to push the click to your phone, it does all the magic
-
@AppLee I'm actually not using the OpenStore at all but just doing all my development work locally at the moment. I'm not using clickable because my app cannot be cross-compiled. It relies on a rust dbus crate that doesn't allow cross-compiling (see https://github.com/diwic/dbus-rs/blob/master/libdbus-sys/cross_compile.md for details).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login