get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2175907,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175907/?format=api",
    "project": {
        "id": 58,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/58/?format=api",
        "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": ""
    },
    "msgid": "<20251219112215.103862-6-bage@debian.org>",
    "date": "2025-12-19T11:22:00",
    "name": "[5/5] test: Explicitly test pkcs11 crypto provider",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1f9bf4d1a204b6b4347d0498446c764ed7c5f987",
    "submitter": {
        "id": 84118,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/84118/?format=api",
        "name": "Bastian Germann",
        "email": "bage@debian.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/swupdate/patch/20251219112215.103862-6-bage@debian.org/mbox/",
    "series": [
        {
            "id": 485984,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/485984/?format=api",
            "date": "2025-12-19T11:22:00",
            "name": "pkcs11 decrypt provider based on p11-kit",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/485984/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2175907/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<swupdate+bncBCN5N5NJZ4BBB37KSTFAMGQEPOMXZWA@googlegroups.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=googlegroups.com header.i=@googlegroups.com\n header.a=rsa-sha256 header.s=20230601 header.b=sGrirkQf;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com\n (client-ip=2a00:1450:4864:20::538; helo=mail-ed1-x538.google.com;\n envelope-from=swupdate+bncbcn5n5njz4bbb37kstfamgqepomxzwa@googlegroups.com;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from mail-ed1-x538.google.com (mail-ed1-x538.google.com\n [IPv6:2a00:1450:4864:20::538])\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 4dXlW964pgz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 19 Dec 2025 22:22:28 +1100 (AEDT)",
            "by mail-ed1-x538.google.com with SMTP id\n 4fb4d7f45d1cf-64b98593517sf644344a12.3\n        for <incoming@patchwork.ozlabs.org>;\n Fri, 19 Dec 2025 03:22:28 -0800 (PST)",
            "by 2002:aa7:d796:0:b0:64c:7925:f275 with SMTP id\n 4fb4d7f45d1cf-64c7925f2cdls53554a12.1.-pod-prod-09-eu;\n Fri, 19 Dec 2025 03:22:22 -0800 (PST)",
            "from stravinsky.debian.org (stravinsky.debian.org.\n [2001:41b8:202:deb::311:108])\n        by gmr-mx.google.com with ESMTPS id\n 4fb4d7f45d1cf-64b91370228si36983a12.4.2025.12.19.03.22.21\n        for <swupdate@googlegroups.com>\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Fri, 19 Dec 2025 03:22:21 -0800 (PST)",
            "from authenticated user\n\tby stravinsky.debian.org with esmtpsa\n (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)\n\t(Exim 4.94.2)\n\t(envelope-from <bage@debian.org>)\n\tid 1vWYYw-003BYC-5K; Fri, 19 Dec 2025 11:22:21 +0000"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; t=1766143346; cv=pass;\n        d=google.com; s=arc-20240605;\n        b=HAUO1WNctKKLjPc2/0rrHbEnHXsOVKrmSfsO5wQ22bF7XwiC7i/c7W5jh4T1QesAdw\n         z8xpoaFP+BAiGUujhABfAWu9wkNZlVPM5h/aTXhBpCRXNnuJfjQVixOPcmNTQbfbYRr/\n         0nOAU3inW/+D363XHhetwlInQmS08Tjw5piR3u4MPDtfitsGSKPXyKY4k8l6ompuNJIA\n         ovycPUrLrhrkWS3mF7jCjSSQVqEi3bwyIVZ6MoBWvVTItatPA7N3NFa5Hz9KrFlK8vU1\n         jPlcC3fpaNuygXL3rt8/cgUJxAeCJ+uwlk+SBWOyyxs7W4WuNSWsPB4fRNJ/6aO1wShf\n         adPg==",
            "i=1; a=rsa-sha256; t=1766143341; cv=none;\n        d=google.com; s=arc-20240605;\n        b=aCk+L5MT4iC/1/B5T8AslvbZCPK/Xj65fpvpL9K9xSVD4zxNKIT+JPJx62wUci1l6V\n         Jo9RpD4CBVRxBpwb84oulDVa42qf6rVqmK3qTsRhmbBCpa+O7EgTWghFRtSr4wePmEDi\n         CfFyAeSrJlsfs3aMSyzmgSC0ldrWz1AHQ8LG1od4oMrtLSCvmYKVleSCwq5YOTKL+MPJ\n         CCCNbUVGb1kUKAGguXJ/HmeQo81TEShk7pWigb2LRhrBrTl/2JHED0co5Y8ukXmkYcQX\n         fM2hW8UZgsQi1t1rrwVSQyzV8WZQUtMy/BDTRzx5Slhz0WOw5wKNC14xfB3WkngWSAvg\n         vSbg=="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:sender:dkim-signature;\n        bh=+IGNAiScHieflljgtfAcVMb/26pi2IR7FnPfkibVI6A=;\n        fh=ZBOqsMwVxksUH5RzsBkK+SfxYvwjc3hr2BKwmJtMNb8=;\n        b=OiPA8T7WEWCF+VmGnEipSErgzxuocX9gZFLCZO3+JM+FWFUtb+go9JCCLJZjQ3vToU\n         V5obwIrdTYfKHHon4ruc/AME21q5xCt+sSVEJTrPrKVzlT52Pxn9fAmg5e2QRLvQpCNc\n         bfiOByRNEwaUDLNYm+9MeGAGloi0o43Eja3xjxETaH4XHI46OuwFqI9esAcP1oRwwxzh\n         FlEEhlx/Uyni0l5cQA2hOXiBKDgHt2Z/JmGFCBUPddvDKazkBkO6YFW0UloD+jnCFzhY\n         9BXX3HPPXUdkCGe24d1PM+vPh/u9mBzZJEdxn9TilMNr2pfESsirT6pNA3vHV3O9I9Jy\n         z0mA==;\n        darn=patchwork.ozlabs.org",
            "i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:dkim-signature;\n        bh=v/e8j7puVozvSJYsrLlHg3fTOtTypS/R+4rUFRF5NoI=;\n        fh=uhIbdHOwgcqt5kz5/YMvH8NrIswTHi9fiDBkOU8HgOo=;\n        b=Vgy6jrajuBxNELiSgSlkICj3UruffTgGajrgFEK0v/dhaflk7sYnY3O1maQT9Sq303\n         ncbtq9+eHsdfrL/H0czdAUpCcDIUTffoJhB4bQjnfT6KHTh2SUzYKzNAXgwPt8n3r8I/\n         Ie2Y2N/x5fOLH7H+ehqBYNpzlag0k9LUOyN4sF0p5QSgqX6ZuYKq9a1N+yOA8VbDE84y\n         Awo+oVrRV4XrSJc9p4Ilo4nLQr7AJtXRuY674nNu7LhlnR1UGOAA96SSELrnAMp/r5nC\n         eIm6663OpukACm+pqbqEGj6osm40KjFLNQ/2J2gcJCvUJu1HDAVXzqird2au8G6MJWhm\n         6AbA==;\n        dara=google.com"
        ],
        "ARC-Authentication-Results": [
            "i=2; gmr-mx.google.com;\n       dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky\n header.b=InT83E0l;\n       spf=none (google.com: bage@debian.org does not designate permitted\n sender hosts) smtp.mailfrom=bage@debian.org",
            "i=1; gmr-mx.google.com;\n       dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky\n header.b=InT83E0l;\n       spf=none (google.com: bage@debian.org does not designate permitted\n sender hosts) smtp.mailfrom=bage@debian.org"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=googlegroups.com; s=20230601; t=1766143346; x=1766748146;\n darn=patchwork.ozlabs.org;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:x-original-authentication-results\n         :x-original-sender:mime-version:references:in-reply-to:message-id\n         :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id\n         :reply-to;\n        bh=+IGNAiScHieflljgtfAcVMb/26pi2IR7FnPfkibVI6A=;\n        b=sGrirkQf32MEGEoAKUFh9hCTGIVL20AQigQsQVLkmk4W/WDgmnzCxpLloncsQtgLiB\n         xRSUtHhcjKvttcw2WpYK+LtBApeXagohsBhlx8SYJKtcBYPqvH4DSDive7VT7YuJOfhh\n         g3q4Zx5Lq4BQeRBSNEqkOyHQuT3o0rKt+WiBVOtobVQ5Fz3wExH3UIFWusejw5itElqE\n         dTocGh+bHPjRadnD1D0LtVkQtPysOcnT+AVVBQn38H8zU3Q7ZW9ytydyzkvw3jCoc/62\n         3fof1RrbKcfV7yx3NUhXiY0atRgtK9Vq3Rot5PJKxUeQcHE440WuN2Pzpibs0k+AXec+\n         xnIQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1766143346; x=1766748146;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :x-spam-checked-in-group:list-id:mailing-list:precedence\n         :x-original-authentication-results:x-original-sender:mime-version\n         :references:in-reply-to:message-id:date:subject:cc:to:from\n         :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=+IGNAiScHieflljgtfAcVMb/26pi2IR7FnPfkibVI6A=;\n        b=oGqXDfc2gOT+dCzDtuM1kc9yt1Pe3OItrO4cSLGIbQyPGDJ+c6iqMyjMHbzIZcOKg6\n         m8xP9F48FX6BfQCmK+5VT23CJZpWk8SITyEd/b6duXGiDR+hdpaewniNDUdH8B0v3opE\n         6PnsIqWgZaE6AL0FI/rmZ3OSHytFrPph3EQw+Ty4DfuiM1qrMTTlLmQgH+3PO5CXR22e\n         RAz+ZB1lxWMky2movW4foJf3+i+Ry3rYnntRq1LO44X8hgkNw2tM3Z8bIgysoRQyJs7W\n         q0jhTIdOJwgZQ7uqemDtMLGgy8vz6MD6z2/RV6aCIgBGfG2mTN/y7g7TsMA3jPlPoYDW\n         YS7w==",
        "Sender": "swupdate@googlegroups.com",
        "X-Forwarded-Encrypted": "i=2;\n AJvYcCX9z9N2z62FMLSlbK6b32qCFoB7tjY9uDn8YmgnpqiWnJsWRkIF01u6CSDnBne4VsnyUKTm+MG4fQ==@patchwork.ozlabs.org",
        "X-Gm-Message-State": "AOJu0YxKwmNz94DTeOsdM2Ac+OsrZTbbsO4FureMNlrsQDs9/kcsY25x\n\tO3ryTzzcTU/3ntmeGFmcIhkFNZ+pxOgo/6lGE2bAK8RaAuBejjEcHVg6",
        "X-Google-Smtp-Source": "\n AGHT+IFYdaU5NrIjcQwJ8/CA0pJXTmBFGCMLe6aeQ3LayY2dActtbvUuNqVCylrbrQMAD4y7i1Y5eA==",
        "X-Received": [
            "by 2002:a05:6402:1eca:b0:64b:75b4:e781 with SMTP id\n 4fb4d7f45d1cf-64b8ef11fb5mr2446882a12.28.1766143345937;\n        Fri, 19 Dec 2025 03:22:25 -0800 (PST)",
            "by 2002:a05:6402:d08:b0:647:a636:76c with SMTP id\n 4fb4d7f45d1cf-64b8ef1840fmr1994538a12.31.1766143341966;\n        Fri, 19 Dec 2025 03:22:21 -0800 (PST)"
        ],
        "X-BeenThere": "swupdate@googlegroups.com;\n h=\"AWVwgWb2BF+2fGAvKO52B+P3MCMAYyPmtVvj8GOtiS2g6I9u9Q==\"",
        "Received-SPF": "none (google.com: bage@debian.org does not designate permitted\n sender hosts) client-ip=2001:41b8:202:deb::311:108;",
        "From": "Bastian Germann <bage@debian.org>",
        "To": "swupdate@googlegroups.com",
        "Cc": "Bastian Germann <bage@debian.org>,\n\tzachar.matej@gmail.com",
        "Subject": "[swupdate] [PATCH 5/5] test: Explicitly test pkcs11 crypto provider",
        "Date": "Fri, 19 Dec 2025 12:22:00 +0100",
        "Message-ID": "<20251219112215.103862-6-bage@debian.org>",
        "X-Mailer": "git-send-email 2.51.0",
        "In-Reply-To": "<20251219112215.103862-1-bage@debian.org>",
        "References": "<20251219112215.103862-1-bage@debian.org>",
        "MIME-Version": "1.0",
        "X-Debian-User": "bage",
        "X-Original-Sender": "bage@debian.org",
        "X-Original-Authentication-Results": "gmr-mx.google.com;       dkim=pass\n header.i=@debian.org header.s=smtpauto.stravinsky header.b=InT83E0l;\n       spf=none (google.com: bage@debian.org does not designate permitted\n sender hosts) smtp.mailfrom=bage@debian.org",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Precedence": "list",
        "Mailing-list": "list swupdate@googlegroups.com;\n contact 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 <mailto:swupdate@googlegroups.com>",
        "List-Help": "<https://groups.google.com/support/>,\n <mailto:swupdate+help@googlegroups.com>",
        "List-Archive": "<https://groups.google.com/group/swupdate",
        "List-Subscribe": "<https://groups.google.com/group/swupdate/subscribe>,\n <mailto:swupdate+subscribe@googlegroups.com>",
        "List-Unsubscribe": "\n <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n <https://groups.google.com/group/swupdate/subscribe>"
    },
    "content": "Using the default crypto provider does not work with the pkcs11\ndecryption test. Set the right provider.\n\nSigned-off-by: Bastian Germann <bage@debian.org>\n---\n test/test_crypt_pkcs11.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/test/test_crypt_pkcs11.c b/test/test_crypt_pkcs11.c\nindex 94ed92a8..f7b851ef 100644\n--- a/test/test_crypt_pkcs11.c\n+++ b/test/test_crypt_pkcs11.c\n@@ -61,6 +61,7 @@ static void test_crypt_pkcs11_256(void **state)\n \n \tunsigned char buffer[BUFFER_SIZE + AES_BLK_SIZE];\n \n+\tset_cryptolib(\"pkcs11\");\n \tstruct swupdate_digest *dgst = swupdate_DECRYPT_init((unsigned char *)uri, 0, &iv[0], AES_CBC_256);\n \tassert_non_null(dgst);\n \n",
    "prefixes": [
        "5/5"
    ]
}