get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2217694/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2217694,
    "url": "http://patchwork.ozlabs.org/api/patches/2217694/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260330114924.1449430-1-ferdinand.bachmann@yrlf.at/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260330114924.1449430-1-ferdinand.bachmann@yrlf.at>",
    "list_archive_url": null,
    "date": "2026-03-30T11:49:24",
    "name": "[1/1] package/uboot-tools: fix FIT signature support",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1887615f534f38efdcaef596f74f7ce95096c36c",
    "submitter": {
        "id": 93007,
        "url": "http://patchwork.ozlabs.org/api/people/93007/?format=api",
        "name": "Ferdinand Bachmann",
        "email": "ferdinand.bachmann@go-e.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260330114924.1449430-1-ferdinand.bachmann@yrlf.at/mbox/",
    "series": [
        {
            "id": 498005,
            "url": "http://patchwork.ozlabs.org/api/series/498005/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498005",
            "date": "2026-03-30T11:49:24",
            "name": "[1/1] package/uboot-tools: fix FIT signature support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498005/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217694/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217694/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=C5C1fcpN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fkqKr65bxz1y1q\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 30 Mar 2026 22:49:35 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 85A8B811A3;\n\tMon, 30 Mar 2026 11:49:32 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XCsB8q9dhoRj; Mon, 30 Mar 2026 11:49:31 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id AC36A8119B;\n\tMon, 30 Mar 2026 11:49:31 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists1.osuosl.org (Postfix) with ESMTP id 4F4AF2C5\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 11:49:30 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 4432260B1A\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 11:49:30 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id N-sySavtkQoQ for <buildroot@buildroot.org>;\n Mon, 30 Mar 2026 11:49:29 +0000 (UTC)",
            "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n [IPv6:2a00:1450:4864:20::32f])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 432E260B16\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 11:49:29 +0000 (UTC)",
            "by mail-wm1-x32f.google.com with SMTP id\n 5b1f17b1804b1-4870206f73bso26462615e9.3\n for <buildroot@buildroot.org>; Mon, 30 Mar 2026 04:49:29 -0700 (PDT)",
            "from goefb.lan ([185.236.72.5]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43cf2580168sm19097566f8f.36.2026.03.30.04.49.26\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Mar 2026 04:49:26 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org AC36A8119B",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 432E260B16"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774871371;\n\tbh=h9bQJUcnN8IGBM3oG6wMPS3eqb+vCAuX0BlQ80l9kVY=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=C5C1fcpNVnncUfPcSf1WdJpR/rqKFMDf19ALGBM09qkH8e8amNG13XA+cDh8wn/+Q\n\t kECcwVrZxqq9KPoR5GEzpon5Kcyj307ndyu9i5QwJtSfTAeVR7+MfB/1LYupHlTBzK\n\t 3AGEFqcZi4kQ0Kl/AFJmy/eM2FMPuUFKbxL0GCkrqQowQ58OfIYNNNI6Palv+XCn8o\n\t M/YbqAnNuzgaEtB+KPksDZCgKCEcalOGjy8eCAESVa9N6UzNg1HJwODk5xAOSRfDNQ\n\t Ty7mIvVmKCRFkILXo5MvEgS5uoxmpGP9jNp0QR+HpcA4bnkp889L86HKacRuCVOkSJ\n\t bwMqPjYQ4jTDg==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2a00:1450:4864:20::32f; helo=mail-wm1-x32f.google.com;\n envelope-from=ferdinand.bachmann@go-e.com; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org 432E260B16",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774871367; x=1775476167;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=IZ+6qUUkrvBdcx9BoF4TPHescyOsJgCXGySA76l4r9o=;\n b=QHJPFSd4m2cQhLt+kz68c3xsSHs8ZdSp39jYgANM9J0B29cMo1czQeHenZOon+gZHP\n Di1cRG+/el1pH6awGSto+AygNqWOLuaRqeRqSr7uZoxjUsJb8uRYs7qIxKjp8a3kUCfU\n h2QLHndFez5cxijbm6LuFK0oE5w6TPW8fdZ/NU+NKJGyYtSvkJqDOZ1VCQtxZfsQuPwe\n MEm4EH8is6sV3uSDr5KRf+F74ips4JzYWQUzMpqK5WaG+EXMWLvkQWm0qA8yOKHMkdzJ\n DyVJ+awp18IZH8DuitBX9llZAEwc3ue+nZf1rQag6qmgL6evBuF8RAVG0PuC35X5FTTg\n 9sww==",
        "X-Gm-Message-State": "AOJu0YzYvgLfpdoHgJGWsmehDTpvMUyJ0W2uRPAjx6gC5rxLwOiNVonF\n 5RgxOXmqQyBMVf7gIFNyhHL5fxe2SVDY4hF1KrqAmAiPa2M6+L+T2pwTzJ7zlPT6uf6vLxCDUKu\n sP8x/Z+MKAY0tKqAQMUlb96hOZaTjfMuyXLnJnqdVGG/EKCuu0GBi5mtRp9DOV2rDZEij+0zjs6\n 8SClovEJlDKo/he7gUh4TjYzwfQHcZ3PGHT12uahSjCVtQbpOWzKLlaQk=",
        "X-Gm-Gg": "ATEYQzyxzpXqCWeut7Sn1Ibu8U1fCSEqMt3qYBgOwHPHROlYA1787gbEGH6b0ozforK\n B3JVeaC1FfywhE5E+MuKy46nbQ3BWiL+talDkI0l9fjSb4PvE/fI/5w/G/wJrxnvKUA8V9ArG1/\n fNInfkfxbyjFl0tJCtZnJmYbyAxccu1ZJ2jFCe44rrNPSpkH0u7acgQfu/5MltB2aODBbPpNUpg\n dmyuCgt1X3me60Aq7tP7PqU2/+bmq7QFlX+t3opfMUsaPvWd1z2DN+tvw2nKrx+kS9TvUmTJSsv\n 6TBFN+w+0cILIpa9s9G0br0T11JErZng5hCuOxEJLbNWH//ZElbotFV0AMS8a6ooOfemxHqGpcy\n AQMpjk+jvlbuYNLKK4iOqs3WKU13Y6/L1f2IZ3Rbl/kaWUdCYgfdGMlayj/ixM0SJQ9TKDUette\n rOlwAKUzQcefxO9wLR7idV9XlPgDybPlGEotvRuQ==",
        "X-Received": "by 2002:a05:600c:4e0e:b0:485:2a85:e5ec with SMTP id\n 5b1f17b1804b1-48727ef5508mr199004905e9.2.1774871366667;\n Mon, 30 Mar 2026 04:49:26 -0700 (PDT)",
        "From": "Ferdinand Bachmann <ferdinand.bachmann@go-e.com>",
        "X-Google-Original-From": "Ferdinand Bachmann <ferdinand.bachmann@yrlf.at>",
        "To": "buildroot@buildroot.org",
        "Cc": "Ferdinand Bachmann <ferdinand.bachmann@yrlf.at>",
        "Date": "Mon, 30 Mar 2026 13:49:24 +0200",
        "Message-ID": "<20260330114924.1449430-1-ferdinand.bachmann@yrlf.at>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=go-e.com; s=google; t=1774871367; x=1775476167; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=IZ+6qUUkrvBdcx9BoF4TPHescyOsJgCXGySA76l4r9o=;\n b=TGSGlPx85WZX7bSDT5VG9nXkrNLiE5OMy8rGTkVhb53XoOdYTZpWOaHL7VNAErCMmB\n 0mYn7zgVX3CaWUQPJs1dcYZjlEpcL7LsJjYbmQ5zViOQPbsxxSGetaK8Nf/omXdtKinI\n IW9F3S+xuCR5dNJaef9dpQU/W677VKwfg6LLgNLdobfZK+v1e3wNIvc7JiLA8tm9/nSX\n MkBvB1Z6ImUEjLVaZRK9yvlpHzQ29MY1pkj6Eij9Pt7tvMJzkrB/TvI9SNNGgRGZuNlz\n nvRy0ZZsUfuVyYiFHbsT0wwbTyUTuLWLAlfJrhQqK/6T5RWZPs09OHs8R69x9V3l6EVh\n yjHw==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp3.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=go-e.com",
            "smtp3.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=go-e.com header.i=@go-e.com header.a=rsa-sha256\n header.s=google header.b=TGSGlPx8"
        ],
        "Subject": "[Buildroot] [PATCH 1/1] package/uboot-tools: fix FIT signature\n support",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "uboot-tools changed how the config system works for tool builds, which\nleads to buildroot's configure cmds being wrong / incomplete.\n\nSpecifically, the CONFIG_FIT_* macros are now called CONFIG_TOOLS_FIT_*,\nwhile the make options needed to compile FIT signature support are still\nCONFIG_FIT_*. Additionally, CONFIG_TOOLS_LIBCRYPTO is needed to link\nuboot-tools with FIT signature support correctly.\n\nThis patch fixes the issue by adding the new CONFIG_TOOLS_FIT_* defines\nto the generated autoconf.h and adding CONFIG_TOOLS_LIBCRYPTO to the\nmake options.\n\nSigned-off-by: Ferdinand Bachmann <ferdinand.bachmann@yrlf.at>\n---\n package/uboot-tools/uboot-tools.mk | 14 ++++++++++----\n 1 file changed, 10 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk\nindex fa0b6aba78..99752a9b47 100644\n--- a/package/uboot-tools/uboot-tools.mk\n+++ b/package/uboot-tools/uboot-tools.mk\n@@ -31,9 +31,12 @@ define UBOOT_TOOLS_CONFIGURE_CMDS\n \techo \"#include <linux/kconfig.h>\" > $(@D)/include/config.h\n \ttouch $(@D)/include/config/auto.conf\n \tmkdir -p $(@D)/include/generated\n+\ttouch $(@D)/include/generated/autoconf.h\n \t$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),$(UBOOT_TOOLS_ENABLE_HASH_ALGOS))\n \t$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),echo '#define CONFIG_TOOLS_FIT_PRINT 1' >> $(@D)/include/generated/autoconf.h)\n-\techo $(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),'#define CONFIG_FIT_SIGNATURE 1') >> $(@D)/include/generated/autoconf.h\n+\t$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_FIT_SIGNATURE 1' >> $(@D)/include/generated/autoconf.h)\n+\t$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE 0x10000000' >> $(@D)/include/generated/autoconf.h)\n+\t$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_FIT_RSASSA_PSS 1' >> $(@D)/include/generated/autoconf.h)\n \tmkdir -p $(@D)/include/asm\n \ttouch $(@D)/include/asm/linkage.h\n endef\n@@ -50,7 +53,7 @@ UBOOT_TOOLS_DEPENDENCIES += dtc\n endif\n \n ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)\n-UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000\n+UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000 CONFIG_TOOLS_LIBCRYPTO=y\n UBOOT_TOOLS_DEPENDENCIES += openssl host-pkgconf\n endif\n \n@@ -124,9 +127,12 @@ define HOST_UBOOT_TOOLS_CONFIGURE_CMDS\n \techo \"#include <linux/kconfig.h>\" > $(@D)/include/config.h\n \ttouch $(@D)/include/config/auto.conf\n \tmkdir -p $(@D)/include/generated\n+\ttouch $(@D)/include/generated/autoconf.h\n \t$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT),$(UBOOT_TOOLS_ENABLE_HASH_ALGOS))\n \t$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT),echo '#define CONFIG_TOOLS_FIT_PRINT 1' >> $(@D)/include/generated/autoconf.h)\n-\techo $(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),'#define CONFIG_FIT_SIGNATURE 1') >> $(@D)/include/generated/autoconf.h\n+\t$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_FIT_SIGNATURE 1' >> $(@D)/include/generated/autoconf.h)\n+\t$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE 0x10000000' >> $(@D)/include/generated/autoconf.h)\n+\t$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),echo '#define CONFIG_TOOLS_FIT_RSASSA_PSS 1' >> $(@D)/include/generated/autoconf.h)\n \tmkdir -p $(@D)/include/asm\n \ttouch $(@D)/include/asm/linkage.h\n endef\n@@ -142,7 +148,7 @@ HOST_UBOOT_TOOLS_DEPENDENCIES += host-dtc\n endif\n \n ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)\n-HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000\n+HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000 CONFIG_TOOLS_LIBCRYPTO=y\n HOST_UBOOT_TOOLS_DEPENDENCIES += host-openssl\n define HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN\n \t$(INSTALL) -m 0755 -D $(@D)/tools/fit_check_sign $(HOST_DIR)/bin/fit_check_sign\n",
    "prefixes": [
        "1/1"
    ]
}