Thanks Colin for your input on this.

I looked into this and attached is a patch to the click plugin that
implements setting the PK_ERROR_ENUM_MISSING_GPG_SIGNATURE, and honoring
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED. However this will not work for us
as it requires the user to answer a interactive question which seems to
be inelegant.

The alternative approach would be to add code to pkcon to honor either a
environment variable or a commandline swtich and pass that directly in
the task to avoid the interactive prompt. I will work on this next and
attach code for that.

** Patch added: "Click plugin patch that uses 
ENUM_ONLY_TRUSTED/ERROR_MISSING_GPG_SIGNATURE"
   
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1360582/+attachment/4186910/+files/lp1360582-crude.diff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1360582

Title:
  Can't manually install clicks "Signature verification error" since
  #205

Status in “click” package in Ubuntu:
  Confirmed
Status in “phablet-tools” package in Ubuntu:
  Confirmed

Bug description:
  See mailing list thread at https://lists.launchpad.net/ubuntu-
  phone/msg09607.html

  Since image #205 I can't install click packages using click-buddy &
  pkcon install-local. Changed click-buddy to use  "adb $ADBOPTS shell
  click install --user=$DEVICE_USER --allow-unauthenticated /tmp/$click"
  which worked for me, but dunno if that's the "right" thing to do.

  alan@deep-thought:~/phablet/code/coreapps⟫ adb push 
com.ubuntu.music_1.3.597_all.click /tmp
  2560 KB/s (401406 bytes in 0.153s)

  alan@deep-thought:~/phablet/code/coreapps⟫ phablet-shell
  start: Job is already running: ssh
  /home/alan/.ssh/known_hosts updated.
  Original contents retained as /home/alan/.ssh/known_hosts.old
  9 KB/s (399 bytes in 0.040s)
  Warning: Permanently added '[localhost]:2222' (RSA) to the list of known 
hosts.
  Welcome to Ubuntu Utopic Unicorn (development branch) (GNU/Linux 3.4.0-5-mako 
armv7l)

   * Documentation:  https://help.ubuntu.com/
  Last login: Fri Aug 22 23:53:19 2014 from localhost.localdomain
  phablet@ubuntu-phablet:~$ pkcon install-local 
/tmp/com.ubuntu.music_1.3.597_all.click 
  Installing files              [=========================]         
  Finished                      [=========================]         
  Installing files              [=========================]         
  Waiting for authentication    [=========================]         
  Starting                      [=========================]         
  Finished                      [=========================]         
  Fatal error: /tmp/com.ubuntu.music_1.3.597_all.click failed to install.
  Cannot install /tmp/com.ubuntu.music_1.3.597_all.click: Signature 
verification error: debsig: Origin Signature check failed. This deb might not 
be signed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1360582/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to