{"id":811070,"url":"http://patchwork.ozlabs.org/api/patches/811070/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/patch/1504797794-31605-1-git-send-email-maciej.pijanowski@3mdeb.com/","project":{"id":58,"url":"http://patchwork.ozlabs.org/api/projects/58/?format=json","name":"swupdate development","link_name":"swupdate","list_id":"swupdate.googlegroups.com","list_email":"swupdate@googlegroups.com","web_url":"https://github.com/sbabic/swupdate","scm_url":"git://github.com/sbabic/swupdate","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504797794-31605-1-git-send-email-maciej.pijanowski@3mdeb.com>","list_archive_url":null,"date":"2017-09-07T15:23:14","name":"building-with-yocto.rst: update signed images section","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"72eba8049dfa604d98c3462dc08c7f08a1572ce1","submitter":{"id":72175,"url":"http://patchwork.ozlabs.org/api/people/72175/?format=json","name":"Maciej Pijanowski","email":"maciej.pijanowski@3mdeb.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/swupdate/patch/1504797794-31605-1-git-send-email-maciej.pijanowski@3mdeb.com/mbox/","series":[{"id":2014,"url":"http://patchwork.ozlabs.org/api/series/2014/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/list/?series=2014","date":"2017-09-07T15:23:14","name":"building-with-yocto.rst: update signed images section","version":1,"mbox":"http://patchwork.ozlabs.org/series/2014/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/811070/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/811070/checks/","tags":{},"related":[],"headers":{"Return-Path":"<swupdate+bncBDIL3GP4WUMRBOOIYXGQKGQE42SQAXA@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:4010:c07::23f;\n\thelo=mail-lf0-x23f.google.com;\n\tenvelope-from=swupdate+bncbdil3gp4wumrbooiyxgqkgqe42sqaxa@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"LwI+Wy7Y\"; dkim-atps=neutral"],"Received":["from mail-lf0-x23f.google.com (mail-lf0-x23f.google.com\n\t[IPv6:2a00:1450:4010:c07::23f])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xp42P3yBgz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 01:22:36 +1000 (AEST)","by mail-lf0-x23f.google.com with SMTP id a138sf793282lfb.22\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 07 Sep 2017 08:22:36 -0700 (PDT)","by 10.46.13.1 with SMTP id 1ls79744ljn.15.gmail; Thu, 07 Sep 2017\n\t08:22:33 -0700 (PDT)","from cloudserver096301.home.net.pl (cloudserver096301.home.net.pl.\n\t[79.96.179.35]) by gmr-mx.google.com with ESMTPS id\n\td82si36579wmd.1.2017.09.07.08.22.32 for <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 07 Sep 2017 08:22:32 -0700 (PDT)","from 81-95-197-197.metrolink.pl (81.95.197.197) (HELO\n\tlocalhost.localdomain)\n\tby serwer1539010.home.pl (79.96.179.35) with SMTP (IdeaSmtpServer\n\t0.82) id 01bf2a44f703d6be; Thu, 7 Sep 2017 17:22:31 +0200"],"ARC-Seal":["i=2; a=rsa-sha256; t=1504797754; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=08mZFP/VfbLH/Qv4hnO+7QY27XIeiElx/bqSJeg8Ln3PRkloT/3KP6wlZ+2Ux/zZUr\n\tmrqeU9XihDxD1PjRkrQtauMHQ90Bdyri55HrOd1p3e50VzGl2WMvr1inbQafZTc81i2j\n\tHZzE5d0jQdhO6cskIHnG8pz3kBro4c/cVUPfclyU8i2jUCozN/qq6mf7A+Z0QRzVeQkY\n\tFB4oBj+kUigkFocAUvuRljhE47cXu+DwtiCSkj1w7hmcVFqDoqZw8kpGGO9tDu72OE6q\n\tqKo1Rk0JwNPxR2TJv3q1Kx1dsdQTMHvSpAbTIkzD2yolYJtjqfcknsbSPsw6/w8zxQXx\n\tzavQ==","i=1; a=rsa-sha256; t=1504797753; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=orRQRjcP+71Yf/aaBUI7/iX90NeKAtMgg6HmwPndrPZIw60XkW+xeD/JbyJ/UqOop4\n\tFE0ucwYBJYZyP1s0nasfzdph5D/s3wHwNHZxJMNgFQAdvr3D+8WR22iQ8SlCxANc0hc0\n\tnCvnjtYIS3mkO++ca9GyGMxMSJp3w3xRMxqSVP7cGb8vI5Xxk07fRQRss2qWsy4GL2Lj\n\tyiczX4I8vZF60mQNxR56XjGGSdVRA2ZI8p8qsZCipZsHUpvXQdLPOwrWSf4ywcunZeya\n\tHEfNqJmwdr/jDuKMjUzXRnQ4fo0nNuPXIKxA1I63EmLr6QZU14CdEBZCdIyeureXyRLZ\n\tL+UA=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:message-id:date:subject:cc:to:from\n\t:arc-authentication-results:arc-message-signature:mime-version\n\t:sender:dkim-signature:arc-authentication-results;\n\tbh=q0QUjTs7X7DD6vjNynlyGAA01QZowFgVJHiSVcbU+yE=;\n\tb=x0hfN1H3Wqh3YRYE3nCMlc6Gp8C3V7PeDwaMfwalXtxrpS6wK6LTFrJSN537RYbTws\n\tCRJzwEWM+b2oKwR9DyHdbTNI+cWi7IWjeYN3qzVh+RWsD7eH4Xa3oIZUalZwyQsKAksA\n\t3Ps1xVpJd9NPrqvrhbP7Z+WsJaxR0vwQVltnLpca//nIZ3euXxFRpvkwhMYYguWXgOh0\n\tZ5O5JI8D3eCtVNmge8pUblTt0qFtTJHL9ur/N3rLOKUXnsA7yiQgs4GNYyOo2Z4JsWb6\n\teZd68vpAXZQGjY9dff2i96j8bu2SyZipoUCBlpjWsIuyCR5joVhI5uwvjo6miUZcjrjD\n\tYsjg==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=message-id:date:subject:cc:to:from:arc-authentication-results;\n\tbh=K/CPObmWVhVTiMQyDy3gvssIFe3kdjQ0X/gLqIDnXHo=;\n\tb=Nz4pvCTWSX7OzFqINKb7Yvb0Y+PhGo/+zogmUJWcbuaUAQByjMqLNNUjn/g0VNcTvH\n\tCnF7zwx7toW5fyYLKHmzwB3KfUJVqe79+rkJQQBJyF1XrKnfzT44BXufAf7XDMdwn8/B\n\t/8e5UxsA2JPG+7gg/xhRakAGsF0T07SFustV5f7q01yCgYqNh9Jp4vHga4FTdRCLAWmo\n\tIfVxud0b2B07W5AXcxXKqv75Jv4ZCJlRNa93tN4hkMysJNAmSBgk6Tla7qbRk9JT7ztJ\n\t11mMWKrrgfIDMjk7A7RJ1k3hEXK8ne1ifpjJtAXck6d0MaiP+YEzE1TIKyiiiEfNTZp1\n\tFryg=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 79.96.179.35 is neither permitted nor denied\n\tby best guess record for domain of\n\tmaciej.pijanowski@3mdeb.com)\n\tsmtp.mailfrom=maciej.pijanowski@3mdeb.com","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 79.96.179.35 is neither permitted nor denied\n\tby best guess record for domain of\n\tmaciej.pijanowski@3mdeb.com)\n\tsmtp.mailfrom=maciej.pijanowski@3mdeb.com"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:from:to:cc:subject:date:message-id\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=q0QUjTs7X7DD6vjNynlyGAA01QZowFgVJHiSVcbU+yE=;\n\tb=LwI+Wy7YBe/V7bGPiRUHn2Xz77ukeP6XR6UUFvKa5CHEs73pi9wqrglef5f8ZkLunj\n\tg7Kv2e7CBtD+vnsdDf+e0XTnaN8YbMR4K7cg8Kt06rJcxx8Lz8KtA4ClBz+PRqOB97q0\n\t7Ed5r5Ka6ANTw6vwnjsnotUpbQWLBQ+8bn+7nkmkmwuP3w/GDHcnxlFPHdxtMVJ+AMD+\n\txiG1lfafS4RYG8A2XMLiT+5T77WYAIfgsczHlD1u+N4+c8yDmsQIuMPqG/pIGsX70tYZ\n\t1L/5XFEUT8KMerUCzFgdg6Kl44S3IB/bxAGSFKPdN12suUgSkwFL0tTc9FRfLoI1NSAs\n\t/H7w==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:from:to:cc:subject:date\n\t:message-id:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:x-spam-checked-in-group:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=q0QUjTs7X7DD6vjNynlyGAA01QZowFgVJHiSVcbU+yE=;\n\tb=P7mreaKoGtvv5et+K1eZma0NKUPvKyWFNfO8UQivjT8XUzpGUOWMPn4Q72LvN6BU9H\n\tFmeUR512U2KHeeGwITYJT3FB4WOG6ZWOj986N2xrC2uamJRYsCGCxfh2XvZ0EjcFUhHX\n\twD//6iSNO1jtyqnp9Ph79El7A2kJgNrP4xNFjNaZWBkILLMA7XNQ1fq7s0AFdukUvYUU\n\tBIFKcaebDn/hDbaDs6FIqCM/0Zzt3NlnSeElDZdN+uJbDkQ8+d7MmwlqAnfiC0+eL0Bt\n\tfmbEipmqcDe7cFNYhDJ8F8+RyIjV6vz6Fvz0ZvwjuwXWwrRsD1vg9wlUw3QlP/qn/THZ\n\tw6CQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AHPjjUivh2ZmPTE0ElgMyWbxOJl0rk8sJqxpy9kdq4TBLvd+fcNx1KRp\n\txdF4Y0HqdNKnDQ==","X-Google-Smtp-Source":"AOwi7QCKzUI2q02SVo4ghSI3xEmRqhWcYszvqCnY++XAYJhEl6OfoM4BmgOTl6/aJpW5sNwK6Y0wTA==","X-Received":["by 10.25.199.131 with SMTP id x125mr4476lff.16.1504797754077;\n\tThu, 07 Sep 2017 08:22:34 -0700 (PDT)","by 10.46.88.9 with SMTP id m9mr266134ljb.19.1504797753512;\n\tThu, 07 Sep 2017 08:22:33 -0700 (PDT)"],"MIME-Version":"1.0","X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 79.96.179.35 is neither permitted nor\n\tdenied by best guess record for domain of\n\tmaciej.pijanowski@3mdeb.com) client-ip=79.96.179.35; ","From":"Maciej Pijanowski <maciej.pijanowski@3mdeb.com>","To":"swupdate@googlegroups.com","Cc":"piotr.krol@3mdeb.com,\n\tMaciej Pijanowski <maciej.pijanowski@3mdeb.com>","Subject":"[swupdate] [PATCH] building-with-yocto.rst: update signed images\n\tsection","Date":"Thu,  7 Sep 2017 17:23:14 +0200","Message-Id":"<1504797794-31605-1-git-send-email-maciej.pijanowski@3mdeb.com>","X-Mailer":"git-send-email 2.7.4","X-Original-Sender":"maciej.pijanowski@3mdeb.com","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 79.96.179.35 is neither permitted nor denied by best\n\tguess\n\trecord for domain of maciej.pijanowski@3mdeb.com)\n\tsmtp.mailfrom=maciej.pijanowski@3mdeb.com","Content-Type":"text/plain; charset=\"UTF-8\"","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact swupdate+owners@googlegroups.com","List-ID":"<swupdate.googlegroups.com>","X-Spam-Checked-In-Group":"swupdate@googlegroups.com","X-Google-Group-Id":"605343134186","List-Post":"<https://groups.google.com/group/swupdate/post>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"},"content":"Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>\n---\n doc/source/building-with-yocto.rst | 16 ++++++++++++----\n 1 file changed, 12 insertions(+), 4 deletions(-)","diff":"diff --git a/doc/source/building-with-yocto.rst b/doc/source/building-with-yocto.rst\nindex 0e0702c710cb..80c1301c8a1f 100644\n--- a/doc/source/building-with-yocto.rst\n+++ b/doc/source/building-with-yocto.rst\n@@ -56,13 +56,21 @@ generating the SWU. The class defines new variables, all of them have the prefix\n \n         SWUPDATE_IMAGES_NOAPPEND_MACHINE[my-image] = \"1\"\n \n-- **SWUPDATE_SIGNING** : if set, the SWU is signed.\n+- **SWUPDATE_SIGNING** : if set, the SWU is signed. There are 3 allowed values:\n+  RSA, CMS, CUSTOM. This value determines used signing mechanism.\n - **SWUPDATE_SIGN_TOOL** : instead of using openssl, use SWUPDATE_SIGN_TOOL to sign\n-  the image. A typical use case is together with a hardware key.\n+  the image. A typical use case is together with a hardware key. It is\n+  available if SWUPDATE_SIGNING is set to CUSTOM\n - **SWUPDATE_PRIVATE_KEY** : this is the file with the private key used to sign the\n-  image.\n+  image using RSA mechanism. Is available if SWUPDATE_SIGNING is set to RSA.\n - **SWUPDATE_PASSWORD_FILE** : an optional file containing the password for the private\n-  key.\n+  key. It is available if SWUPDATE_SIGNING is set to RSA.\n+- **SWUPDATE_CMS_KEY** : this is the file with the private key used in signing\n+  process using CMS mechanism. It is available if SWUPDATE_SIGNING is set to\n+  CMS.\n+- **SWUPDATE_CMS_CERT** : this is the file with the certificate used in signing\n+  process using using CMS method. It is available if SWUPDATE_SIGNING is\n+  set to CMS.\n \n Automatic sha256 in sw-description\n ----------------------------------\n","prefixes":[]}