linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: rishi gupta <gupt21@gmail.com>
To: linux-integrity@vger.kernel.org
Subject: OTA does not work with IMA due to xattr not supported by zip
Date: Tue, 8 Jan 2019 06:56:37 +0530	[thread overview]
Message-ID: <CALUj-gsiY+_K_PM2kAXvVFU+wntq6tQaqUk+BVzwA3o-7nhCPw@mail.gmail.com> (raw)

Hi Team,

Android and android recovery based implementation for Linux, generates
ota package which is a zipped archive.

I observed that xattr gets dropped when creating zip archive and
therefore after OTA system will not boot if IMA_APPRAISE_SIGNED_INIT
is used.

This essentially means that IMA may not be used in commercial products
requiring OTA or I missed something or there is a workaround to such
problem.

https://source.android.com/devices/tech/ota/tools

Regards,
Rishi

             reply	other threads:[~2019-01-08  1:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-08  1:26 rishi gupta [this message]
2019-01-08 20:58 ` OTA does not work with IMA due to xattr not supported by zip Mimi Zohar
2019-01-10  6:46   ` rishi gupta
2019-01-10 16:18     ` Mimi Zohar
2019-01-10 18:20     ` Matthew Garrett
2019-01-13 10:58       ` rishi gupta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALUj-gsiY+_K_PM2kAXvVFU+wntq6tQaqUk+BVzwA3o-7nhCPw@mail.gmail.com \
    --to=gupt21@gmail.com \
    --cc=linux-integrity@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).